diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2017-04-25 14:56:48 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2017-08-01 16:51:04 +0200 |
commit | b7213a6f0e0b2f083d505e79bba8ac4beb96de64 (patch) | |
tree | 4c145c161615933645813d34b0c5cc8745082b9d /lib/README.rst | |
parent | qflags: WIP refactor - regex replacements (diff) | |
download | knot-resolver-b7213a6f0e0b2f083d505e79bba8ac4beb96de64.tar.xz knot-resolver-b7213a6f0e0b2f083d505e79bba8ac4beb96de64.zip |
qflags: WIP refactor - hand-replace complex cases
Diffstat (limited to 'lib/README.rst')
-rw-r--r-- | lib/README.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/README.rst b/lib/README.rst index 5e662664..ff1ee61d 100644 --- a/lib/README.rst +++ b/lib/README.rst @@ -33,7 +33,7 @@ This is the *driver*. The driver is not meant to know *"how"* the query resolves On the other side are *layers*. They are responsible for dissecting the packets and informing the driver about the results. For example, a *produce* layer generates query, a *consume* layer validates answer. -.. tip:: Layers are executed asynchronously by the driver. If you need some asset beforehand, you can signalize the driver using returning state or current query flags. For example, setting a flag ``QUERY_AWAIT_CUT`` forces driver to fetch zone cut information before the packet is consumed; setting a ``QUERY_RESOLVED`` flag makes it pop a query after the current set of layers is finished; returning ``FAIL`` state makes it fail current query. +.. tip:: Layers are executed asynchronously by the driver. If you need some asset beforehand, you can signalize the driver using returning state or current query flags. For example, setting a flag ``AWAIT_CUT`` forces driver to fetch zone cut information before the packet is consumed; setting a ``RESOLVED`` flag makes it pop a query after the current set of layers is finished; returning ``FAIL`` state makes it fail current query. Layers can also change course of resolution, for example by appending additional queries. |