Skip to content

[DoT] Catch closed connection

alex requested to merge dot-catch-closed-connection into master

When running multiple times the same query or using pipelining with a lot of queries, the connection might be closed by the remote server. Homer should properly behave in this case.

The connection.state is used to avoid to close an already closed connection.

There is a refactoring commit (f3b3350e). This merge request also touches, to some extent, DoH code and pipelining output messages (cf2e7f89).

Edited by alex

Merge request reports