summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_openssl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mod_openssl.c b/src/mod_openssl.c
index 052a79b6..2a29ee99 100644
--- a/src/mod_openssl.c
+++ b/src/mod_openssl.c
@@ -1193,17 +1193,9 @@ static int
connection_write_cq_ssl (server *srv, connection *con,
chunkqueue *cq, off_t max_bytes)
{
- /* the remote side closed the connection before without shutdown request
- * - IE
- * - wget
- * if keep-alive is disabled */
handler_ctx *hctx = con->plugin_ctx[plugin_data_singleton->id];
SSL *ssl = hctx->ssl;
- if (con->keep_alive == 0) {
- SSL_set_shutdown(ssl, SSL_RECEIVED_SHUTDOWN);
- }
-
chunkqueue_remove_finished_chunks(cq);
while (max_bytes > 0 && NULL != cq->first) {