Mercurial > hg > nginx-vendor-current
comparison src/event/modules/ngx_rtsig_module.c @ 92:45945fa8b8ba NGINX_0_2_0
nginx 0.2.0
*) The pid-file names used during online upgrade was changed and now is
not required a manual rename operation. The old master process adds
the ".oldbin" suffix to its pid-file and executes a new binary file.
The new master process creates usual pid-file without the ".newbin"
suffix. If the master process exits, then old master process renames
back its pid-file with the ".oldbin" suffix to the pid-file without
suffix.
*) Change: the "worker_connections" directive, new name of the
"connections" directive; now the directive specifies maximum number
of connections, but not maximum socket descriptor number.
*) Feature: SSL supports the session cache inside one worker process.
*) Feature: the "satisfy_any" directive.
*) Change: the ngx_http_access_module and ngx_http_auth_basic_module do
not run for subrequests.
*) Feature: the "worker_rlimit_nofile" and "worker_rlimit_sigpending"
directives.
*) Bugfix: if all backend using in load-balancing failed after one
error, then nginx did not try do connect to them during 60 seconds.
*) Bugfix: in IMAP/POP3 command argument parsing.
Thanks to Rob Mueller.
*) Bugfix: errors while using SSL in IMAP/POP3 proxy.
*) Bugfix: errors while using SSI and gzipping.
*) Bugfix: the "Expires" and "Cache-Control" header lines were omitted
from the 304 responses.
Thanks to Alexandr Kukushkin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 23 Sep 2005 00:00:00 +0400 |
parents | 71c46860eb55 |
children | d6800bbe720e |
comparison
equal
deleted
inserted
replaced
91:c3eee83ea942 | 92:45945fa8b8ba |
---|---|
163 | 163 |
164 ngx_io = ngx_os_io; | 164 ngx_io = ngx_os_io; |
165 | 165 |
166 ngx_event_actions = ngx_rtsig_module_ctx.actions; | 166 ngx_event_actions = ngx_rtsig_module_ctx.actions; |
167 | 167 |
168 ngx_event_flags = NGX_USE_RTSIG_EVENT|NGX_USE_GREEDY_EVENT; | 168 ngx_event_flags = NGX_USE_RTSIG_EVENT |
169 |NGX_USE_GREEDY_EVENT | |
170 |NGX_USE_FD_EVENT; | |
169 | 171 |
170 return NGX_OK; | 172 return NGX_OK; |
171 } | 173 } |
172 | 174 |
173 | 175 |
426 return NGX_OK; | 428 return NGX_OK; |
427 } | 429 } |
428 | 430 |
429 /* TODO: old_cycles */ | 431 /* TODO: old_cycles */ |
430 | 432 |
431 c = &ngx_cycle->connections[si.si_fd]; | 433 c = ngx_cycle->files[si.si_fd]; |
432 | 434 |
433 instance = signo - rtscf->signo; | 435 instance = signo - rtscf->signo; |
434 | 436 |
435 rev = c->read; | 437 rev = c->read; |
436 | 438 |
594 | 596 |
595 if (overflow_current == cycle->connection_n) { | 597 if (overflow_current == cycle->connection_n) { |
596 break; | 598 break; |
597 } | 599 } |
598 | 600 |
599 c = &cycle->connections[overflow_current++]; | 601 c = cycle->files[overflow_current++]; |
600 | 602 |
601 if (c->fd == -1) { | 603 if (c->fd == -1) { |
602 continue; | 604 continue; |
603 } | 605 } |
604 | 606 |
650 if (ngx_mutex_lock(ngx_posted_events_mutex) == NGX_ERROR) { | 652 if (ngx_mutex_lock(ngx_posted_events_mutex) == NGX_ERROR) { |
651 return NGX_ERROR; | 653 return NGX_ERROR; |
652 } | 654 } |
653 | 655 |
654 for (i = 0; i < n; i++) { | 656 for (i = 0; i < n; i++) { |
655 c = &cycle->connections[overflow_list[i].fd]; | 657 c = cycle->files[overflow_list[i].fd]; |
656 | 658 |
657 rev = c->read; | 659 rev = c->read; |
658 | 660 |
659 if (rev->active | 661 if (rev->active |
660 && !rev->closed | 662 && !rev->closed |