From 25a2d665aaf2c6bd7b73cf3f147ce2b7835aa074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Mon, 25 Mar 2013 17:22:34 +0000 Subject: [PATCH] call ERR_clear_error only for ssl connections in CON_STATE_ERROR git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2867 152afb58-edef-0310-8abb-c4023f1b3aa9 --- NEWS | 1 + src/connections.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ab7c732b..a83d88a9 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,7 @@ NEWS * fix handling of If-Modified-Since if If-None-Match is present (don't return 412 for date parsing errors); follow current draft for HTTP/1.1, which tells us to ignore If-Modified-Since if we have matching etags. * [mod_fastcgi,log] support multi line logging (fixes #2252) + * call ERR_clear_error only for ssl connections in CON_STATE_ERROR - 1.4.32 - 2012-11-21 * Code cleanup with clang/sparse (fixes #2437, thx kibi) diff --git a/src/connections.c b/src/connections.c index 48ca60fe..77714c9f 100644 --- a/src/connections.c +++ b/src/connections.c @@ -1736,8 +1736,8 @@ int connection_state_machine(server *srv, connection *con) { break; } } + ERR_clear_error(); } - ERR_clear_error(); #endif switch(con->mode) {