From: Remi Gacogne Date: Thu, 18 Feb 2021 13:55:11 +0000 (+0100) Subject: dnsdist: Mark GnuTLS DoT connections as closed for reading as well X-Git-Tag: dnsdist-1.6.0-alpha2~11^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=210b0629540988df1efdb617b9d2a5ce6c8099c3;p=thirdparty%2Fpdns.git dnsdist: Mark GnuTLS DoT connections as closed for reading as well --- diff --git a/pdns/tcpiohandler.cc b/pdns/tcpiohandler.cc index 07d6bf0a23..e4eef7bad0 100644 --- a/pdns/tcpiohandler.cc +++ b/pdns/tcpiohandler.cc @@ -1029,7 +1029,7 @@ public: void close() override { if (d_conn) { - gnutls_bye(d_conn.get(), GNUTLS_SHUT_WR); + gnutls_bye(d_conn.get(), GNUTLS_SHUT_RDWR); } }