Branch: Tag:

2017-08-28

2017-08-28 21:17:42 by Per Cederqvist <cederp@opera.com>

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.

81:    Whenever you edit /tmp/test.pike, it will automatically reload    the file.    + 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. +    Bug fixes   ---------