diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-09-06 16:09:32 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-09-06 16:09:32 +0000 |
commit | ceb992921cee6f76d1752af2d388ee6a1d71e078 (patch) | |
tree | 2b4916a12d02210134939b7fb388a270e76002fa /src/os/unix/ngx_linux_init.c | |
parent | 5650106a09de8e8d876ed38fbff57b2161d910c4 (diff) | |
download | nginx-ceb992921cee6f76d1752af2d388ee6a1d71e078.tar.gz nginx-ceb992921cee6f76d1752af2d388ee6a1d71e078.zip |
nginx-0.1.44-RELEASE importrelease-0.1.44
*) Feature: the IMAP/POP3 proxy supports SSL.
*) Feature: the "proxy_timeout" directive of the ngx_imap_proxy_module.
*) Feature: the "userid_mark" directive.
*) Feature: the $remote_user variable value is determined independently
of authorization use.
Diffstat (limited to 'src/os/unix/ngx_linux_init.c')
-rw-r--r-- | src/os/unix/ngx_linux_init.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/os/unix/ngx_linux_init.c b/src/os/unix/ngx_linux_init.c index 56d9f1523..8d2f7915e 100644 --- a/src/os/unix/ngx_linux_init.c +++ b/src/os/unix/ngx_linux_init.c @@ -14,7 +14,7 @@ char ngx_linux_kern_osrelease[20]; int ngx_linux_rtsig_max; -ngx_os_io_t ngx_os_io = { +static ngx_os_io_t ngx_linux_io = { ngx_unix_recv, ngx_readv_chain, ngx_unix_send, @@ -29,7 +29,7 @@ ngx_os_io_t ngx_os_io = { ngx_int_t -ngx_os_init(ngx_log_t *log) +ngx_os_specific_init(ngx_log_t *log) { int name[2]; size_t len; @@ -74,19 +74,18 @@ ngx_os_init(ngx_log_t *log) } - return ngx_posix_init(log); + ngx_os_io = ngx_linux_io; + + return NGX_OK; } void -ngx_os_status(ngx_log_t *log) +ngx_os_specific_status(ngx_log_t *log) { ngx_log_error(NGX_LOG_NOTICE, log, 0, "OS: %s %s", ngx_linux_kern_ostype, ngx_linux_kern_osrelease); ngx_log_error(NGX_LOG_NOTICE, log, 0, "sysctl(KERN_RTSIGMAX): %d", ngx_linux_rtsig_max); - - - ngx_posix_status(log); } |