comparison auto/os/linux @ 466:9eda3153223b NGINX_0_7_45

nginx 0.7.45 *) Change: now the "proxy_cache" and the "proxy_cache_valid" can be set on different levels. *) Change: the "clean_time" parameter of the "proxy_cache_path" directive is canceled. *) Feature: the "max_size" parameter of the "proxy_cache_path" directive. *) Feature: the ngx_http_fastcgi_module preliminary cache support. *) Feature: now on shared memory allocation errors directive and zone names are logged. *) Bugfix: the directive "add_header last-modified ''" did not delete a "Last-Modified" response header line; the bug had appeared in 0.7.44. *) Bugfix: a relative path in the "auth_basic_user_file" directive given without variables did not work; the bug had appeared in 0.7.44. Thanks to Jerome Loyet. *) Bugfix: in an "alias" directive given using variables without references to captures of regular expressions; the bug had appeared in 0.7.42.
author Igor Sysoev <http://sysoev.ru>
date Mon, 30 Mar 2009 00:00:00 +0400
parents babd3d9efb62
children 56baf312c1b5
comparison
equal deleted inserted replaced
465:29602be46850 466:9eda3153223b
9 CORE_SRCS="$UNIX_SRCS $LINUX_SRCS" 9 CORE_SRCS="$UNIX_SRCS $LINUX_SRCS"
10 10
11 ngx_spacer=' 11 ngx_spacer='
12 ' 12 '
13 13
14 CC_AUX_FLAGS="$CC_AUX_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" 14 cc_aux_flags="$CC_AUX_FLAGS"
15 CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
15 16
16 17
17 # Linux kernel version 18 # Linux kernel version
18 19
19 version=$((`uname -r \ 20 version=$((`uname -r \
58 fi 59 fi
59 60
60 61
61 # sendfile() 62 # sendfile()
62 63
63 CC_AUX_FLAGS="$CC_AUX_FLAGS -D_GNU_SOURCE" 64 CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE"
64 ngx_feature="sendfile()" 65 ngx_feature="sendfile()"
65 ngx_feature_name="NGX_HAVE_SENDFILE" 66 ngx_feature_name="NGX_HAVE_SENDFILE"
66 ngx_feature_run=yes 67 ngx_feature_run=yes
67 ngx_feature_incs="#include <sys/sendfile.h> 68 ngx_feature_incs="#include <sys/sendfile.h>
68 #include <errno.h>" 69 #include <errno.h>"
69 ngx_feature_path= 70 ngx_feature_path=
70 ngx_feature_libs= 71 ngx_feature_libs=
71 ngx_feature_test="int s = 0, fd = 1; 72 ngx_feature_test="int s = 0, fd = 1;
72 ssize_t n; off_t off = 0; 73 ssize_t n; off_t off = 0;
73 n = sendfile(s, fd, &off, 1); 74 n = sendfile(s, fd, &off, 1);
79 fi 80 fi
80 81
81 82
82 # sendfile64() 83 # sendfile64()
83 84
84 CC_AUX_FLAGS="$CC_AUX_FLAGS -D_FILE_OFFSET_BITS=64" 85 CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
85 ngx_feature="sendfile64()" 86 ngx_feature="sendfile64()"
86 ngx_feature_name="NGX_HAVE_SENDFILE64" 87 ngx_feature_name="NGX_HAVE_SENDFILE64"
87 ngx_feature_run=yes 88 ngx_feature_run=yes
88 ngx_feature_incs="#include <sys/sendfile.h> 89 ngx_feature_incs="#include <sys/sendfile.h>
89 #include <errno.h>" 90 #include <errno.h>"
90 ngx_feature_path= 91 ngx_feature_path=
91 ngx_feature_libs= 92 ngx_feature_libs=
92 ngx_feature_test="int s = 0, fd = 1; 93 ngx_feature_test="int s = 0, fd = 1;
93 ssize_t n; off_t off = 0; 94 ssize_t n; off_t off = 0;
94 n = sendfile(s, fd, &off, 1); 95 n = sendfile(s, fd, &off, 1);
119 ngx_feature_path= 120 ngx_feature_path=
120 ngx_feature_libs= 121 ngx_feature_libs=
121 ngx_feature_test="long mask = 0; 122 ngx_feature_test="long mask = 0;
122 sched_setaffinity(0, 32, (cpu_set_t *) &mask)" 123 sched_setaffinity(0, 32, (cpu_set_t *) &mask)"
123 . auto/feature 124 . auto/feature
125
126
127 CC_AUX_FLAGS=$cc_aux_flags