Explorar el 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 hace 7 años
padre
commit
b64fcbbfad
Se han modificado 1 ficheros con 1 adiciones y 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;