[PATCH 0 of 2] unbuffered proxying CPU hog (ticket #2418)
Sergey Kandaurov
pluknet at nginx.com
Wed Nov 30 15:29:35 UTC 2022
> On 29 Nov 2022, at 02:12, Maxim Dounin <mdounin at mdounin.ru> wrote:
>
> Hello!
>
> The following patch fixes CPU hog observed with unbuffered SSL proxying
> after SSL errors (ticket #2418). Fix is to always clear c->read->ready
> flag when returning errors from ngx_ssl_recv().
>
> An additional patch cleans up some win32-specific edge cases (not expected
> to appear in practice though) when c->read->ready is not cleared when
> errors or EOFs are returned from ngx_wsarecv() and ngx_wsarecv_chain().
>
Hello!
Both patches look good to me.
--
Sergey Kandaurov
More information about the nginx-devel
mailing list