Mercurial > hg > nginx-quic
comparison src/event/modules/ngx_devpoll_module.c @ 473:8e8f3af115b5 release-0.1.11
nginx-0.1.11-RELEASE import
*) Feature: the worker_priority directive.
*) Change: both tcp_nopush and tcp_nodelay directives affect the
transferred response.
*) Bugfix: nginx did not call initgroups().
Thanks to Andrew Sitnikov and Andrei Nigmatulin.
*) Change: now the ngx_http_autoindex_module shows the file size in the
bytes.
*) Bugfix: the ngx_http_autoindex_module returned the 500 error if the
broken symlink was in a directory.
*) Bugfix: the files bigger than 4G could not be transferred using
sendfile.
*) Bugfix: if the backend was resolved to several backends and there
was an error while the response waiting then process may got caught
in an endless loop.
*) Bugfix: the worker process may exit with the "unknown cycle" message
when the /dev/poll method was used.
*) Bugfix: "close() channel failed" errors.
*) Bugfix: the autodetection of the "nobody" and "nogroup" groups.
*) Bugfix: the send_lowat directive did not work on Linux.
*) Bugfix: the segmentation fault occurred if there was no events
section in configuration.
*) Bugfix: nginx could not be built on OpenBSD.
*) Bugfix: the double slashes in "://" in the URI were converted to
":/".
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 02 Dec 2004 18:40:46 +0000 |
parents | 2ff194b74f1e |
children | 621229427cba |
comparison
equal
deleted
inserted
replaced
472:a004b617422d | 473:8e8f3af115b5 |
---|---|
433 | 433 |
434 for (i = 0; i < events; i++) { | 434 for (i = 0; i < events; i++) { |
435 c = &ngx_cycle->connections[event_list[i].fd]; | 435 c = &ngx_cycle->connections[event_list[i].fd]; |
436 | 436 |
437 if (c->fd == -1) { | 437 if (c->fd == -1) { |
438 if (ngx_cycle->read_events[event_list[i].fd].closed) { | |
439 continue; | |
440 } | |
441 | |
442 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, "unexpected event"); | |
443 continue; | |
444 } | |
445 | |
446 #if 0 | |
447 if (c->fd == -1) { | |
438 old_cycle = ngx_old_cycles.elts; | 448 old_cycle = ngx_old_cycles.elts; |
439 for (j = 0; j < ngx_old_cycles.nelts; j++) { | 449 for (j = 0; j < ngx_old_cycles.nelts; j++) { |
440 if (old_cycle[j] == NULL) { | 450 if (old_cycle[j] == NULL) { |
441 continue; | 451 continue; |
442 } | 452 } |
449 | 459 |
450 if (c->fd == -1) { | 460 if (c->fd == -1) { |
451 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, "unknown cycle"); | 461 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, "unknown cycle"); |
452 exit(1); | 462 exit(1); |
453 } | 463 } |
464 #endif | |
454 | 465 |
455 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, | 466 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, |
456 "devpoll: fd:%d, ev:%04Xd, rev:%04Xd", | 467 "devpoll: fd:%d, ev:%04Xd, rev:%04Xd", |
457 event_list[i].fd, | 468 event_list[i].fd, |
458 event_list[i].events, event_list[i].revents); | 469 event_list[i].events, event_list[i].revents); |