Commit Graph

1652 Commits

Author SHA1 Message Date
Igor Sysoev
170a54f326 escape ampersand in argument while rewrite 2010-04-01 12:45:59 +00:00
Igor Sysoev
d08b65ca61 do not set file time in ngx_copy_file() if the time is -1,
this fixes an issue when file is moved across devices
2010-03-30 14:15:25 +00:00
Igor Sysoev
86f791e090 fix comments 2010-03-26 21:17:26 +00:00
Igor Sysoev
6d45d8a50d *) introduce ngx_time_sigsafe_update() to update the error log time only
*) change ngx_time_update() interface
2010-03-25 09:10:10 +00:00
Igor Sysoev
2f916a9721 *) use previously cached GMT offset value to update time from a signal handler
*) change ngx_time_update() interface since there are no notification methods
   those return time
2010-03-13 18:08:07 +00:00
Igor Sysoev
1c9f74852f bump version 2010-03-10 13:49:17 +00:00
Igor Sysoev
b87fba807e const char *fmt in ngx_conf_log_error() 2010-02-12 09:45:05 +00:00
Igor Sysoev
d1311dfc71 bump version 2010-02-12 09:31:01 +00:00
Igor Sysoev
2f5bcf2d17 bump version 2010-01-28 08:22:45 +00:00
Igor Sysoev
d8be48a546 fix ngx_utf8_cpystrn(): it did not fully copy utf-8 string 2010-01-11 13:39:24 +00:00
Igor Sysoev
089b2fd31e add context to a resolver log 2010-01-11 11:01:02 +00:00
Igor Sysoev
9a5eabc4ac bump version 2009-12-25 14:57:10 +00:00
Igor Sysoev
04799a6f7c fix r3331:
*) now pools are aligned to 16 bytes
*) forbidden to set non-aligned pool sizes
2009-12-17 12:25:46 +00:00
Igor Sysoev
a75362dcdb fix Win32 error message when an temporary file replaces an existent file:
return at once if ngx_win32_rename_file() was not failed
and do not try to delete already the renamed temporary file
2009-12-17 10:05:39 +00:00
Igor Sysoev
9c8fa5efe5 bump version 2009-12-16 14:59:33 +00:00
Igor Sysoev
44be39475c fix Win32 error messages when an temporary file replaces an existent file:
*) do not rename an already renamed file
*) now ngx_win32_rename_file() returns error code
*) do not log failure inside ngx_win32_rename_file()
2009-12-15 13:47:02 +00:00
Igor Sysoev
eacd5d89b7 fix double free(), introduced in r3268 2009-12-07 15:13:46 +00:00
Igor Sysoev
6cfcef3cbf remove stale comment 2009-12-02 13:03:54 +00:00
Igor Sysoev
3bc08a51c7 bump version 2009-12-02 13:02:43 +00:00
Igor Sysoev
a734e33720 chmod unix listen domain socket to 0666 2009-11-30 11:26:24 +00:00
Igor Sysoev
f215028477 bump version 2009-11-25 17:04:00 +00:00
Igor Sysoev
72db760eca add NGX_PROCESS_HELPER process status 2009-11-23 15:46:21 +00:00
Igor Sysoev
0bd426def1 bump version 2009-11-23 13:09:33 +00:00
Igor Sysoev
69061b73ef fix pcre allocation on Win32, the bug had been introduced in r3326 2009-11-17 10:24:45 +00:00
Igor Sysoev
25622c2f92 bump version 2009-11-17 09:59:45 +00:00
Igor Sysoev
57acd7b421 bump version 2009-11-16 16:00:12 +00:00
Igor Sysoev
a4a0541308 align to minimum of a page and a pool sizes 2009-11-16 12:50:10 +00:00
Igor Sysoev
104ff87c39 ngx_min() 2009-11-16 12:48:41 +00:00
Igor Sysoev
ece77cd5be large allocation should not be aligned to a page size 2009-11-16 12:47:44 +00:00
Igor Sysoev
c05f20ec2e regex named captures 2009-11-16 12:19:02 +00:00
Igor Sysoev
950fb268a2 ngx_regex_exec() calling optimiztion:
*) change NGX_REGEX_NO_MATCHED to PCRE_ERROR_NOMATCH
*) declare ngx_regex_exec() as #define
*) optimize SSI regex a little
2009-11-13 20:41:41 +00:00
Igor Sysoev
f4992bbe14 bump version 2009-11-11 21:06:36 +00:00
Igor Sysoev
653edd491b use ngx_resolver_alloc() instead of ngx_resolver_calloc()
since all fields are filled
2009-11-11 14:29:20 +00:00
Igor Sysoev
e79f429b4b fix resolving an empty name (".") 2009-11-11 14:27:24 +00:00
Igor Sysoev
a993d55b0f bump version 2009-11-11 12:30:36 +00:00
Igor Sysoev
a59ba33060 *) fix resolving an empty name ("."),
*) add quotes in an error message,
*) backout r3299 in ngx_mail_smtp_handler.c
2009-11-09 19:15:11 +00:00
Igor Sysoev
70966c154f fix "PTR ." case in address resolver 2009-11-09 18:04:05 +00:00
Igor Sysoev
64bfa87e73 fix segfault in resolver:
ngx_resolve_name_done() and ngx_resolve_addr_done() did not delete
contexts from a resolver node waiting list.
2009-11-09 17:45:56 +00:00
Igor Sysoev
21accae8e5 cf->conf_file->file.name.data may be uninitialized, if an allocation failed;
found by Clang Static Analyzer
2009-11-05 17:10:48 +00:00
Igor Sysoev
bcc44e2549 allow to inherit unix domain sockets while online upgrade 2009-11-04 18:36:43 +00:00
Igor Sysoev
822503ea41 bump version 2009-11-04 11:20:54 +00:00
Igor Sysoev
4ac5ca8ae0 ngx_ptocidr() supports IPv6 2009-11-03 13:42:25 +00:00
Igor Sysoev
fd078fd6d5 make ngx_inet6_ntop() non-static 2009-11-03 12:44:55 +00:00
Igor Sysoev
612ecb7674 optimize some cycles:
*) delete surplus variable;
*) on i386/amd64 "while (n) / n--" is smaller than "while (n--)",
   because the platforms have no postfix operations
2009-11-02 17:12:09 +00:00
Igor Sysoev
8b816d88a9 change ngx_parse_addr() interface 2009-11-02 16:11:06 +00:00
Igor Sysoev
1d52beba73 ngx_parse_addr() 2009-11-02 15:20:42 +00:00
Igor Sysoev
0c189c5159 rename ngx_peer_addr_t to ngx_addr_t 2009-11-02 15:14:17 +00:00
Igor Sysoev
67765e8918 use sin6_addr.s6_addr instead of "(u_char *) & .sin6_addr" 2009-11-02 14:32:46 +00:00
Igor Sysoev
0f25ed3d77 replace inet_addr() with ngx_inet_addr() 2009-11-02 13:51:10 +00:00
Igor Sysoev
47c88464eb use ngx_inet6_addr() 2009-11-02 12:58:30 +00:00
Igor Sysoev
5a76cbbbc6 ngx_inet6_addr() 2009-11-02 12:50:00 +00:00
Igor Sysoev
19811dbdde style fix 2009-11-02 12:41:56 +00:00
Igor Sysoev
61490aa6b6 delete unused field c->local_socklen 2009-11-01 19:29:49 +00:00
Igor Sysoev
9f179fe546 do not unlink unix domain socket file while online upgrade 2009-10-30 19:18:21 +00:00
Igor Sysoev
633c178a17 unlink unix domain socket file after testing 2009-10-30 19:16:50 +00:00
Igor Sysoev
b3586d13da bump version 2009-10-28 10:31:06 +00:00
Igor Sysoev
8ffea50797 fix r3211 2009-10-26 12:00:37 +00:00
Igor Sysoev
baf8e409ba http listen unix domain sockets 2009-10-26 11:43:32 +00:00
Igor Sysoev
42b72993c5 use lowcase only hostname 2009-10-21 17:04:13 +00:00
Igor Sysoev
a1e36777f4 add SNI support in -V output 2009-10-19 12:35:01 +00:00
Igor Sysoev
6a588f80c6 bump version 2009-10-15 13:01:42 +00:00
Igor Sysoev
3f438068eb ignore EACCES errors for top level directories in ngx_create_full_path() 2009-10-14 11:46:09 +00:00
Igor Sysoev
d0188e09af do not create Win32 drive letter in ngx_create_full_path() 2009-10-14 11:36:16 +00:00
Igor Sysoev
e7138540d6 nginx did not close log file set by --error-log-path,
the bug was introduced in r2744
2009-10-09 14:43:09 +00:00
Igor Sysoev
9e54633645 bump version 2009-10-07 12:48:05 +00:00
Igor Sysoev
280d6955e3 bump version 2009-10-06 13:52:26 +00:00
Igor Sysoev
3266171fd4 read_ahead 2009-09-30 13:21:52 +00:00
Igor Sysoev
687b0e99ea Linux/SPARC malloc() returns an address aligned to 8. This conflicts with
our SPARC 16-byte alignment and some allocations may be done out of pool.
ngx_memalign(ngx_pagesize) fixes this issue.
2009-09-30 12:56:44 +00:00
Igor Sysoev
0056d6b4aa bump version 2009-09-28 15:56:28 +00:00
Igor Sysoev
48a28e2dad uniform ngx_directio_on/off() interface with other file functions 2009-09-25 14:17:28 +00:00
Igor Sysoev
e5b2d3c6b2 low default connection errors level from alert to error 2009-09-23 15:28:33 +00:00
Igor Sysoev
3749443661 bump version 2009-09-23 15:27:17 +00:00
Igor Sysoev
81fed299ce fail if file size was changed 2009-09-22 09:44:57 +00:00
Igor Sysoev
a8d3d2204f fix resolver cache rbtree comparison 2009-09-19 16:15:13 +00:00
Igor Sysoev
15c149e499 restore environ, this fixes segfault on reconfiguration failure when
perl module creates new environment
2009-09-18 09:21:14 +00:00
Igor Sysoev
2d95c3f210 fix comment 2009-09-18 09:12:40 +00:00
Igor Sysoev
99651523de fix memory leak in resolver 2009-09-16 13:48:11 +00:00
Igor Sysoev
e6823b5199 bump version 2009-09-15 09:36:09 +00:00
Igor Sysoev
84b20ca18b fix case when the output filter should add incoming buffers
while waiting on file AIO completion
2009-09-13 06:28:17 +00:00
Igor Sysoev
570608ff4a style fix 2009-09-13 06:25:54 +00:00
Igor Sysoev
96e36ef252 If .domain.com, .sub.domain.com, and .domain-some.com were defined,
then .sub.domain.com was matched by .domain.com: wildcard names hash
was built incorrectly due to sorting order issue of "." vs "-".
They were sorted as
    com.domain  com.domain-some  com.domain.sub
