Skip to content
Snippets Groups Projects
Commit e54ef42f authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror.  By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.
parent d195292e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment