Branch: Tag:


2017-08-28 21:19:33 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.

263:    - Support multiple strings per TXT record in the client, via new txta    mapping entry.    +  - 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. +  +    Protocols.HTTP:       - Don't modify the mapping sent to response_and_finish.