while they should be sorted as
    com.domain  com.domain.sub   com.domain-some
for correct hash building
2009-09-12 09:28:37 +00:00
Igor Sysoev
e0f1d0afcc style fix 2009-09-11 13:57:50 +00:00
Igor Sysoev
d0afc39841 bump version 2009-09-07 12:08:58 +00:00
Igor Sysoev
f13a2507ae bump version 2009-09-01 12:07:00 +00:00
Igor Sysoev
c76ba2b2c5 bump version 2009-08-31 13:50:37 +00:00
Igor Sysoev
bfff03406d aio sendfile 2009-08-30 09:52:39 +00:00
Igor Sysoev
cfb6888d87 bump version 2009-08-29 18:39:32 +00:00
Igor Sysoev
6ef7e772a9 fix build by msvc, introduced in r3054 2009-08-28 11:46:12 +00:00
Igor Sysoev
6fb506a215 directio_alignment 2009-08-28 08:15:55 +00:00
Igor Sysoev
a962506498 FreeBSD and Linux AIO support 2009-08-28 08:12:35 +00:00
Igor Sysoev
9262c6138e fix typo 2009-08-26 15:03:53 +00:00
Igor Sysoev
79fb302daf bump version 2009-08-25 08:47:58 +00:00
Igor Sysoev
f4f7d5e5f4 the flags should be bit-wide only 2009-08-23 12:58:41 +00:00
Igor Sysoev
3a58935936 *) share temporary number between workers
*) randomize collision offset
2009-08-21 09:06:35 +00:00
Igor Sysoev
f95847d0ba test EXDEV after path creation 2009-08-20 15:53:57 +00:00
Igor Sysoev
0ddc1978ee fix copy failure logging and stale files removal, introduced in r3025 2009-08-20 13:41:32 +00:00
Igor Sysoev
9db33c9234 fix copy destination name length, introduced in r3025 2009-08-20 13:37:26 +00:00
Igor Sysoev
42e49ba1ef bump version 2009-08-19 09:09:12 +00:00
Igor Sysoev
aa4bba5298 fix building on 64-bit platforms, introduced in r3025 2009-08-13 13:48:41 +00:00
Igor Sysoev
b7a09c5523 allow cross device temporary files atomic copying:
*) ngx_copy_file()
*) delete ngx_ext_rename_file_t.log_rename_error and .rename_error fields
2009-08-12 12:05:33 +00:00
Igor Sysoev
c9538c069f NGX_ENOPATH 2009-08-11 14:25:04 +00:00
Igor Sysoev
4413fad0db cache loader process 2009-08-10 13:27:14 +00:00
Igor Sysoev
fe8726404c bump version 2009-08-10 12:49:06 +00:00
Igor Sysoev
5fab282698 bump version 2009-07-31 12:41:02 +00:00
Igor Sysoev
193f9f3b14 bump version 2009-07-20 11:43:15 +00:00
Igor Sysoev
1d03cd6676 bump version 2009-07-14 08:18:38 +00:00
Igor Sysoev
f8f9fc2f1a bump version 2009-07-09 13:20:51 +00:00
Igor Sysoev
7ae6e18c84 bump version 2009-06-22 08:59:48 +00:00
Igor Sysoev
dfd4e0a303 bump version 2009-06-15 14:22:20 +00:00
Igor Sysoev
282109b563 initialize use_event field in open file cache
the bug had been introduced in r2071
2009-06-12 14:23:29 +00:00
Igor Sysoev
ec7903b6f2 bump version 2009-06-10 11:46:34 +00:00
Igor Sysoev
2d65078eff update r2925 2009-06-07 18:22:58 +00:00
Igor Sysoev
366bf71b82 win32 master process had aready closed listening sockets 2009-06-06 12:53:55 +00:00
Igor Sysoev
165aa39230 a signaller process should stop configuration processing just after
it is able to get pid file, this allows to not open log files, etc.
2009-06-06 12:41:31 +00:00
Igor Sysoev
7f9305cc2c do not test a pool block space if we can not allocated from the block 4 times 2009-06-05 13:27:12 +00:00
Igor Sysoev
8e5f0acbc2 change surplus for() to while() 2009-06-05 12:33:49 +00:00
Igor Sysoev
5a2898f2b4 try to reuse last 4 free large allocation links
this fixes a pool growing for multi-requests keepalive connections
2009-06-03 13:57:28 +00:00
Igor Sysoev
05ff657234 bump version 2009-06-03 04:51:52 +00:00
Igor Sysoev
260c4321d7 return NULL instead of NGX_CONF_ERROR on a create conf failure 2009-06-02 16:09:44 +00:00
Igor Sysoev
3e64702807 leave chain in consistent state on errors 2009-06-02 16:07:13 +00:00
Igor Sysoev
f0a827adcb add drive letter for Win32 root path 2009-06-02 14:00:01 +00:00
Igor Sysoev
a119584e66 test that zone has the same addresses in different processes 2009-06-02 13:57:59 +00:00
Igor Sysoev
21c2cf88c1 fix XSLT filter in SSI subrequests 2009-05-28 15:42:27 +00:00
Igor Sysoev
65105aaae3 Win32 returns ERROR_PATH_NOT_FOUND instead of ERROR_FILE_NOT_FOUND 2009-05-28 15:32:22 +00:00
Igor Sysoev
e959128b4a keepalive_requests 2009-05-25 15:38:36 +00:00
Igor Sysoev
6ba4df71b2 bump version 2009-05-25 15:24:20 +00:00
Igor Sysoev
6091c8c33e bump version 2009-05-18 16:48:53 +00:00
Igor Sysoev
739e29b651 delete unneeded field 2009-05-18 12:21:00 +00:00
Igor Sysoev
c985ee7a61 ngx_connection_local_sockaddr() 2009-05-18 12:12:06 +00:00
Igor Sysoev
731e6a9b11 style fix 2009-05-14 16:24:39 +00:00
Igor Sysoev
bba78036c8 bump version 2009-05-12 13:11:39 +00:00
Igor Sysoev
ec9f47175e bump version 2009-05-11 17:47:06 +00:00
Igor Sysoev
dbc205ab5a IPv6 for Win32 2009-05-07 13:05:04 +00:00
Igor Sysoev
3182d6a9d0 bump version 2009-05-06 14:11:03 +00:00
Igor Sysoev
ee4be0345f ngx_create_listening() 2009-05-05 17:33:26 +00:00
Igor Sysoev
d4a71fb844 move listen log copying from ngx_open_listening_sockets()
to ngx_configure_listening_sockets(), otherwise listen socket logs have no file
after first reload and this caused segfault if debug_connection was used;
the bug has been introduced in r2786
2009-05-05 13:16:29 +00:00
Igor Sysoev
00bd137064 use correct name 2009-05-05 13:12:59 +00:00
Igor Sysoev
682414f352 use local variable 2009-05-05 13:05:42 +00:00
Igor Sysoev
a8da6c2ae6 delete never used ngx_ssl_set_nosendshut() 2009-05-04 19:51:32 +00:00
Igor Sysoev
6efa56fe7f delete ngx_listening_inet_stream_socket() 2009-05-04 19:51:09 +00:00
Igor Sysoev
e7d99eff2c bump version 2009-05-01 19:13:37 +00:00
Igor Sysoev
0cd76ea290 *) refactor error_log processing: listen socket log might inherit built-in
error_log with zero level, and r2447, r2466, r2467 were not enough
*) remove bogus "stderr" level
*) some functions and fields renames
2009-04-30 13:53:42 +00:00
Igor Sysoev
5461f39381 set of.failed for cached error, the bug has been introduced in r2757 2009-04-30 08:01:50 +00:00
Igor Sysoev
ef919756d9 uniform ngx_file_info() interface with ngx_fd_info() 2009-04-29 19:28:52 +00:00
Igor Sysoev
a70d086812 fix the previous commit 2009-04-29 13:07:16 +00:00
Igor Sysoev
dcc9205a39 Winsock uses ECONNABORTED instead of ECONNRESET 2009-04-29 11:34:58 +00:00
Igor Sysoev
341b8f67b9 fix building by BCC if NGX_PREFIX is defined 2009-04-29 11:32:58 +00:00
Igor Sysoev
ca6a9e0fdc *) do not show line number for -g option
*) reset configuration file after -g option has been parsed
2009-04-28 20:06:03 +00:00
Igor Sysoev
9d4a8d9111 introduce ngx_write_console() to support OEM code pages 2009-04-28 15:05:27 +00:00
Igor Sysoev
2cc2893bc1 add prefix in Usage 2009-04-28 04:34:27 +00:00
Igor Sysoev
f67e0a4050 ngx_log_errno() 2009-04-27 13:17:33 +00:00
Igor Sysoev
e1c9746e37 use ngx_vslprintf(), ngx_slprintf() 2009-04-27 13:06:20 +00:00
Igor Sysoev
4e1fe03e03 ngx_vslprintf(), ngx_slprintf() 2009-04-27 12:51:33 +00:00
Igor Sysoev
8ec9a72295 bump version 2009-04-27 12:48:38 +00:00
Igor Sysoev
5ef370df40 -p and --prefix= 2009-04-27 11:32:33 +00:00
Igor Sysoev
f1cc457d7f *) of.test_only to not open file if only stat() is enough
*) of.failed to return exact name of failed syscall
2009-04-27 09:55:53 +00:00
Igor Sysoev
0e60e4f73a add quotes for configure options with spaces 2009-04-26 19:37:38 +00:00
Igor Sysoev
c27497da92 change ngx_log_abort() interface 2009-04-24 15:50:51 +00:00
Igor Sysoev
a3041ac931 style fix: (void) 2009-04-24 14:45:52 +00:00
Igor Sysoev
c134eb058d change ngx_log_create_errlog() interface 2009-04-24 14:27:36 +00:00
Igor Sysoev
caf17102e8 pass command lines options to workers 2009-04-23 18:22:28 +00:00
Igor Sysoev
c28ff717cb issue start up errors and warning on both stderr and error_log 2009-04-23 11:13:12 +00:00
Igor Sysoev
ae2f2b105a style fix: remove trailing spaces introduced in the previous commit 2009-04-23 09:46:14 +00:00
Igor Sysoev
eeed2e9b21 use ngx_str_t for error levels 2009-04-23 08:05:54 +00:00
Igor Sysoev
c8e9f26a57 implement "-s signal" option for Unix 2009-04-21 20:25:49 +00:00
Igor Sysoev
80ce3d4dd1 style fix: remove trailing spaces 2009-04-21 19:49:48 +00:00
Igor Sysoev
dc5ad52761 style fix: remove tabs 2009-04-21 19:38:02 +00:00
Igor Sysoev
59c393f393 add -? and -h options 2009-04-21 16:21:58 +00:00
Igor Sysoev
b77808cee0 allow condensed command lines options 2009-04-21 15:42:15 +00:00
Igor Sysoev
19a0e6e32e fix r2731 for Win32 2009-04-21 15:40:40 +00:00
Igor Sysoev
f873e73b96 test command line options before ngx_log_init() and issue errors to stderr 2009-04-21 13:39:47 +00:00
Igor Sysoev
2f7f95381d bump version 2009-04-20 13:29:38 +00:00
Igor Sysoev
bd91999ea5 Win32 master/workers model 2009-04-20 06:08:47 +00:00
Igor Sysoev
1153aa6465 show -t results on stderr 2009-04-19 16:06:09 +00:00
Igor Sysoev
f7a08d5f9a support attaching to an existent Win32 shared memory 2009-04-18 19:27:28 +00:00
Igor Sysoev
61b7791486 fix building on platforms which have no atomic operations support,
the bug was introduced in r2564
2009-04-17 19:11:31 +00:00
Igor Sysoev
b072c3d647 fix the previous commit 2009-04-17 19:09:08 +00:00
Igor Sysoev
c7f876bd4c move zone name from ngx_shm_zone_t to ngx_shm_t to use Win32 shared memory 2009-04-16 19:25:09 +00:00
Igor Sysoev
5234b9c6a8 fix building by BCC without NGX_DEBUG_MALLOC 2009-04-15 19:44:41 +00:00
Igor Sysoev
57006fbb13 bump version 2009-04-15 06:25:02 +00:00
Igor Sysoev
b37316d7dd style fix 2009-04-08 19:51:30 +00:00
Igor Sysoev
a2de7b9b93 delete win32 ngx_file_append_mode() as we use reliable
FILE_APPEND_DATA|SYNCHRONIZE flags
2009-04-08 19:13:28 +00:00
Igor Sysoev
2ec2e35efe adopt NGX_FILE_TRUNCATE for win32 2009-04-08 19:03:41 +00:00
Igor Sysoev
4f1192651d bump version 2009-04-06 13:42:56 +00:00
Igor Sysoev
d5ba36fdad backout r2677 and fix ngx_strlcasestrn() again 2009-04-06 11:42:42 +00:00
Igor Sysoev
8d9e4c847d bump version 2009-04-06 11:39:01 +00:00
Igor Sysoev
f3aed53c9d fix ngx_strlcasestrn() 2009-04-06 10:38:40 +00:00
Igor Sysoev
e94b22b143 bump version 2009-04-06 10:37:53 +00:00
Igor Sysoev
a514d68bfb ngx_strlcasestrn() 2009-04-04 17:31:54 +00:00
Igor Sysoev
508b1b5dfb bump version 2009-04-02 13:44:02 +00:00
Igor Sysoev
24c2787163 Win32 appends synchronized if only FILE_APPEND_DATA and SYNCHRONIZE are set
without any other flags. On the other hand, Unix requires at least the write
flag to be set together with O_APPEND.
2009-03-31 13:52:01 +00:00
Igor Sysoev
fadc7a7e81 win32 ngx_open_file() supports utf8 names and NGX_FILE_APPEND 2009-03-30 14:51:51 +00:00
Igor Sysoev
0370ff015e bump version 2009-03-30 12:09:52 +00:00
Igor Sysoev
4aedcc5f4d bump version 2009-03-30 11:00:58 +00:00
Igor Sysoev
5fe3fb56e8 nginx_version 2009-03-30 07:48:53 +00:00
Igor Sysoev
19298ec1d3 introduce cache manager instead of cache cleaner 2009-03-30 07:45:55 +00:00
Igor Sysoev
7c6c186a7e update cpuid for Core 2 and Atom 2009-03-28 12:43:41 +00:00
Igor Sysoev
a2c8d9a0a8 improve ngx_slab_alloc() error logging 2009-03-27 17:00:42 +00:00
Igor Sysoev
04fe40023a delete old debugging and info 2009-03-27 16:37:39 +00:00
Igor Sysoev
565e1e436a bump version 2009-03-23 15:56:46 +00:00
Igor Sysoev
52859f2f13 a prelimiary proxy cache support 2009-03-23 13:14:51 +00:00
Igor Sysoev
61818c47af bump version 2009-03-18 14:40:21 +00:00
Igor Sysoev
8f13bccab4 bump version 2009-03-16 11:07:29 +00:00
Igor Sysoev
da0a5318f1 compatibility with Tru64 UNIX: fcntl(F_SETLK, F_WRLCK) returns EINVAL if busy 2009-03-13 14:53:30 +00:00
Igor Sysoev
6d94b51f0b ipv6only 2009-03-13 14:20:34 +00:00
Igor Sysoev
0bd7b00eb7 ignore EINVAL from setsockopt() on Solaris 2009-03-12 07:16:15 +00:00
Igor Sysoev
d9307664db bump version 2009-03-12 07:12:25 +00:00
Igor Sysoev
da404fcfe5 bump version 2009-03-11 12:57:26 +00:00
Igor Sysoev
72cdf92a91 bump version 2009-03-05 08:22:45 +00:00
Igor Sysoev
d7b3b48f0e fix the previous commit 2009-02-24 14:25:24 +00:00
Igor Sysoev
36860101ec prepare ngx_ptocidr() for IPv6 2009-02-24 14:01:40 +00:00
Igor Sysoev
1f4220ee86 small optimization: " == NGX_ERROR" > " != NGX_OK" 2009-02-24 10:42:23 +00:00
Igor Sysoev
b5a17c727c bump version 2009-02-23 21:02:18 +00:00
Igor Sysoev
8e1aa8ee9c fix NGX_SOCKADDRLEN, introduced in r2513 2009-02-21 15:13:13 +00:00
Igor Sysoev
55a7aad835 bump version 2009-02-21 14:55:58 +00:00
Igor Sysoev
2bc44ea01a fix upstream port, introduced in r2513 2009-02-21 14:34:32 +00:00
Igor Sysoev
5e988a4ec6 bump version 2009-02-21 09:44:57 +00:00
Igor Sysoev
a35eaccdec a prelimiary IPv6 support, HTTP listen 2009-02-21 07:02:02 +00:00
Igor Sysoev
643607bb13 bump version 2009-02-16 14:55:10 +00:00
Igor Sysoev
134d1a67c5 fix r2169 for .def.com and .abc.def.com case 2009-02-11 12:33:13 +00:00
Igor Sysoev
540ce1957f bump version 2009-02-11 10:23:06 +00:00
Igor Sysoev
f3d540a022 bump version 2009-02-05 15:47:12 +00:00
Igor Sysoev
9a5f4c74cf fix building by msvc, introduced in r2487 2009-02-02 10:17:06 +00:00
Igor Sysoev
8ef386e1af fix return code, this fixes segfault when two or more
simultaneous connections are resolving the same address
2009-01-31 20:33:01 +00:00
Igor Sysoev
2c01fd32f2 use length of uncompressed name 2009-01-30 11:56:45 +00:00
Igor Sysoev
9258872c2a store name pointer in variable allocated on stack
as resolver ctx may be already deallocated at this point
2009-01-29 14:35:23 +00:00
Igor Sysoev
fa748fe120 free addrs only it has been allocated before: non single address 2009-01-29 14:32:58 +00:00
Igor Sysoev
8629b9b27e fix reverse resolving cache: it stored zero length names
*) free name only if it has been already allocated
*) store name length
2009-01-29 14:29:49 +00:00
Igor Sysoev
6c5c793403 bump version 2009-01-26 17:01:27 +00:00
Igor Sysoev
9aa30bc51e revert the previous commit and r2447 change in src/core/ngx_cycle.c 2009-01-26 14:31:49 +00:00
Igor Sysoev
71f729c78c default error_log has zero level, the bug has been introduced in r2447 2009-01-26 14:11:09 +00:00
Igor Sysoev
4b2844b8a0 fix slab page or more sized allocations if nginx was build without debug 2009-01-25 10:39:59 +00:00
Igor Sysoev
467f437e27 test ngx_file_info() result, the bug has been introduced in r2070 2009-01-21 15:50:52 +00:00
Igor Sysoev
f39bca4281 bump version 2009-01-19 16:37:22 +00:00
Igor Sysoev
91cf00da17 set the error level as default http error_log level 2009-01-16 14:00:05 +00:00
Igor Sysoev
19961d20ce style fix 2009-01-12 15:36:30 +00:00
Igor Sysoev
07fc16cf31 bump version 2008-12-25 20:06:26 +00:00
Igor Sysoev
503c075122 bump version 2008-12-24 15:54:21 +00:00
Igor Sysoev
2a7ce7b878 bump version 2008-12-22 15:40:12 +00:00
Igor Sysoev
ed9b6d8962 remove never used zero copy stuff 2008-12-17 20:47:18 +00:00
Igor Sysoev
7505928d9f bump version 2008-12-16 16:12:31 +00:00
Igor Sysoev
524f54f56d use ngx_ext_rename_file() for single file MOVE 2008-12-10 14:53:45 +00:00
Igor Sysoev
a70d3962bb compact win32 errno logging 2008-12-09 17:41:17 +00:00
Igor Sysoev
d30d8a3931 bump version 2008-12-09 11:13:12 +00:00
Igor Sysoev
17b5953e71 bump version 2008-12-08 17:59:43 +00:00
Igor Sysoev
0e32306bab fix comment 2008-12-02 16:50:56 +00:00
Igor Sysoev
14ecd8ab01 bump version 2008-12-02 14:59:14 +00:00
Igor Sysoev
5a214b96e2 bump version 2008-11-28 17:22:06 +00:00
Igor Sysoev
8ab0867644 allocate cf->conf_file and cf->conf_file->buffer on stack 2008-11-25 15:55:10 +00:00
Igor Sysoev
2a523f1c71 fix segfault on close error 2008-11-25 14:45:44 +00:00
Igor Sysoev
65eba4b692 ngx_reset_pool() 2008-11-25 14:25:20 +00:00
Igor Sysoev
ecbb69ad7f *) increase ngx_conf_log_error() buffer
*) always log an error code
2008-11-25 13:00:53 +00:00
Igor Sysoev
1575d12bd7 bump version 2008-11-22 20:38:45 +00:00
Igor Sysoev
7f3c048e21 allow directio on XFS 2008-11-20 16:21:39 +00:00
Igor Sysoev
b3ac4fb27c fix compression pointer for big (>255) DNS responses 2008-11-17 08:04:41 +00:00
Igor Sysoev
038a9201e6 bump version 2008-11-12 10:48:27 +00:00
Igor Sysoev
f2884e194a compatibility with glibc 2.3, warn_unused_result attribute for write() 2008-11-11 16:17:45 +00:00
Igor Sysoev
ead8091746 style fix: remove trailing spaces 2008-11-11 16:04:05 +00:00
Igor Sysoev
bc70b323d3 bump version 2008-11-10 18:34:24 +00:00
Igor Sysoev
74b7e5fadd %f format 2008-11-10 15:20:59 +00:00
Igor Sysoev
8329a5bc34 align first allocation from additional pool block, this fixes bus error on sun4v 2008-11-06 16:14:24 +00:00
Igor Sysoev
164abfb26f fix case proxy_pass URL is evaluted to http://host?args 2008-10-24 19:34:24 +00:00
Igor Sysoev
c239da5055 fix case when URL has no port, but has ":" in URI part,
the bug has been introduced in r2204
2008-10-24 15:12:11 +00:00
Igor Sysoev
571a5e1512 show name for a FORMERR DNS response 2008-10-24 14:38:09 +00:00
Igor Sysoev
1c2bb210c1 FORMERR DNS response may be equal to mininal query size 2008-10-24 14:34:10 +00:00
Igor Sysoev
ad1e123bfa NGX_OPEN_FILE_DIRECTIO_OFF 2008-10-16 13:31:00 +00:00
Igor Sysoev
84ab8f2bc8 bump version 2008-10-16 13:20:47 +00:00
Igor Sysoev
df2e1a56d0 bump version 2008-10-13 13:23:18 +00:00
Igor Sysoev
e17cc987d3 dynamic accept threshold 2008-09-19 12:47:13 +00:00
Igor Sysoev
c9ff5b6dff fix grammar 2008-09-17 08:03:58 +00:00
Igor Sysoev
f8403702ba bump version 2008-09-15 17:10:23 +00:00
Igor Sysoev
fae2c00d02 disable directio for unaligned reads in Linux 2008-09-12 13:50:12 +00:00
Igor Sysoev
77cdae1814 cache directio flag in open file cache 2008-09-12 13:39:51 +00:00
Igor Sysoev
d0df295655 add filename to the log message 2008-09-11 15:52:11 +00:00
Igor Sysoev
44b1a12750 bump version 2008-09-08 09:49:22 +00:00
Igor Sysoev
a19c7b5ad6 fix building on 64-bit platforms, introduced in r2232 2008-09-08 09:33:37 +00:00
Igor Sysoev
196f952551 bump version 2008-09-08 08:47:00 +00:00
Igor Sysoev
dfc8dadd04 *) autoconfigure struct dirent capabilities
*) move src/os/.../ngx_types.h's content into src/os/.../ngx_files.h and
   delete src/os/.../ngx_types.h
