Mercurial > hg > nginx
view misc/README @ 5022:1d819608ad4a
SSL: avoid calling SSL_write() with zero data size.
According to documentation, calling SSL_write() with num=0 bytes to be sent
results in undefined behavior.
We don't currently call ngx_ssl_send_chain() with empty chain and buffer.
This check handles the case of a chain with total data size that is
a multiple of NGX_SSL_BUFSIZE, and with the special buffer at the end.
In practice such cases resulted in premature connection close and critical
error "SSL_write() failed (SSL:)" in the error log.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 28 Jan 2013 15:40:25 +0000 |
parents | 7e24168b0853 |
children | 09dbd363050a |
line wrap: on
line source
GNUmakefile, in svn it is available since 0.4.0 only. make -f misc/GNUmakefile release the required tools: *) xsltproc to build CHANGES, *) java and XSLScript ( http://pault.com/pault/XSLScript/ ) to build XSLTs from XSLScript sources. make -f misc/GNUmakefile icons the required tool: *) netpbm to create Win32 icons from xpm sources.