Mercurial > hg > nginx-vendor-0-8
annotate auto/threads @ 326:9fc4ab6673f9 NGINX_0_6_7
nginx 0.6.7
*) Change: now the paths specified in the "include",
"auth_basic_user_file", "perl_modules", "ssl_certificate",
"ssl_certificate_key", and "ssl_client_certificate" directives are
relative to directory of nginx configuration file nginx.conf, but
not to nginx prefix directory.
*) Change: the --sysconfdir=PATH option in configure was canceled.
*) Change: the special make target "upgrade1" was defined for online
upgrade of 0.1.x versions.
*) Feature: the "server_name" and "valid_referers" directives support
regular expressions.
*) Feature: the "server" directive in the "upstream" context supports
the "backup" parameter.
*) Feature: the ngx_http_perl_module supports the
$r->discard_request_body.
*) Feature: the "add_header Last-Modified ..." directive changes the
"Last-Modified" response header line.
*) Bugfix: if an response different than 200 was returned to an request
with body and connection went to the keep-alive state after the
request, then nginx returned 400 for the next request.
*) Bugfix: a segmentation fault occurred in worker process if invalid
address was set in the "auth_http" directive.
*) Bugfix: now nginx uses default listen backlog value 511 on all
platforms except FreeBSD.
Thanks to Jiang Hong.
*) Bugfix: a worker process may got caught in an endless loop, if an
"server" inside "upstream" block was marked as "down"; bug appeared
in 0.6.6.
*) Bugfix: now Solaris sendfilev() is not used to transfer the client
request body to FastCGI-server via the unix domain socket.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 15 Aug 2007 00:00:00 +0400 |
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 |