Explorar o código

HPCC-19106 Secure socket avail_read() fix for when peer closes socket

Signed-off-by: Mark Kelly <mark.kelly@lexisnexisrisk.com>
Mark Kelly %!s(int64=7) %!d(string=hai) anos
pai
achega
b64fcbbfad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      system/security/securesocket/securesocket.cpp

+ 1 - 1
system/security/securesocket/securesocket.cpp

@@ -348,7 +348,7 @@ public:
                 char errbuf[512];
                 ERR_error_string_n(ERR_get_error(), errbuf, 512);
                 errbuf[511] = '\0';
-                DBGLOG("SSL_peek (avail_read) returns error - %s", errbuf);
+                DBGLOG("SSL_peek (avail_read) returns error %d - %s", ret, errbuf);
             }
         }
         return 0;