mirror of https://github.com/F-Stack/f-stack.git
Bug:CLR_FD_BIT is undefined
This commit is contained in:
parent
84456118c7
commit
6819118ae2
|
@ -320,22 +320,14 @@ ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
|
||||||
found = 0;
|
found = 0;
|
||||||
|
|
||||||
if (ev->write) {
|
if (ev->write) {
|
||||||
#if (NGX_HAVE_FSTACK)
|
|
||||||
if (FD_ISSET(CLR_FD_BIT(c->fd), &work_write_fd_set)) {
|
|
||||||
#else
|
|
||||||
if (FD_ISSET(c->fd, &work_write_fd_set)) {
|
if (FD_ISSET(c->fd, &work_write_fd_set)) {
|
||||||
#endif
|
|
||||||
found = 1;
|
found = 1;
|
||||||
ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
|
ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
|
||||||
"select write %d", c->fd);
|
"select write %d", c->fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
#if (NGX_HAVE_FSTACK)
|
|
||||||
if (FD_ISSET(CLR_FD_BIT(c->fd), &work_read_fd_set)) {
|
|
||||||
#else
|
|
||||||
if (FD_ISSET(c->fd, &work_read_fd_set)) {
|
if (FD_ISSET(c->fd, &work_read_fd_set)) {
|
||||||
#endif
|
|
||||||
found = 1;
|
found = 1;
|
||||||
ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
|
ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
|
||||||
"select read %d", c->fd);
|
"select read %d", c->fd);
|
||||||
|
|
Loading…
Reference in New Issue