diff options
author | Stefan Bühler <stbuehler@web.de> | 2010-08-05 20:42:18 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2010-08-05 20:42:18 +0000 |
commit | cf5fcf953d1cd6a9b68c0ef7ca1f34a3c3bfd7d7 (patch) | |
tree | 4f46de331a593fbe9957a3e52b55e3ec7216e349 | |
parent | 7b7dd1b986b1d3e1f7e1d94f3a783fe63df445d8 (diff) | |
download | lighttpd-git-cf5fcf953d1cd6a9b68c0ef7ca1f34a3c3bfd7d7.tar.gz |
openssl: silence annoying error messages for errno==0 (fixes #2213)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2749 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/connections.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -24,6 +24,7 @@ NEWS * mod_status: Add version to status page (fixes #2219) * mod_accesslog: optimize accesslog_append_escaped (fixes #2236, thx crypt) * autotools: don't recreate parser files with lemon after lemon rebuild + * openssl: silence annoying error messages for errno==0 (fixes #2213) - 1.4.26 - 2010-02-07 * Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105) diff --git a/src/connections.c b/src/connections.c index 99f3e7cd..9dab86b7 100644 --- a/src/connections.c +++ b/src/connections.c @@ -1707,7 +1707,7 @@ int connection_state_machine(server *srv, connection *con) { ssl_r, ret, ERR_error_string(err, NULL)); } while((err = ERR_get_error())); - } else { + } else if (errno != 0) { /* ssl bug (see lighttpd ticket #2213): sometimes errno == 0 */ log_error_write(srv, __FILE__, __LINE__, "sddds", "SSL (error):", ssl_r, ret, errno, strerror(errno)); |