Browse Source

[ssl] fix ssl connection aborts if files are larger than the MAX_WRITE_LIMIT (256kb)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2813 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.30
Stefan Bühler 10 years ago
parent
commit
38e3e4a65a
  1. 1
      NEWS
  2. 2
      src/network_openssl.c

1
NEWS

@ -14,6 +14,7 @@ NEWS
* [ssl] count renegotiations to prevent client renegotiations
* [ssl] add option to honor server cipher order (fixes #2364, BEAST attack)
* [core] accept dots in ipv6 addresses in host header (fixes #2359)
* [ssl] fix ssl connection aborts if files are larger than the MAX_WRITE_LIMIT (256kb)
- 1.4.29 - 2011-07-03
* Fix mod_proxy waiting for response even if content-length is 0 (fixes #2259)

2
src/network_openssl.c

@ -265,7 +265,7 @@ int network_write_chunkqueue_openssl(server *srv, connection *con, SSL *ssl, chu
if (c->offset == c->file.length) {
chunk_finished = 1;
}
} while(!chunk_finished && !write_wait);
} while (!chunk_finished && !write_wait && max_bytes > 0);
break;
}

Loading…
Cancel
Save