mirror of
https://github.com/nginx/nginx.git
synced 2024-12-15 13:28:59 +08:00
d2ea226229
As long as there are data to read in the socket, yet the amount of data is less than total size of the buffers in the chain, this saves one unneeded read() syscall. Before this change, reading only stopped if ngx_ssl_recv() returned no data, that is, two read() syscalls in a row returned EAGAIN. |
||
---|---|---|
.. | ||
core | ||
event | ||
http | ||
misc | ||
os | ||
stream |