diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2017-10-16 02:10:36 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2017-10-16 02:10:36 -0400 |
commit | 0ff8904a72adf13e303d60697dc8efded32655ec (patch) | |
tree | 52f092177898e639cc53d03d3c02710d689f92d6 /src | |
parent | 7661587f012d373dbbee046e87d41f430e71aa88 (diff) | |
download | lighttpd-git-0ff8904a72adf13e303d60697dc8efded32655ec.tar.gz |
[mod_openssl] remove erroneous SSL_set_shutdown()
remove erroneous call to SSL_set_shutdown()
(historical from commit:3888c103)
(erroneous since lighttpd 1.4.40 moved to bidirectional input/output)
x-ref:
"wstunnel sample config"
https://redmine.lighttpd.net/boards/2/topics/7600
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_openssl.c | 8 |
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) { |