/*
- * $Id: fde.h,v 1.6 2003/11/09 17:11:11 hno Exp $
+ * $Id: fde.h,v 1.7 2005/03/18 15:17:17 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
#if USE_SSL
SSL *ssl;
-
-int ssl_shutdown:
- 1;
#endif
};
/*
- * $Id: ssl_support.cc,v 1.21 2005/03/18 14:43:33 hno Exp $
+ * $Id: ssl_support.cc,v 1.22 2005/03/18 15:17:17 hno Exp $
*
* AUTHOR: Benno Rice
* DEBUG: section 83 SSL accelerator support
SSL_CTX_set_options(sslContext, ssl_parse_options(options));
+ if (Config.SSL.unclean_shutdown) {
+ debug(83, 5) ("Enabling quiet SSL shutdowns (RFC violation).\n");
+
+ SSL_CTX_set_quiet_shutdown(sslContext, 1);
+ }
+
if (cipher) {
debug(83, 5) ("Using chiper suite %s.\n", cipher);
{
SSL *ssl = fd_table[fd].ssl;
- if (!fd_table[fd].ssl_shutdown) {
- fd_table[fd].ssl_shutdown = 1;
-
- if (Config.SSL.unclean_shutdown)
- SSL_set_shutdown(ssl, SSL_SENT_SHUTDOWN | SSL_RECEIVED_SHUTDOWN);
- else
- SSL_set_shutdown(ssl, SSL_RECEIVED_SHUTDOWN);
- }
-
SSL_shutdown(ssl);
}