2008-09-05 15:43:34 +00:00
Igor Sysoev
5d4e80b8fb remove unused #include's 2008-09-05 15:25:47 +00:00
Igor Sysoev
8633e1fa06 *) handle unaligned file part for directio
*) disable sendfile in directio mode
2008-09-05 14:48:47 +00:00
Igor Sysoev
98007c1761 split ngx_output_chain() 2008-09-03 10:01:29 +00:00
Igor Sysoev
3b63d7cbb3 bump version 2008-09-01 15:44:57 +00:00
Igor Sysoev
cf0c445a14 fix building by msvc introduced in r2223 2008-09-01 15:17:54 +00:00
Igor Sysoev
63c78f3c34 test conf file size, this fixes OpenBSD's "nginx -c /tmp/" bug 2008-09-01 13:59:11 +00:00
Igor Sysoev
f4423eb7b5 use ngx_pmemalign() to allocate radix pages 2008-09-01 13:52:55 +00:00
Igor Sysoev
fcb5a705dd ngx_timezone_update() 2008-08-30 19:52:07 +00:00
Igor Sysoev
c48f49f837 quoted too long parameter error 2008-08-27 12:19:07 +00:00
Igor Sysoev
6d09950cd8 too long parameter error 2008-08-26 21:10:20 +00:00
Igor Sysoev
a1bccd199e remove never used macro 2008-08-26 21:05:59 +00:00
Igor Sysoev
a6e337fdef fix types 2008-08-26 21:04:06 +00:00
Igor Sysoev
b0f1db1010 bump version 2008-08-26 17:23:27 +00:00
Igor Sysoev
e56cc8e503 bump version 2008-08-26 16:23:14 +00:00
Igor Sysoev
d3bf7c1cd5 fix bugs introduced in r2204 2008-08-26 16:11:30 +00:00
Igor Sysoev
c9491d113c *) refactor ngx_parse_inet_url()
*) refactor ngx_parse_unix_domain_url()
*) delete unused ngx_url_t fields
2008-08-26 14:24:14 +00:00
Igor Sysoev
9c388c0a7f *) refactor ngx_ptocidr()
*) allow address without bitmask
*) thus now ngx_http_geo_module accepts addresses without bitmask
2008-08-26 14:19:37 +00:00
Igor Sysoev
caa4a45c0f ngx_strlchr() 2008-08-26 14:16:36 +00:00
Igor Sysoev
154013c5f3 split ngx_parse_url() 2008-08-22 13:36:56 +00:00
Igor Sysoev
c5849a6381 ngx_sock_ntop() takes family from sockaddr, remove duplicate field 2008-08-21 19:24:07 +00:00
Igor Sysoev
6a75019ad6 *) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop()
   as they are called just once per connection
