mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
nginx-0.0.7-2004-07-14-00:24:56 import
This commit is contained in:
parent
a14f89c068
commit
846c27b2ac
@ -643,7 +643,11 @@ static ngx_int_t ngx_rtsig_process_overflow(ngx_cycle_t *cycle)
|
|||||||
|
|
||||||
rev = c->read;
|
rev = c->read;
|
||||||
|
|
||||||
if (overflow_list[i].revents & (POLLIN|POLLERR|POLLHUP|POLLNVAL)) {
|
if (rev->active
|
||||||
|
&& rev->event_handler
|
||||||
|
&& (overflow_list[i].revents
|
||||||
|
& (POLLIN|POLLERR|POLLHUP|POLLNVAL)))
|
||||||
|
{
|
||||||
tested++;
|
tested++;
|
||||||
|
|
||||||
if (ngx_threaded) {
|
if (ngx_threaded) {
|
||||||
@ -658,7 +662,11 @@ static ngx_int_t ngx_rtsig_process_overflow(ngx_cycle_t *cycle)
|
|||||||
|
|
||||||
wev = c->write;
|
wev = c->write;
|
||||||
|
|
||||||
if (overflow_list[i].revents & (POLLOUT|POLLERR|POLLHUP|POLLNVAL)) {
|
if (wev->active
|
||||||
|
&& wev->event_handler
|
||||||
|
&& (overflow_list[i].revents
|
||||||
|
& (POLLOUT|POLLERR|POLLHUP|POLLNVAL)))
|
||||||
|
{
|
||||||
tested++;
|
tested++;
|
||||||
|
|
||||||
if (ngx_threaded) {
|
if (ngx_threaded) {
|
||||||
|
Loading…
Reference in New Issue
Block a user