[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 2011-12-05 17:08:17 +00:00
parent 456d7f4790
commit 38e3e4a65a
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -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)

View File

@ -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;
}