*) NGX_INET_ADDRSTRLEN
2008-08-21 18:47:23 +00:00
Igor Sysoev
b29426deb8 server_name "" support 2008-08-21 12:56:10 +00:00
Igor Sysoev
1de8bb5bd6 bump version 2008-08-18 14:29:57 +00:00
Igor Sysoev
b17e33293a fix log message 2008-08-15 20:14:49 +00:00
Igor Sysoev
6f39513828 bump version 2008-08-13 16:59:16 +00:00
Igor Sysoev
85aebb0077 bump version 2008-08-12 15:46:34 +00:00
Igor Sysoev
1c7d449fa8 fix the case when unset domain.tld was matched by *.domain.tld 2008-08-12 15:28:19 +00:00
Igor Sysoev
c271775902 ngx_next_time() 2008-08-11 15:28:15 +00:00
Igor Sysoev
2278ea09b6 update debug logging 2008-08-05 15:19:21 +00:00
Igor Sysoev
ca824f3cfa update debug logging 2008-08-04 21:51:36 +00:00
Igor Sysoev
40db7a19b1 bump version 2008-08-04 16:45:52 +00:00
Igor Sysoev
6a07833d47 ngx_hash_strlow() 2008-08-04 10:18:36 +00:00
Igor Sysoev
777b019c73 ngx_strlow() 2008-08-04 10:07:00 +00:00
Igor Sysoev
e513a89220 bump version 2008-07-30 13:38:49 +00:00
Igor Sysoev
385af28642 directio 2008-07-30 12:34:04 +00:00
Igor Sysoev
7494490978 *) move Darwin support to separate files
*) Darwin sendfile() support
2008-07-30 12:18:07 +00:00
Igor Sysoev
a089857143 rename ngx_utf_...() to ngx_utf8_...() 2008-07-29 14:41:34 +00:00
Igor Sysoev
96eaa05fd2 fix utf-8 names in autoindex 2008-07-25 14:29:05 +00:00
Igor Sysoev
82911ceb0c bump version 2008-07-07 12:19:57 +00:00
Igor Sysoev
0ac3516a02 bump version 2008-07-01 07:38:28 +00:00
Igor Sysoev
4cb276ae21 bump version 2008-06-30 12:46:40 +00:00
Igor Sysoev
b4fbdcf5d4 -g switch 2008-06-30 12:35:16 +00:00
Igor Sysoev
b882154636 variables in access_log 2008-06-30 12:27:24 +00:00
Igor Sysoev
c3584fec61 fix comment 2008-06-30 12:12:16 +00:00
Igor Sysoev
bf93476272 fix the previous commit 2008-06-30 12:11:47 +00:00
Igor Sysoev
d6711d37c3 use ngx_file_info() and test uniq if file is already open 2008-06-26 16:10:13 +00:00
Igor Sysoev
eb03ea7458 refactor obscure code 2008-06-25 14:56:14 +00:00
Igor Sysoev
3e6f74da05 initialize of.uniq in ngx_open_cached_file() 2008-06-23 13:35:34 +00:00
Igor Sysoev
96a1ea9d22 bump version 2008-06-23 10:50:18 +00:00
Igor Sysoev
3cc03616e9 fix max size allocated from pool 2008-06-21 06:40:32 +00:00
Igor Sysoev
11864a706a fix the previous commit 2008-06-20 21:06:53 +00:00
Igor Sysoev
5a4c61658b small optimization 2008-06-20 20:57:40 +00:00
Igor Sysoev
7f6b2ffc60 *) back out r2040
*) refactor ngx_palloc()
*) introduce ngx_pnalloc()
*) additional pool blocks have smaller header
2008-06-17 15:00:30 +00:00
Igor Sysoev
c2eb2cf4cb bump version 2008-06-16 09:11:12 +00:00
Igor Sysoev
2d951bfa41 *) add ngx_palloc_aligned() to allocate explicitlty aligned memory
*) allows non-aligned memory blocks for small allocations and for odd
   length strings on all platforms
