]> git.kaiwu.me - njs.git/commit
Fixed timeouts with Fetch, SSL and select.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 6 Oct 2021 12:57:14 +0000 (15:57 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 6 Oct 2021 12:57:14 +0000 (15:57 +0300)
commit64c7191237f9cd2ef8e41d0269202a6a111d0feb
tree532ab08550bf559e5fbf9f4cb4678fc023eb172c
parentc98ed0f1d2a84c36dccd4f4ddf0cea8906bd24e5
Fixed timeouts with Fetch, SSL and select.

Similar to the connection hang fixed in 058a67435e83 in nginx,
it is possible that an established connection is ready for reading
after the handshake.  Further, events might be already disabled
in case of level-triggered event methods.

Fix is to post a read event if the c->read->ready flag is set.
nginx/ngx_js_fetch.c