@theanalyst commented on this pull request. > @@ -1759,10 +1759,17 @@ void XrdHttpProtocol::Cleanup() { if (ssl) { - - if (SSL_shutdown(ssl) != 1) { - TRACE(ALL, " SSL_shutdown failed"); - ERR_print_errors(sslbio_err); + int ret = SSL_shutdown(ssl); Shouldn't SSL_shutdown anyway set this flag without need for us to set this. The docs do mention that "Whether the operation succeeds or not, the SSL_SENT_SHUTDOWN flag is set and a currently open session is considered closed and good and will be kept in the session cache for further reuse." -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/1968#discussion_r1142407993 You are receiving this because you are subscribed to this thread. Message ID: <[log in to unmask]> ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1