*) use ngx_palloc_aligned()
2008-05-27 09:37:40 +00:00
Igor Sysoev
9b1fe56148 bump version 2008-05-26 09:54:17 +00:00
Igor Sysoev
5cdc511fcd new ngx_queue functions 2008-05-24 14:10:01 +00:00
Igor Sysoev
3b30476068 style fix 2008-05-22 12:09:41 +00:00
Igor Sysoev
f9d923e5fe bump version 2008-05-19 10:45:57 +00:00
Igor Sysoev
3be5257a4f $hostname variable 2008-05-16 14:39:06 +00:00
Igor Sysoev
5f3521cf4f escape 0x00-0x1f, ", and \ in access log variables 2008-05-15 15:09:39 +00:00
Igor Sysoev
433608c180 style fix: remove tabs and trailing spaces 2008-05-14 07:54:52 +00:00
Igor Sysoev
c11582a983 bump version 2008-05-12 10:08:28 +00:00
Igor Sysoev
a327841bff fix segfault when file is deleted and open_file_cache_errors is off 2008-04-29 18:15:23 +00:00
Igor Sysoev
ada9190ed8 back out the previous commit 2008-04-29 18:14:45 +00:00
Igor Sysoev
4de5124191 fix segfault when file is deleted and open_file_cache_errors is off 2008-04-29 14:39:15 +00:00
Igor Sysoev
1cd3b0c3db bump version 2008-04-29 12:44:47 +00:00
Igor Sysoev
a13b3b97ea ignore glob no match error 2008-04-29 09:28:42 +00:00
Igor Sysoev
f57b24e70f allow time without spaces in ngx_parse_time() 2008-04-17 14:23:20 +00:00
Igor Sysoev
2e39e289e1 change variable name 2008-04-16 19:33:23 +00:00
Igor Sysoev
4611ad3dea use more straightforward ngx_gmtime() implementation 2008-04-13 13:33:12 +00:00
Igor Sysoev
a8372d8a84 limit CNAME recursion 2008-04-12 07:29:20 +00:00
Igor Sysoev
7c5c1dccd6 use correct ngx_sprintf() formats 2008-04-10 17:27:07 +00:00
Igor Sysoev
4ad5be6f93 log unexpected qtype 2008-04-10 17:26:14 +00:00
Igor Sysoev
19540cd83e take into account DNAME 2008-04-10 17:12:21 +00:00
Igor Sysoev
693bf6db1e small optimization 2008-04-09 18:56:36 +00:00
Igor Sysoev
09b199cf77 return NXDOMAIN for ".." in host name 2008-04-09 14:45:39 +00:00
Igor Sysoev
949aea4dfe fix memory leak on resolver query send failure 2008-04-09 14:26:08 +00:00
Igor Sysoev
de8ec1efc8 use ngx_int_t in ngx_sort() callback 2008-03-24 13:04:02 +00:00
Igor Sysoev
8634118bc8 use dynamically allocated buffer in ngx_sort() 2008-03-23 19:58:54 +00:00
Igor Sysoev
37e0e6d863 axe never used macro 2008-03-20 07:31:51 +00:00
Igor Sysoev
51e966cedc bump version 2008-03-18 14:51:09 +00:00
Igor Sysoev
c732d8d1fe fix the previous commit 2008-03-13 13:00:40 +00:00
Igor Sysoev
3799f5cb41 fix case when errors are not cached,
and a file was not used often enough to keep open
and it has been removed before it was kept open
2008-03-13 12:59:25 +00:00
Igor Sysoev
732a34a137 axe useless code 2008-03-13 12:34:59 +00:00
Igor Sysoev
8227959668 bump version 2008-03-13 06:39:00 +00:00
Igor Sysoev
8ce6b25201 bump version 2008-03-12 13:37:29 +00:00
Igor Sysoev
a4d00f1c97 decrease log level of connection errors while closing socket 2008-03-05 21:21:26 +00:00
Igor Sysoev
be02468c6d fix previous commit 2008-03-04 10:47:34 +00:00
Igor Sysoev
dfd5511f7a use cf->cycle->new_log because at merge stage cf->pool->log is old log 2008-03-04 10:42:05 +00:00
Igor Sysoev
85d6a3e3db included file name must be allocated in pool,
because it may be used in error message later
2008-03-03 17:12:05 +00:00
Igor Sysoev
34cec29e0c C++ compatibility 2008-03-03 16:32:16 +00:00
Igor Sysoev
4491daef30 cleanup resolver 2008-02-28 20:38:34 +00:00
Igor Sysoev
7c4cf27aff fix memory leaks, use unlocked ngx_resolver_free() for seldom failed cases 2008-02-28 20:09:39 +00:00
Igor Sysoev
8ee01f5cb8 static ngx_resolver_calloc() 2008-02-28 15:34:53 +00:00
Igor Sysoev
2a6c4466ee bump version 2008-02-11 15:27:44 +00:00
Igor Sysoev
18be913cb6 fix r1879 2008-02-06 17:23:17 +00:00
Igor Sysoev
61adfb287f do not delete failed DNS request if there are waiting clients 2008-02-06 16:08:52 +00:00
Igor Sysoev
4d856ca763 fix segfault if UDP connect() has failed 2008-02-06 16:01:35 +00:00
Igor Sysoev
ac5deaa906 treat time_t as unsigned time 2008-01-31 15:14:31 +00:00
Igor Sysoev
48b7b9bd0e detect L2 cache line size for Intel Core 2008-01-29 07:06:18 +00:00
Igor Sysoev
442d1e63f2 fix cache line size for Pentium 4 2008-01-29 06:58:47 +00:00
Igor Sysoev
02d8e8e377 add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWN 2008-01-25 14:57:35 +00:00
Igor Sysoev
16315761db limit string length 2008-01-24 15:18:58 +00:00
Igor Sysoev
fb42465646 use correct type cast 2008-01-24 15:18:17 +00:00
Igor Sysoev
0bd32b7569 allow zero length in %*s 2008-01-22 15:13:01 +00:00
Igor Sysoev
f0453c1c0c fix building by bcc introduced by r1831 2008-01-22 15:09:55 +00:00
Igor Sysoev
1d73cf13f0 bump version 2008-01-08 13:05:18 +00:00
Igor Sysoev
0008ebe2a3 workaround for Linux 2.6 OpenVZ 2008-01-08 11:31:50 +00:00
Igor Sysoev
0272977afb change order 2008-01-04 11:54:55 +00:00
Igor Sysoev
3739151f5b add declaration missed in previous commit 2008-01-03 22:17:27 +00:00
Igor Sysoev
501fc74854 transform ngx_create_path_and_rename_file() to ngx_ext_rename_file() 2008-01-03 22:16:37 +00:00
Igor Sysoev
ce5d6e3237 bump version 2007-12-27 18:47:33 +00:00
Igor Sysoev
938d4993db bump version 2007-12-27 15:39:06 +00:00
Igor Sysoev
6b8a04ef44 ngx_regex_exec_array() 2007-12-27 13:15:08 +00:00
Igor Sysoev
421a3b800f several fixes:
*) do not add event if file was used less than min_uses
*) do not rely upon event to avoid race conditions
*) ngx_open_file_lookup()
2007-12-25 10:46:40 +00:00
Igor Sysoev
d02661a96b use %*s format 2007-12-24 17:05:31 +00:00
Igor Sysoev
79d9a042a2 %*s format 2007-12-24 17:05:16 +00:00
Igor Sysoev
f3b0e49069 open_file_cache_min_uses 2007-12-22 13:19:39 +00:00
Igor Sysoev
5e593aa34e take MALLOC_OPTIONS=J into account in slab allocator 2007-12-22 11:06:53 +00:00
Igor Sysoev
9b9616e5ac open_file_cache_retest > open_file_cache_valid 2007-12-21 16:19:48 +00:00
Igor Sysoev
f2d60afc7c fix the previous commit 2007-12-21 16:19:14 +00:00
Igor Sysoev
ff71b948b3 use ngx_queue.h 2007-12-21 15:33:15 +00:00
Igor Sysoev
374d224672 clean rbtree node for all removals 2007-12-21 15:32:51 +00:00
Igor Sysoev
2204d9f09d style fix 2007-12-21 15:24:59 +00:00
Igor Sysoev
ddc8cbd1ac embed sentinel 2007-12-20 21:29:52 +00:00
Igor Sysoev
afc57e0e5c bump version 2007-12-19 16:56:01 +00:00
Igor Sysoev
9461d6e09e comment ngx_walk_tree() 2007-12-18 18:04:37 +00:00
Igor Sysoev
00cbb8a16e ngx_create_hashed_filename() does not need ngx_file_t 2007-12-17 21:29:34 +00:00
Igor Sysoev
3b112b8c21 create the only cleanup 2007-12-17 21:23:05 +00:00
Igor Sysoev
719688a10d style fix: remove trailing spaces 2007-12-17 21:20:12 +00:00
Igor Sysoev
a03fa3666f replace ngx_md5_text() with ngx_hex_dump() 2007-12-17 21:06:17 +00:00
Igor Sysoev
249cbe75b4 log run cleanups clearly 2007-12-17 17:29:36 +00:00
Igor Sysoev
7912e4ba5d optimize rbtree initialization and insert 2007-12-17 08:52:00 +00:00
Igor Sysoev
c0cadf1f34 no answers in DNS response should be NXDOMAIN 2007-12-16 20:47:55 +00:00
Igor Sysoev
28bca1b6e9 fix segfault if response will have CNAME only 2007-12-16 20:00:15 +00:00
Igor Sysoev
7f35ae6ea6 restore environ for perl_destruct() 2007-12-16 11:58:16 +00:00
Igor Sysoev
86ef6aaa6b move condition declarations inside blocks where they are used 2007-12-10 12:09:51 +00:00
Igor Sysoev
cb54061885 *) now ngx_conf_set_str_array_slot() tests NGX_CONF_UNSET_PTR
this fixes fastcgi_catch_stderr segfault introduced in r1453
*) ngx_http_upstream_hide_headers_hash()
*) proxy/fastcgi pass_header/hide_header use
   ngx_http_upstream_hide_headers_hash()
