Mercurial > hg > nginx-vendor-current
annotate auto/threads @ 22:8b6db3bda591 NGINX_0_1_11
nginx 0.1.11
*) Feature: the worker_priority directive.
*) Change: both tcp_nopush and tcp_nodelay directives affect the
transferred response.
*) Bugfix: nginx did not call initgroups().
Thanks to Andrew Sitnikov and Andrei Nigmatulin.
*) Change: now the ngx_http_autoindex_module shows the file size in the
bytes.
*) Bugfix: the ngx_http_autoindex_module returned the 500 error if the
broken symlink was in a directory.
*) Bugfix: the files bigger than 4G could not be transferred using
sendfile.
*) Bugfix: if the backend was resolved to several backends and there
was an error while the response waiting then process may got caught
in an endless loop.
*) Bugfix: the worker process may exit with the "unknown cycle" message
when the /dev/poll method was used.
*) Bugfix: "close() channel failed" errors.
*) Bugfix: the autodetection of the "nobody" and "nogroup" groups.
*) Bugfix: the send_lowat directive did not work on Linux.
*) Bugfix: the segmentation fault occurred if there was no events
section in configuration.
*) Bugfix: nginx could not be built on OpenBSD.
*) Bugfix: the double slashes in "://" in the URI were converted to
":/".
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 02 Dec 2004 00:00:00 +0300 |
parents | 6f8b0dc0f8dd |
children | 41ccba1aba45 |
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 | |
18 | 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) |
18 | 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 | |
53 FreeBSD:5*) | |
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 |