Skip to content

Commit

Permalink
Mention that DCP_SYNC_FILTER_RESULT_DIRECT is only for a pre-filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Oct 11, 2012
1 parent 0d5d170 commit 314374d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README-PLUGINS.markdown
Expand Up @@ -143,9 +143,9 @@ packet should never be larger than the size returned by

The return code of a filter can be either of:
- `DCP_SYNC_FILTER_RESULT_OK`
- `DCP_SYNC_FILTER_RESULT_DIRECT` to bypass the resolver and directly
send the (possibly modified) packet to the client. Post-filters will
be bypassed as well.
- `DCP_SYNC_FILTER_RESULT_DIRECT` (only in a pre-filter) to bypass the
resolver and directly send the (possibly modified) packet to the client.
Post-filters will be bypassed as well.
- `DCP_SYNC_FILTER_RESULT_KILL` in order to drop the packet.
- `DCP_SYNC_FILTER_RESULT_ERROR` to drop the packet and indicate that a
non-fatal error occurred.
Expand Down

0 comments on commit 314374d

Please sign in to comment.