2007-12-09 18:03:20 +00:00
Igor Sysoev
8cdfc515c3 fix r1695 2007-12-08 22:12:37 +00:00
Igor Sysoev
e9af690e61 ngx_create_path_and_rename_file() 2007-12-07 20:22:03 +00:00
Igor Sysoev
ac7586e952 rename ngx_crc32_init() to ngx_crc32_table_init()
ngx_crc32_init(), ngx_crc32_update(), ngx_crc32_final()
2007-12-07 20:19:41 +00:00
Igor Sysoev
03df86a541 bump version 2007-12-03 17:26:28 +00:00
Igor Sysoev
e67d46189c ngx_udp_recv() 2007-12-03 16:46:46 +00:00
Igor Sysoev
826c02ebda use ngx_rbtree_init() 2007-12-03 12:17:26 +00:00
Igor Sysoev
653a206afe ngx_rbtree_init() 2007-12-03 12:17:15 +00:00
Igor Sysoev
a9d3a0d37a use ngx_queue_init() 2007-12-03 11:21:19 +00:00
Igor Sysoev
0134d6b622 ngx_queue_init() 2007-12-03 11:21:07 +00:00
Igor Sysoev
6b2fce430b allow to use IP addresses without defined resolver 2007-12-03 10:05:19 +00:00
Igor Sysoev
b4e5b4c884 style fix: remove trailing spaces 2007-12-01 19:57:37 +00:00
Igor Sysoev
00e0377488 ngx_parse_url() saves port text, this allows to use it in proxy host header 2007-11-28 19:55:31 +00:00
Igor Sysoev
57bb349844 bump version 2007-11-28 19:17:24 +00:00
Igor Sysoev
743760ea35 bump version 2007-11-27 16:58:41 +00:00
Igor Sysoev
6e0a7bfaaa bump version 2007-11-27 16:25:32 +00:00
Igor Sysoev
53fcff1efe fix previous commit 2007-11-23 17:27:01 +00:00
Igor Sysoev
cb4d53861c resolver 2007-11-23 17:13:26 +00:00
Igor Sysoev
2e8f0d0b30 update ngx_memcmp() 2007-11-23 17:00:11 +00:00
Igor Sysoev
36b634cdbc ngx_inet_addr() 2007-11-23 16:59:24 +00:00
Igor Sysoev
48bf997e10 ngx_queue.h 2007-11-23 16:32:50 +00:00
Igor Sysoev
499c05a87b the simple expression has the same precision without overflow 2007-11-16 18:15:04 +00:00
Igor Sysoev
5589bcf969 bump version 2007-11-15 15:42:39 +00:00
Igor Sysoev
1d04b14c09 64-bit time_t compatibility 2007-11-15 14:26:36 +00:00
Igor Sysoev
cc5484fab1 do not encode already encoded characters in msie_refresh 2007-11-09 13:17:58 +00:00
Igor Sysoev
a2208091df bump version 2007-10-29 14:09:12 +00:00
Igor Sysoev
e261091d67 style fix 2007-10-22 15:22:08 +00:00
Igor Sysoev
6684e58739 bump version 2007-10-22 11:24:05 +00:00
Igor Sysoev
f0a51cfa09 unescape SSI include 2007-10-22 10:19:17 +00:00
Igor Sysoev
7b4d0266c6 ngx_sha1.h 2007-10-16 12:16:58 +00:00
Igor Sysoev
d883df2444 ngx_md5.h 2007-10-16 11:59:47 +00:00
Igor Sysoev
6d5d61c8a3 bump version 2007-10-15 11:32:09 +00:00
Igor Sysoev
2d3f3f6eb6 fix English grammar 2007-10-14 18:56:15 +00:00
Igor Sysoev
bfb23bf604 style fix: remove double semicolons 2007-10-09 20:11:03 +00:00
Igor Sysoev
d3db9ea51e style fix: remove trailing spaces 2007-10-09 18:42:00 +00:00
Igor Sysoev
7ed63ee75f use pool instead of ngx_conf_t 2007-10-08 08:55:12 +00:00
Igor Sysoev
35fe5fd06d ngx_strnstr() 2007-10-01 14:48:33 +00:00
Igor Sysoev
6669702b00 add comment 2007-10-01 13:00:30 +00:00
Igor Sysoev
1730c758a1 ngx_escape_html() 2007-09-27 09:36:50 +00:00
Igor Sysoev
1bd987019d ngx_strstrn() and ngx_strcasestrn() 2007-09-26 19:25:52 +00:00
Igor Sysoev
066e6323c5 fix comment 2007-09-26 12:23:34 +00:00
Igor Sysoev
ddc9297a4f bump version 2007-09-24 04:18:22 +00:00
Igor Sysoev
60739f7842 bump version 2007-09-21 14:41:05 +00:00
Igor Sysoev
425b0afd7c fix r1416 2007-09-21 13:43:53 +00:00
Igor Sysoev
f78e8dd033 bump version 2007-09-11 13:21:30 +00:00
Igor Sysoev
586aa3899d bump version 2007-09-03 10:35:02 +00:00
Igor Sysoev
a250a521d3 test the most relevant condition first 2007-09-03 09:06:26 +00:00
Igor Sysoev
9afd58ffe5 open_file_cache_events 2007-09-03 08:41:42 +00:00
Igor Sysoev
d92bee51ea open file cache 2007-09-01 12:11:21 +00:00
Igor Sysoev
ca0bdd3e95 change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr 2007-09-01 12:05:55 +00:00
Igor Sysoev
e7e7dedfb3 fix typo 2007-08-31 06:15:50 +00:00
Igor Sysoev
d8d0e0b809 log socket number 2007-08-29 15:33:59 +00:00
Igor Sysoev
2b5edcc3e6 bump version 2007-08-28 16:44:29 +00:00
Igor Sysoev
43f3aead14 fix trailing wildcard when two or more listen used in one server 2007-08-24 11:05:47 +00:00
Igor Sysoev
93c3755e26 bump version 2007-08-20 13:10:25 +00:00
Igor Sysoev
3854a1e195 test relative nginx.conf, this is compatible with old versions
because cycle->root on this stage is not set
2007-08-20 10:05:10 +00:00
Igor Sysoev
0d4b372e44 use %v for ngx_variable_value_t in ngx_sprintf(),
this fixes nginx on FreeBSD/sparc64
2007-08-20 09:57:19 +00:00
Igor Sysoev
d4ff561681 escape " ", "%", and %00-%1F in login and password 2007-08-20 09:50:53 +00:00
Igor Sysoev
d6477e6c78 bump version 2007-08-15 12:58:35 +00:00
Igor Sysoev
845f6d553a ignore meaningless bits in CIDR and warn about them 2007-08-10 13:13:28 +00:00
Igor Sysoev
031a6e2906 set default listen() backlog to 511 on all platforms except FreeBSD 2007-08-09 13:32:21 +00:00
Igor Sysoev
329a23639f bump version 2007-07-30 09:23:26 +00:00
Igor Sysoev
83a6851b28 make 64-bit ngx_int_t on 64-bit platforms 2007-07-29 18:24:53 +00:00
Igor Sysoev
a1df416d65 --sysconfdir=DIR 2007-07-29 18:05:45 +00:00
Igor Sysoev
7dbb7c881d bump version 2007-07-23 08:12:24 +00:00
Igor Sysoev
3f70782404 escape space, etc in $memcached_key 2007-07-22 19:18:59 +00:00
Igor Sysoev
b1ccbdad7b fix potential double free(),
found by Coverity's Scan
2007-07-19 19:11:57 +00:00
Igor Sysoev
43ae46f401 fix potential segfault,
found by Coverity's Scan
2007-07-19 19:08:22 +00:00
Igor Sysoev
cbf72c1e61 fix memory leak,
found by Coverity's Scan
2007-07-19 19:07:13 +00:00
Igor Sysoev
66a874beb2 bump version 2007-07-17 10:15:07 +00:00
Igor Sysoev
f42ed05e9c Sun Studio on sparc uses different bit order 2007-07-17 09:23:23 +00:00
Igor Sysoev
8662b6bec5 msie_refresh should escape at least '"' to prevent XSS 2007-07-13 09:37:01 +00:00
Igor Sysoev
049ae00031 "?" should not be escaped 2007-07-13 09:35:51 +00:00
Igor Sysoev
fbd9b4399f proxy_store and fastcgi_store were changed,
proxy_store_access and fastcgi_store_access were added
2007-07-13 08:30:34 +00:00
Igor Sysoev
852e458014 bump version 2007-07-12 11:35:57 +00:00
Igor Sysoev
58feb53eb4 proxy_store and fastcgi_store 2007-07-12 11:19:05 +00:00
Igor Sysoev
d2d6bd5af6 reset errno 2007-07-11 10:46:21 +00:00
Igor Sysoev
13cf4b82c5 bump version 2007-07-09 07:09:38 +00:00
Igor Sysoev
28bb279593 bump version 2007-06-17 19:27:34 +00:00
Igor Sysoev
89aa3079bb bump version 2007-06-14 05:48:47 +00:00
Igor Sysoev
9d8a75c525 the "www.example.*" wildcard hash support 2007-06-11 19:49:22 +00:00
Igor Sysoev
ad39e5c746 bump version 2007-06-11 19:32:29 +00:00
Igor Sysoev
8ec084b9dc bump version 2007-06-08 05:43:05 +00:00
Igor Sysoev
1fddbb85e1 eliminate old unused typedef 2007-06-06 08:11:33 +00:00
Igor Sysoev
52a93439bc fix bug introduced in r1228 2007-06-06 05:56:51 +00:00
Igor Sysoev
1849ba824e change wording 2007-06-05 11:55:39 +00:00
Igor Sysoev
1c0e3e0dd0 bump version 2007-06-04 16:14:33 +00:00
Igor Sysoev
b2c5db58dc inherit flush flag, this fixes https proxying 2007-06-03 19:58:30 +00:00
Igor Sysoev
70c1d0f160 add debug logging 2007-06-03 19:56:27 +00:00
Igor Sysoev
b1c6c4323e add comment 2007-05-30 13:24:50 +00:00
Igor Sysoev
d4aa572c8d do listen() just after bind() to exit early 2007-05-30 13:23:48 +00:00
Igor Sysoev
9dd99aac66 style fix 2007-05-30 12:28:37 +00:00
Igor Sysoev
c141793cf9 change wording 2007-05-29 19:43:18 +00:00
Igor Sysoev
78c5893412 fix segfault 2007-05-29 16:33:34 +00:00
Igor Sysoev
f44ea0bbf6 bump version 2007-05-29 12:15:04 +00:00
Igor Sysoev
acac00332e an request body might not be passed to backend,
the bug was introduced in r1212
2007-05-29 12:06:42 +00:00
Igor Sysoev
a9a4672b9f bump version 2007-05-28 19:03:06 +00:00
Igor Sysoev
b8ddf754f9 fix "proxy_pass https://" 2007-05-28 11:09:18 +00:00
Igor Sysoev
35921283df ngx_sort 2007-05-21 14:05:23 +00:00
Igor Sysoev
2517fbf2b8 use memory optimization for i386 and amd64 only:
this fixes SIGBUS in PCRE on sparc64
2007-05-21 13:49:35 +00:00
Igor Sysoev
3378750e2d style fix 2007-05-19 17:39:44 +00:00
Igor Sysoev
932b32628e bump version 2007-05-07 14:39:11 +00:00
Igor Sysoev
08d068f943 limit minimal pool size 2007-05-07 09:20:42 +00:00
Igor Sysoev
359561d6cc bump version 2007-04-24 06:26:56 +00:00
Igor Sysoev
e548a510c4 bump version 2007-04-19 18:23:54 +00:00
Igor Sysoev
eb21763fa1 style fix 2007-04-18 19:43:22 +00:00
Igor Sysoev
e5e4c0000d fix segfault when
*) perl was built without multiplicity
*) when configuration was invalid
2007-04-18 11:28:11 +00:00
Igor Sysoev
52a282d04b bump version 2007-04-02 10:50:18 +00:00
Igor Sysoev
7a5886052f *) introduce ngx_strchr()
*) test server_name for '/': it's common configuration error when
   trailing ';' is omitted and a next directive is treated as server_name
