The session state cleanup should be done regardless of library.
GnuTLS crash was the result of a bug elsewhere which is now fixed. So
remove mention of that.
// minimize the number of fd-closure notifications and let the recepient
// manage the TCP state of the connection.
-#if USE_GNUTLS
- // but we do need to release the bad TLS related details in fd_table
- // ... or GnuTLS will SEGFAULT.
+ // but we should release the TLS session (if any)
const int fd = serverConnection()->fd;
Security::SessionClose(fd_table[fd].ssl, fd);
-#endif
}
void