comparison src/os/unix/ngx_posix_init.c @ 48:6cfc63e68377 NGINX_0_1_24

nginx 0.1.24 *) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING and DOCUMENT_URI variables. *) Bugfix: the ngx_http_autoindex_module may some times return the 404 response for existent directory, if this directory was used in "alias" directive. *) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large responses. *) Bugfix: the lack of the "Referer" header line was always accounted as valid referrer.
author Igor Sysoev <http://sysoev.ru>
date Fri, 04 Mar 2005 00:00:00 +0300
parents 45fe5b98a9de
children 72eb30262aac
comparison
equal deleted inserted replaced
47:4ae32548452c 48:6cfc63e68377
26 ngx_writev_chain, 26 ngx_writev_chain,
27 0 27 0
28 }; 28 };
29 29
30 30
31 int ngx_os_init(ngx_log_t *log) 31 ngx_int_t ngx_os_init(ngx_log_t *log)
32 { 32 {
33 return ngx_posix_init(log); 33 return ngx_posix_init(log);
34 } 34 }
35 35
36 36
280 280
281 ngx_set_errno(err); 281 ngx_set_errno(err);
282 } 282 }
283 283
284 284
285 int ngx_posix_post_conf_init(ngx_log_t *log) 285 ngx_int_t ngx_posix_post_conf_init(ngx_log_t *log)
286 { 286 {
287 ngx_fd_t pp[2]; 287 ngx_fd_t pp[2];
288 288
289 if (pipe(pp) == -1) { 289 if (pipe(pp) == -1) {
290 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "pipe() failed"); 290 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "pipe() failed");