Skip to content
  • deuce's avatar
    Revision 1.242 prevented do_js_close() from being called in the finalize · 3e073461
    deuce authored
    function for external sockets.  However, service thrads that use TLS were
    relying on the finalize function to clean up the TLS session.
    
    Revert 1.242, and add a finalize parameter to do_js_close() which will only
    avoid the shutdown() call rather than completely avoid do_js_close()
    completely.
    
    This fixes a TLS session leak that would eventually prevent any new
    encrypted connections.
    3e073461