2007-04-02 06:27:30 +00:00
Igor Sysoev
035b9c5d24 bump version 2007-03-26 14:52:52 +00:00
Igor Sysoev
65560f40c0 bump version 2007-03-19 14:58:30 +00:00
Igor Sysoev
02c8d181a4 Many changes:
*) rename imap to mail, sort pop3/imap functions
*) smtp auth support
*) pop3 starttls only
*) fix segfault if cram-md5 was used without apop
2007-03-19 13:36:56 +00:00
Igor Sysoev
4ddeff4956 close keep-alive connections in the shuting down processes 2007-03-19 13:20:15 +00:00
Igor Sysoev
6c7f369010 bump version 2007-03-06 12:59:58 +00:00
Igor Sysoev
7746dc7897 style fix 2007-03-06 12:18:45 +00:00
Igor Sysoev
40460bab8d ngx_log_error() > ngx_conf_log_error() 2007-02-20 15:47:54 +00:00
Igor Sysoev
bb4c112fe5 use "goto" instead of indistinct "break" 2007-02-20 14:36:48 +00:00
Igor Sysoev
83fe66212f stop on superfluous closing "}" 2007-02-20 14:33:26 +00:00
Igor Sysoev
b59f369077 bump version 2007-02-19 13:42:48 +00:00
Igor Sysoev
722231f407 ngx_strcasecmp()/ngx_strncasecmp() 2007-02-14 18:51:19 +00:00
Igor Sysoev
0ddd9d6e5e fix building on platforms with non-supported atomic operations 2007-02-14 13:52:47 +00:00
Igor Sysoev
e5234d3e05 bump version 2007-02-12 15:37:36 +00:00
Igor Sysoev
8e750112f6 fix building on platforms with non-supported atomic operations 2007-02-11 07:49:12 +00:00
Igor Sysoev
e980185ee0 bump version 2007-02-05 14:49:52 +00:00
Igor Sysoev
d1a0ee7fc7 allocate less memory on 64-bit platforms 2007-01-29 20:33:51 +00:00
Igor Sysoev
b8bfa20c91 shorten temporary names on 64-bit platforms 2007-01-29 20:28:00 +00:00
Igor Sysoev
f51d4fea57 fix segfault if nginx was build with -O2 -fomit-frame-pointer,
r1082 did not fix the bug

the bug lived for a long time but became apparent when nginx was
built with gcc 4.0.x -O2 optimization
2007-01-29 11:52:25 +00:00
Igor Sysoev
92929b9799 bump version 2007-01-25 22:19:34 +00:00
Igor Sysoev
80a2901374 fix segfault if nginx was build with -O2 -fomit-frame-pointer
(at least by gcc 4.0.2 and 4.0.3)
2007-01-25 22:01:23 +00:00
Igor Sysoev
95ec258be3 fix online upgrade 2007-01-25 21:48:28 +00:00
Igor Sysoev
5f8e7365a1 bump version 2007-01-25 21:45:22 +00:00
Igor Sysoev
cd5b99a045 undo "client_body_in_file_only any"
and introduce "client_body_in_file_only clean"

introduce ngx_pool_delete_file() to not break a possible third-party
ngx_pool_cleanup_file() usage that may lead to an removal of the useful files

