comparison src/event/ngx_event_posted.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 f0b350454894
children 408f195b3482
comparison
equal deleted inserted replaced
9:77eee314ddbd 10:46833bd150cb
20 ngx_posted_events = ev; \ 20 ngx_posted_events = ev; \
21 if (ev->next) { \ 21 if (ev->next) { \
22 ev->next->prev = &ev->next; \ 22 ev->next->prev = &ev->next; \
23 } \ 23 } \
24 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, \ 24 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, \
25 "post event " PTR_FMT, ev); \ 25 "post event %p", ev); \
26 } else { \ 26 } else { \
27 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, \ 27 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, \
28 "update posted event " PTR_FMT, ev); \ 28 "update posted event %p", ev); \
29 } 29 }
30 30
31 #define ngx_delete_posted_event(ev) \ 31 #define ngx_delete_posted_event(ev) \
32 *(ev->prev) = ev->next; \ 32 *(ev->prev) = ev->next; \
33 if (ev->next) { \ 33 if (ev->next) { \
34 ev->next->prev = ev->prev; \ 34 ev->next->prev = ev->prev; \
35 } \ 35 } \
36 ev->prev = NULL; \ 36 ev->prev = NULL; \
37 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, \ 37 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, \
38 "delete posted event " PTR_FMT, ev); 38 "delete posted event %p", ev);
39 39
40 40
41 41
42 void ngx_event_process_posted(ngx_cycle_t *cycle); 42 void ngx_event_process_posted(ngx_cycle_t *cycle);
43 void ngx_wakeup_worker_thread(ngx_cycle_t *cycle); 43 void ngx_wakeup_worker_thread(ngx_cycle_t *cycle);