The official NGINX Open Source repository. https://nginx.org/
Find a file
Maxim Dounin 39892c6265 SSL: fixed ngx_ssl_recv() to reset c->read->ready after errors.
With this change, behaviour of ngx_ssl_recv() now matches ngx_unix_recv(),
which used to always reset c->read->ready to 0 when returning errors.

This fixes an infinite loop in unbuffered SSL proxying if writing to the
client is blocked and an SSL error happens (ticket #2418).

With this change, the fix for a similar issue in the stream module
(6868:ee3645078759), which used a different approach of explicitly
testing c->read->error instead, is no longer needed and was reverted.
2022-12-01 04:22:31 +03:00
auto Win32: disabled threads support in OpenSSL builds. 2022-09-07 00:47:31 +03:00
conf MIME: added image/avif type. 2021-10-25 20:49:15 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2022-06-18 15:54:40 +03:00
docs nginx-1.23.2-RELEASE 2022-10-19 10:56:20 +03:00
misc Updated OpenSSL used for win32 builds. 2022-07-19 17:03:30 +03:00
src SSL: fixed ngx_ssl_recv() to reset c->read->ready after errors. 2022-12-01 04:22:31 +03:00
.hgtags release-1.23.2 tag 2022-10-19 10:56:21 +03:00