Mercurial > hg > nginx
comparison auto/cc/msvc @ 2280:6453161bf53e
always use buffer, if connection is buffered,
this fixes OpenSSL "bad write retry" error, when
*) nginx passed a single buf greater than our buffer (say 32K) to OpenSSL,
*) OpenSSL returns SSL_ERROR_WANT_WRITE,
*) after some time nginx has to send a new data,
*) so there are at least two bufs nginx does pass them directly to OpenSSL,
*) but copies the first buf part to buffer, and sends the buffer to OpenSSL.
*) because the data length is lesser than it was in previous SSL_write():
16K < 32K, OpenSSL returns SSL_R_BAD_WRITE_RETRY.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 23 Oct 2008 05:58:10 +0000 |
parents | 7d125a707158 |
children | 73a132c47076 |
comparison
equal
deleted
inserted
replaced
2279:bbb17a60ec44 | 2280:6453161bf53e |
---|