[PATCH 0 of 2] unbuffered proxying CPU hog (ticket #2418)
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:
> 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().
Both patches look good to me.
More information about the nginx-devel