]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Mark GnuTLS DoT connections as closed for reading as well
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 18 Feb 2021 13:55:11 +0000 (14:55 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 2 Mar 2021 10:39:54 +0000 (11:39 +0100)
pdns/tcpiohandler.cc

index 07d6bf0a2391a4def867830dbe0d0c003d39194f..e4eef7bad07c2c96b1565ae93475abe80284a9ff 100644 (file)
@@ -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);
     }
   }