comparison src/event/ngx_event.h @ 10:46833bd150cb NGINX_0_1_5

nginx 0.1.5 *) Bugfix: on Solaris and Linux there may be too many "recvmsg() returned not enough data" alerts. *) Bugfix: there were the "writev() failed (22: Invalid argument)" errors on Solaris in proxy mode without sendfile. On other platforms that do not support sendfile at all the process got caught in an endless loop. *) Bugfix: segmentation fault on Solaris in proxy mode and using sendfile. *) Bugfix: segmentation fault on Solaris. *) Bugfix: on-line upgrade did not work on Linux. *) Bugfix: the ngx_http_autoindex_module module did not escape the spaces, the quotes, and the percent signs in the directory listing. *) Change: the decrease of the copy operations. *) Feature: the userid_p3p directive.
author Igor Sysoev <http://sysoev.ru>
date Thu, 11 Nov 2004 00:00:00 +0300
parents 4b2dafa26fe2
children 74b1868dd3cd
comparison
equal deleted inserted replaced
9:77eee314ddbd 10:46833bd150cb
79 79
80 #if !(NGX_THREADS) 80 #if !(NGX_THREADS)
81 unsigned posted_ready:1; 81 unsigned posted_ready:1;
82 #endif 82 #endif
83 83
84 #if (WIN32) 84 #if (NGX_WIN32)
85 /* setsockopt(SO_UPDATE_ACCEPT_CONTEXT) was succesfull */ 85 /* setsockopt(SO_UPDATE_ACCEPT_CONTEXT) was succesfull */
86 unsigned accept_context_updated:1; 86 unsigned accept_context_updated:1;
87 #endif 87 #endif
88 88
89 #if (HAVE_KQUEUE) 89 #if (HAVE_KQUEUE)
471 ngx_int_t ngx_trylock_accept_mutex(ngx_cycle_t *cycle); 471 ngx_int_t ngx_trylock_accept_mutex(ngx_cycle_t *cycle);
472 ngx_int_t ngx_disable_accept_events(ngx_cycle_t *cycle); 472 ngx_int_t ngx_disable_accept_events(ngx_cycle_t *cycle);
473 ngx_int_t ngx_enable_accept_events(ngx_cycle_t *cycle); 473 ngx_int_t ngx_enable_accept_events(ngx_cycle_t *cycle);
474 474
475 475
476 #if (WIN32) 476 #if (NGX_WIN32)
477 void ngx_event_acceptex(ngx_event_t *ev); 477 void ngx_event_acceptex(ngx_event_t *ev);
478 int ngx_event_post_acceptex(ngx_listening_t *ls, int n); 478 int ngx_event_post_acceptex(ngx_listening_t *ls, int n);
479 #endif 479 #endif
480 480
481 481
488 488
489 #include <ngx_event_timer.h> 489 #include <ngx_event_timer.h>
490 #include <ngx_event_posted.h> 490 #include <ngx_event_posted.h>
491 #include <ngx_event_busy_lock.h> 491 #include <ngx_event_busy_lock.h>
492 492
493 #if (WIN32) 493 #if (NGX_WIN32)
494 #include <ngx_iocp_module.h> 494 #include <ngx_iocp_module.h>
495 #endif 495 #endif
496 496
497 497
498 498