Mercurial > hg > nginx-vendor-1-0
diff src/event/modules/ngx_aio_module.c @ 274:052a7b1d40e5 NGINX_0_5_7
nginx 0.5.7
*) Feature: the ssl_session_cache storage optimization.
*) Bugfixes in the "ssl_session_cache" and "limit_zone" directives.
*) Bugfix: the segmentation fault was occurred on start or while
reconfiguration if the "ssl_session_cache" or "limit_zone"
directives were used on 64-bit platforms.
*) Bugfix: a segmentation fault occurred if the "add_before_body" or
"add_after_body" directives were used and there was no
"Content-Type" header line in response.
*) Bugfix: the OpenSSL library was always built with the threads
support.
Thanks to Den Ivanov.
*) Bugfix: the PCRE-6.5+ library and the icc compiler compatibility.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 15 Jan 2007 00:00:00 +0300 |
parents | 408f195b3482 |
children | f7cd062ee035 |
line wrap: on
line diff
--- a/src/event/modules/ngx_aio_module.c +++ b/src/event/modules/ngx_aio_module.c @@ -166,61 +166,3 @@ ngx_aio_process_events(ngx_cycle_t *cycl } #endif /* NGX_HAVE_KQUEUE */ - - -#if 0 - -/* 1 */ -int ngx_posix_aio_process_events(ngx_log_t *log) -{ - listen via SIGIO; - aio_* via SIGxxx; - - sigsuspend()/sigwaitinfo()/sigtimedwait(); -} - -/* 2 */ -int ngx_posix_aio_process_events(ngx_log_t *log) -{ - unmask signal - - listen via SIGIO; - - /* BUG: SIGIO can be delivered before aio_*() */ - - aio_suspend()/aiowait()/aio_waitcomplete() with timeout - - mask signal - - if (ngx_socket_errno == NGX_EINTR) - look listen - select()/accept() nb listen sockets - else - aio -} - -/* 3 */ -int ngx_posix_aio_process_events(ngx_log_t *log) -{ -#if 0 - unmask signal - - /* BUG: AIO signal can be delivered before select() */ - - select(listen); - - mask signal -#endif - - pselect(listen, mask); - - if (ngx_socket_errno == NGX_EINTR) - look ready array -} - -void aio_sig_handler(int signo, siginfo_t *siginfo, void *context) -{ - push siginfo->si_value.sival_ptr -} - -#endif