delete unnecessary ngx_http_finalize_request_body()
2007-01-25 08:45:04 +00:00
Igor Sysoev
8885f8736c env 2007-01-20 19:26:48 +00:00
Igor Sysoev
354a4ef4e5 bump version 2007-01-19 19:48:48 +00:00
Igor Sysoev
f5a359bdec add size, access, and mtime to ngx_walk_tree() 2007-01-18 21:04:31 +00:00
Igor Sysoev
50034b856c ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access) 2007-01-18 20:15:09 +00:00
Igor Sysoev
fe1cb8c3ac rename mode to access 2007-01-18 19:52:18 +00:00
Igor Sysoev
adb410f9ae fix log message 2007-01-18 14:28:34 +00:00
Igor Sysoev
c326529feb bump version 2007-01-16 11:04:51 +00:00
Igor Sysoev
f83e627473 quick fix for case when ssl_session_cache defined,
but ssl is not enabled in any server
2007-01-15 17:48:31 +00:00
Igor Sysoev
ec3cabdcd9 ngx_strn2cmp() > ngx_memn2cmp() 2007-01-12 21:58:02 +00:00
Igor Sysoev
37cc165064 ngx_strn2cmp() 2007-01-12 20:15:59 +00:00
Igor Sysoev
618dc75c2d make global the rbtree color handling macros 2007-01-12 19:48:30 +00:00
Igor Sysoev
8f6a00c3ef fix comment 2007-01-12 18:05:41 +00:00
Igor Sysoev
295b94de9a fix slab allocator on 64-bit platfroms 2007-01-11 19:13:46 +00:00
Igor Sysoev
7431938b90 fix slab allocator on 64-bit platfroms 2007-01-11 18:58:40 +00:00
Igor Sysoev
896b5e4a4f optimize inlined code for gcc 2007-01-11 16:07:03 +00:00
Igor Sysoev
e98b867409 bump version 2007-01-09 20:57:24 +00:00
Igor Sysoev
667a79b5f3 fix label name 2007-01-09 16:02:29 +00:00
Igor Sysoev
3a257b3eb9 free the unnecessary shared memory 2007-01-09 16:00:57 +00:00
Igor Sysoev
a269c82bd5 fix the comments 2007-01-09 16:00:07 +00:00
Igor Sysoev
4e77a2bb83 pass the inherited shm_zone data 2007-01-09 15:59:20 +00:00
Igor Sysoev
dd15b55fbc style fix 2007-01-07 22:44:56 +00:00
Igor Sysoev
14110b311c fix zero size shared zones 2007-01-06 18:52:06 +00:00
Igor Sysoev
5f0b82aa42 style fix: remove trailing spaces 2007-01-03 18:12:32 +00:00
Igor Sysoev
b94b180181 fix segfaults 2007-01-03 15:43:01 +00:00
Igor Sysoev
3364dc6eb7 move the session cache callbacks to the ngx_openssl_module 2007-01-03 15:25:40 +00:00
Igor Sysoev
28c7f76635 ngx_shared_memory_add() 2007-01-02 23:54:14 +00:00
Igor Sysoev
5096bd9a92 style fix 2007-01-02 23:12:24 +00:00
Igor Sysoev
c33efcd10a many bug fixes and ngx_slab_alloc_locked()/ngx_slab_free_locked() 2007-01-02 23:10:42 +00:00
Igor Sysoev
dcec2fa8c9 a sentinel must be black 2007-01-02 23:04:54 +00:00
Igor Sysoev
60d30e6378 ngx_walk_tree() 2006-12-25 12:38:00 +00:00
Igor Sysoev
ec810aef85 bump version 2006-12-24 18:42:26 +00:00
Igor Sysoev
888ea84ce0 worker_rlimit_core supports size in K, M, and G 2006-12-24 18:13:06 +00:00
Igor Sysoev
674ebb08ed add comment 2006-12-24 13:11:41 +00:00
Igor Sysoev
b8fec51723 the -V switch 2006-12-23 19:54:21 +00:00
Igor Sysoev
9ba14ac9db fix for Linix/ppc64 or FreeBSD/amd64 in 32-bit mode,
the same as in r934
2006-12-22 20:30:26 +00:00
Igor Sysoev
18d6514eb5 ngx_sprintf() has implicit limit of 65536 bytes so on Linux/ppc64
in 32-bit mode the errstr is somewhere at 0xffffd680, the "last" overflows
and ngx_vsnprintf() does not print at all
2006-12-19 12:40:19 +00:00
Igor Sysoev
f4b34c4754 the initial slot is out of array 2006-12-19 12:38:20 +00:00
Igor Sysoev
84bab05c55 fix segfault in "out of memory" situation 2006-12-18 20:46:49 +00:00
Igor Sysoev
c690675ed1 allocate aligned ngx_crc32_table_short globally 2006-12-15 21:31:03 +00:00
Igor Sysoev
c996d3250d bump version 2006-12-14 23:22:34 +00:00
Igor Sysoev
6778476a66 bump version 2006-12-13 15:11:27 +00:00
Igor Sysoev
bf3aaac7ac rewritten upstream 2006-12-12 16:46:16 +00:00
Igor Sysoev
169efce947 bump version 2006-12-12 14:17:04 +00:00
Igor Sysoev
b8989b9694 bump version 2006-12-11 11:05:54 +00:00
Igor Sysoev
adf9c7f149 unix socket upstreams always used the first unix upstream 2006-12-06 15:39:08 +00:00
Igor Sysoev
c3d106a9bc slot number must be incremented once per second only,
ngx_time_update() set msec in an wrong slot
2006-12-06 14:25:20 +00:00
Igor Sysoev
67effaff99 bump version 2006-12-04 17:05:07 +00:00
Igor Sysoev
3d2fd18a39 upstream choice modules 2006-12-04 16:46:13 +00:00
Igor Sysoev
2f899aa56c fix building on 64-bit platforms 2006-11-27 20:47:55 +00:00
Igor Sysoev
f9ad2f1545 bump version to 0.5.0 2006-11-27 14:34:42 +00:00
Igor Sysoev
f4eb017333 ngx_rbtree_insert_value() 2006-11-20 17:13:21 +00:00
Igor Sysoev
67cd336d88 slab allocator in shared memory 2006-11-20 08:51:45 +00:00
Igor Sysoev
8c5f37e7d3 rbtree insert procedure 2006-11-16 15:34:52 +00:00
Igor Sysoev
d2ad7cb3d7 change variable name 2006-11-16 15:15:16 +00:00
Igor Sysoev
c28473eef4 bump version 2006-11-15 20:07:57 +00:00
Igor Sysoev
cf5836e850 bump version 2006-10-31 15:41:41 +00:00
Igor Sysoev
020ffea637 high level HTTP buffered flags should be on per-subrequest basis,
this fix a bug in SSI when a big static file is included
2006-10-30 20:25:22 +00:00
Igor Sysoev
d0427afb8b fix format 2006-10-30 20:03:49 +00:00
Igor Sysoev
b5c75dc88a style fix 2006-10-28 14:36:44 +00:00
Igor Sysoev
0593b63c6a undo the previous wrong commit 2006-10-28 14:32:39 +00:00
Igor Sysoev
e6d99d831c bad commit 2006-10-28 14:20:13 +00:00
Igor Sysoev
da04d54f81 bump version 2006-10-25 16:33:40 +00:00
Igor Sysoev
df6f57afeb axe ngx_inet_upstream_parse() and ngx_inet_parse_host_port() 2006-10-24 14:18:35 +00:00
Igor Sysoev
3d7f00d414 axe src/core/ngx_unix_domain.* 2006-10-24 13:43:19 +00:00
Igor Sysoev
20bf47b73d now the "listen" directives use ngx_parse_url() 2006-10-24 13:06:55 +00:00
Igor Sysoev
70296c518a bump version 2006-10-23 13:50:51 +00:00
Igor Sysoev
abeb122d6e APOP 2006-10-23 13:10:10 +00:00
Igor Sysoev
3d0a7168a9 aligned ngx_crc32_table_short was allocated from wrong pool 2006-10-20 12:22:39 +00:00
Igor Sysoev
5569faa5e3 split ngx_crc32() to short and long version 2006-10-19 09:57:49 +00:00
Igor Sysoev
a8503de5b3 add includes 2006-10-19 08:16:29 +00:00
Igor Sysoev
db263f881a spelling 2006-10-18 19:05:30 +00:00
Igor Sysoev
5864fc0fcc ngx_crc32() 2006-10-18 19:00:21 +00:00
Igor Sysoev
289e3caa46 char* > u_char* 2006-10-18 18:43:11 +00:00
Igor Sysoev
066496a56c decrease number of branches 2006-10-16 12:21:17 +00:00
Igor Sysoev
d54c497d97 bump version 2006-10-13 15:47:56 +00:00
Igor Sysoev
0ab9e43714 style fix 2006-10-13 15:09:25 +00:00
Igor Sysoev
8a444aa724 check nginx.pm version 2006-10-12 19:55:15 +00:00
Igor Sysoev
8f2db1fbe3 bump version 2006-10-11 19:07:34 +00:00
Igor Sysoev
35d5272e3a ngx_list_create() 2006-10-11 12:47:11 +00:00
Igor Sysoev
7a8b17a553 bump version 2006-10-10 16:15:27 +00:00
Igor Sysoev
c537f0cbe7 bump version 2006-10-06 14:27:28 +00:00
Igor Sysoev
39b05edb24 fix SIGFPE on alpha 2006-10-06 13:28:19 +00:00
Igor Sysoev
852cde4ccd add sun4v,
style fix
2006-10-06 13:02:23 +00:00
Igor Sysoev
afe577cc6c bump version 2006-10-02 15:40:28 +00:00
Igor Sysoev
0e4a95dfe3 bump version 2006-10-02 14:21:47 +00:00
Igor Sysoev
50cc0c946e turn off startup debug logging introduced by previous commit 2006-10-02 08:50:03 +00:00
Igor Sysoev
97c2f469c3 glob support in include 2006-10-02 08:46:45 +00:00
Igor Sysoev
25d1523ee8 bump version 2006-09-26 12:43:45 +00:00
Igor Sysoev
7c20ed8323 fix uri part in "proxy_pass http://unix:...", the bug appeared in nginx-0.3.47 2006-09-24 14:45:37 +00:00
Igor Sysoev
66a49717d2 fix segfault in "proxy_pass http://unix:...", the bug appeared in nginx-0.3.47 2006-09-24 07:35:56 +00:00
Igor Sysoev
f1761144b8 bump version 2006-09-14 15:56:52 +00:00
Igor Sysoev
b60ced77b8 bump version 2006-09-14 15:08:48 +00:00
Igor Sysoev
4d4ac8f680 bump version 2006-08-30 10:40:05 +00:00
Igor Sysoev
da173abde0 nginx-0.4.0-RELEASE import
*) Change in internal API: the HTTP modules initialization was moved
       from the init module phase to the HTTP postconfiguration phase.

    *) Change: now the request body is not read beforehand for the
       ngx_http_perl_module: it's required to start the reading using the
       $r->has_request_body method.

    *) Feature: the ngx_http_perl_module supports the DECLINED return code.

    *) Feature: the ngx_http_dav_module supports the incoming "Date" header
       line for the PUT method.

    *) Feature: the "ssi" directive is available inside the "if" block.

    *) Bugfix: a segmentation fault occurred if there was an "index"
       directive with variables and the first index name was without
       variables; the bug had appeared in 0.1.29.
2006-08-30 10:39:17 +00:00
Igor Sysoev
3f8dc59500 nginx-0.3.61-RELEASE import
*) Change: now the "tcp_nodelay" directive is turned on by default.

    *) Feature: the "msie_refresh" directive.

    *) Feature: the "recursive_error_pages" directive.

    *) Bugfix: the "rewrite" directive returned incorrect redirect, if the
       redirect had the captured escaped symbols from original URI.
2006-08-28 16:57:48 +00:00
Igor Sysoev
5fede1e415 nginx-0.3.60-RELEASE import
*) Bugfix: a worker process may got caught in an endless loop while an
       error redirection; the bug had appeared in 0.3.59.
2006-08-18 14:17:54 +00:00
Igor Sysoev
ef31643049 nginx-0.3.59-RELEASE import
*) Feature: now is possible to do several redirection using the
       "error_page" directive.

    *) Bugfix: the "dav_access" directive did not support three parameters.

    *) Bugfix: the "error_page" directive did not changes the
       "Content-Type" header line after the "X-Accel-Redirect" was used;
       the bug had appeared in 0.3.58.
2006-08-16 13:09:33 +00:00
Igor Sysoev
08e63d46de nginx-0.3.58-RELEASE import
*) Feature: the "error_page" directive supports the variables.

    *) Change: now the procfs interface instead of sysctl is used on Linux.

    *) Change: now the "Content-Type" header line is inherited from first
       response when the "X-Accel-Redirect" was used.

    *) Bugfix: the "error_page" directive did not redirect the 413 error.

    *) Bugfix: the trailing "?" did not remove old arguments if no new
       arguments were added to a rewritten URI.

    *) Bugfix: nginx could not run on 64-bit FreeBSD 7.0-CURRENT.
2006-08-14 15:09:38 +00:00
Igor Sysoev
c55a104fcb nginx-0.3.57-RELEASE import
*) Feature: the $ssl_client_serial variable.

    *) Bugfix: in the "!-e" operator of the "if" directive.
       Thanks to Andrian Budanstov.

    *) Bugfix: while a client certificate verification nginx did not send
       to a client the required certificates information.

    *) Bugfix: the $document_root variable did not support the variables in
       the "root" directive.
2006-08-09 19:59:45 +00:00
Igor Sysoev
b71c690895 nginx-0.3.56-RELEASE import
*) Feature: the "dav_access" directive.

    *) Feature: the "if" directive supports the "-d", "!-d", "-e", "!-e",
       "-x", and "!-x" operators.

    *) Bugfix: a segmentation fault occurred if a request returned a
       redirect and some sent to client header lines were logged in the
       access log.
2006-08-04 16:04:04 +00:00
Igor Sysoev
8f1255877c nginx-0.3.55-RELEASE import
*) Feature: the "stub" parameter in the "include" SSI command.

    *) Feature: the "block" SSI command.

    *) Feature: the unicode2nginx script was added to contrib.

    *) Bugfix: if a "root" was specified by variable only, then the root
       was relative to a server prefix.

    *) Bugfix: if the request contained "//" or "/./" and escaped symbols
       after them, then the proxied request was sent unescaped.

    *) Bugfix: the $r->headers_in("Cookie") of the ngx_http_perl_module now
       returns all "Cookie" header lines.

    *) Bugfix: a segmentation fault occurred if
       "client_body_in_file_only on" was used and nginx switched to a next
       upstream.

    *) Bugfix: on some condition while reconfiguration character codes
       inside the "charset_map" may be treated invalid; the bug had
       appeared in 0.3.50.
2006-07-28 15:16:17 +00:00
Igor Sysoev
bb28b6d3a4 nginx-0.3.54-RELEASE import
*) Feature: nginx now logs the subrequest information to the error log.

    *) Feature: the "proxy_next_upstream", "fastcgi_next_upstream", and
       "memcached_next_upstream" directives support the "off" parameter.

    *) Feature: the "debug_connection" directive supports the CIDR address
       form.

    *) Bugfix: if a response of proxied server or FastCGI server was
       converted from UTF-8 or back, then it may be transferred incomplete.

    *) Bugfix: the $upstream_response_time variable had the time of the
       first request to a backend only.

    *) Bugfix: nginx could not be built on amd64 platform; the bug had
       appeared in 0.3.53.
2006-07-11 13:20:19 +00:00