diff options
author | Jan Kneschke <jan@kneschke.de> | 2008-01-28 07:02:11 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2008-01-28 07:02:11 +0000 |
commit | e92f57ef21ffde59ca716af3abbf09cc76a6335d (patch) | |
tree | 6b6eb47a42344f74a1e7465def2b4a51975df3c7 | |
parent | 7b8331c1a9348ba957240282442407f0beb3cca9 (diff) | |
download | lighttpd-git-e92f57ef21ffde59ca716af3abbf09cc76a6335d.tar.gz |
handle ECONNRESET in the openssl backend
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2066 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/network_openssl.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,8 @@ NEWS * generate ETag and Last-Modified headers for mod_ssi based on newest modified include (#1491) * support letterhomes in mod_userdir (#1473) * support chained proxies in mod_extforward (#1528) + * fixed bogus "cgi died ?" if we kill the CGI process on shutdown + * fixed ECONNRESET handling in network-openssl - 1.4.18 - 2007-09-09 diff --git a/src/network_openssl.c b/src/network_openssl.c index c14e1d9f..bbafeda1 100644 --- a/src/network_openssl.c +++ b/src/network_openssl.c @@ -231,6 +231,7 @@ int network_write_chunkqueue_openssl(server *srv, connection *con, SSL *ssl, chu /* no, but we have errno */ switch(errno) { case EPIPE: + case ECONNRESET: return -2; default: log_error_write(srv, __FILE__, __LINE__, "sddds", "SSL:", |