Branch: Tag:


2017-08-28 21:11:31 by Per Cederqvist <>

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.

259:       Support new language features.    + o Protocols.DNS.server +  +  Derived classes can now override report_decode_error() and +  handle_decode_error() to change how errors while decoding a DNS +  packet are reported and handled. +    o Protocols.WebSocket       Multiple API changes.