comparison src/os/unix/ngx_freebsd_rfork_thread.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 72eb30262aac
comparison
equal deleted inserted replaced
9:77eee314ddbd 10:46833bd150cb
16 16
17 #undef ngx_log_pid 17 #undef ngx_log_pid
18 #define ngx_log_pid ngx_thread_self() 18 #define ngx_log_pid ngx_thread_self()
19 #define ngx_log_tid 0 19 #define ngx_log_tid 0
20 20
21 #define TID_T_FMT PID_T_FMT 21 #define NGX_TID_T_FMT "%P"
22 22
23 23
24 #define NGX_MUTEX_LIGHT 1 24 #define NGX_MUTEX_LIGHT 1
25 25
26 #define NGX_MUTEX_LOCK_BUSY 0x80000000 26 #define NGX_MUTEX_LOCK_BUSY 0x80000000
89 89
90 #define NGX_THREAD_KEYS_MAX 16 90 #define NGX_THREAD_KEYS_MAX 16
91 91
92 extern void **ngx_tls; 92 extern void **ngx_tls;
93 93
94 ngx_int_t ngx_thread_key_create(ngx_tls_key_t *key); 94 ngx_err_t ngx_thread_key_create(ngx_tls_key_t *key);
95 #define ngx_thread_key_create_n "the tls key creation" 95 #define ngx_thread_key_create_n "the tls key creation"
96 96
97 ngx_int_t ngx_thread_set_tls(ngx_tls_key_t key, void *value); 97 ngx_err_t ngx_thread_set_tls(ngx_tls_key_t key, void *value);
98 #define ngx_thread_set_tls_n "the tls key setting" 98 #define ngx_thread_set_tls_n "the tls key setting"
99 99
100 100
101 static void *ngx_thread_get_tls(ngx_tls_key_t key) 101 static void *ngx_thread_get_tls(ngx_tls_key_t key)
102 { 102 {