Mercurial > hg > nginx-vendor-current
annotate auto/threads @ 356:b743d290eb3b NGINX_0_6_22
nginx 0.6.22
*) Change: now all ngx_http_perl_module methods return values copied to
perl's allocated memory.
*) Bugfix: if nginx was built with ngx_http_perl_module, the perl
before 5.8.6 was used, and perl supported threads, then during
reconfiguration the master process aborted; bug appeared in
0.5.9.
Thanks to Boris Zhmurov.
*) Bugfix: the ngx_http_perl_module methods may get invalid values of
the regex captures.
*) Bugfix: a segmentation fault occurred in worker process, if the
$r->has_request_body() method was called for a request whose small
request body was already received.
*) Bugfix: large_client_header_buffers did not freed before going to
keep-alive state.
Thanks to Olexander Shtepa.
*) Bugfix: the last address was missed in the $upstream_addr variable;
bug appeared in 0.6.18.
*) Bugfix: the "fastcgi_catch_stderr" directive did return error code;
now it returns 502 code, that can be rerouted to a next server using
the "fastcgi_next_upstream invalid_header" directive.
*) Bugfix: a segmentation fault occurred in master process if the
"fastcgi_catch_stderr" directive was used; bug appeared in
0.6.10.
Thanks to Manlio Perillo.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 19 Dec 2007 00:00:00 +0300 |
parents | e85dca77c46a |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 case $USE_THREADS in | |
6 rfork) | |
7 have=NGX_THREADS . auto/have | |
8 have=NGX_USE_RFORK . auto/have | |
9 CORE_DEPS="$CORE_DEPS $FREEBSD_RFORK_DEPS" | |
10 CORE_SRCS="$CORE_SRCS $FREEBSD_RFORK_SRCS" | |
11 | |
42 | 12 case "$NGX_PLATFORM" in |
0 | 13 *:i386) |
14 if [ \( $version -gt 500000 -a $version -lt 501000 \) \ | |
15 -o $version -lt 491000 ] | |
16 then | |
17 CORE_SRCS="$CORE_SRCS $FREEBSD_RFORK_THREAD_SRCS" | |
18 fi | |
19 ;; | |
20 esac | |
21 ;; | |
22 | |
6 | 23 pthreads) |
0 | 24 have=NGX_THREADS . auto/have |
25 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" | |
26 CORE_LIBS="$CORE_LIBS -lpthread" | |
27 ;; | |
28 | |
6 | 29 libthr) |
0 | 30 have=NGX_THREADS . auto/have |
31 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" | |
6 | 32 CORE_LIBS="$CORE_LIBS -lthr" |
0 | 33 ;; |
34 | |
35 linuxthreads) | |
36 have=NGX_THREADS . auto/have | |
37 have=NGX_LINUXTHREADS . auto/have | |
38 CFLAGS="$CFLAGS -D_THREAD_SAFE" | |
39 CFLAGS="$CFLAGS -I /usr/local/include/pthread/linuxthreads" | |
40 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" | |
41 CORE_LIBS="$CORE_LIBS -L /usr/local/lib -llthread -llgcc_r" | |
42 ;; | |
43 | |
6 | 44 libc_r) |
42 | 45 case "$NGX_PLATFORM" in |
6 | 46 FreeBSD:[34]*) |
47 have=NGX_THREADS . auto/have | |
48 CFLAGS="$CFLAGS -pthread" | |
49 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" | |
50 CORE_LIBS="$CORE_LIBS -pthread" | |
51 ;; | |
52 | |
120 | 53 FreeBSD:[56]*) |
6 | 54 have=NGX_THREADS . auto/have |
55 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" | |
56 CORE_LIBS="$CORE_LIBS -lc_r" | |
57 ;; | |
58 esac | |
0 | 59 ;; |
60 | |
6 | 61 NO) |
62 ;; | |
63 | |
64 *) | |
0 | 65 have=NGX_THREADS . auto/have |
66 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" | |
6 | 67 CORE_LIBS="$CORE_LIBS -l$USE_THREADS" |
0 | 68 ;; |
69 | |
70 esac |