Changeset 2136
- Timestamp:
- 03/26/2008 11:51:06 AM (4 months ago)
- Files:
-
- branches/lighttpd-1.4.x/NEWS (modified) (1 diff)
- branches/lighttpd-1.4.x/src/connections.c (modified) (3 diffs)
- branches/lighttpd-1.4.x/src/network_openssl.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/lighttpd-1.4.x/NEWS
r2130 r2136 9 9 * Fix mod_extforward to compile with old gcc version (#1591) 10 10 * Update documentation for #1587 11 * Fix #285 again: read error after SSL_shutdown (thx marton.illes@balabit.com) and clear the error queue before some other calls 11 12 12 13 - 1.4.19 - 2008-03-10 branches/lighttpd-1.4.x/src/connections.c
r2103 r2136 200 200 /* don't resize the buffer if we were in SSL_ERROR_WANT_* */ 201 201 202 ERR_clear_error(); 202 203 do { 203 204 if (!con->ssl_error_want_reuse_buffer) { … … 1670 1671 if (srv_sock->is_ssl) { 1671 1672 int ret; 1673 ERR_clear_error(); 1672 1674 switch ((ret = SSL_shutdown(con->ssl))) { 1673 1675 case 1: … … 1675 1677 break; 1676 1678 case 0: 1677 SSL_shutdown(con->ssl); 1678 break; 1679 ERR_clear_error(); 1680 if ((ret = SSL_shutdown(con->ssl)) == 1) break; 1681 1682 // fall through 1679 1683 default: 1680 1684 log_error_write(srv, __FILE__, __LINE__, "sds", "SSL:", branches/lighttpd-1.4.x/src/network_openssl.c
r2084 r2136 86 86 */ 87 87 88 ERR_clear_error(); 88 89 if ((r = SSL_write(ssl, offset, toSend)) <= 0) { 89 90 unsigned long err; … … 188 189 close(ifd); 189 190 191 ERR_clear_error(); 190 192 if ((r = SSL_write(ssl, s, toSend)) <= 0) { 191 193 unsigned long err;

