]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Watch the descriptor again after an out-of-order read timeout
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 Sep 2020 15:24:55 +0000 (17:24 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 Sep 2020 15:24:55 +0000 (17:24 +0200)
commitb05ef1b472cfa3597dda44075f3947abd565008b
tree2e15f16668a9c18544321fc504128a3873c2523d
parent6f45a188fbc78fd3dc653b09c3591a9b5533a6b2
rec: Watch the descriptor again after an out-of-order read timeout

It might be that there was no other incoming query on that connection
and we timed out while the response had not been sent yet, but the
client might want to re-use the connection after receving the response.
We try to reset the TTD, but that might fail when the socket descriptor
has already been removed.
pdns/pdns_recursor.cc