Commit Graph

1348 Commits

Author SHA1 Message Date
Igor Sysoev
6c8e74bcd4 style fix 2007-06-07 12:20:34 +00:00
Igor Sysoev
35e5db1c6b namespace may be set via $memcached_key 2007-06-07 12:15:27 +00:00
Igor Sysoev
8e3151dce5 strstr() -> strchr() 2007-06-06 12:24:10 +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
6633572f31 use pointer to an array instead of array for inclusive locations inside location 2007-06-05 11:42:59 +00:00
Igor Sysoev
c915106f20 optimize regex location search 2007-06-05 06:44:08 +00:00
Igor Sysoev
bf15d70e10 forbid alias inside location given by regular expression 2007-06-04 20:45:45 +00:00
Igor Sysoev
62864d1e1e fix ssl_verify_client for HTTP/0.9 2007-06-04 20:40:03 +00:00
Igor Sysoev
55a42ca586 style fix 2007-06-04 20:00:06 +00:00
Igor Sysoev
1c0e3e0dd0 bump version 2007-06-04 16:14:33 +00:00
Igor Sysoev
813296e5bb fastcgi_catch_stderr 2007-06-04 13:52:47 +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
8f0c87f384 PERL_SYS_TERM() should be called once on exit only, this fixes the message
panic: MUTEX_LOCK (22) [op.c:352].
BEGIN failed--compilation aborted.
... [alert] ... perl_parse() failed: 9
Scalars leaked: 2

on threaded perl during second reconfiguration.

PERL_SYS_INIT() should be called once too.
2007-05-29 18:48:42 +00:00
Igor Sysoev
78c5893412 fix segfault 2007-05-29 16:33:34 +00:00
Igor Sysoev
e60303cdca SNI support 2007-05-29 15:21:09 +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
da8c05a5fd style fix 2007-05-23 18:28:54 +00:00
Igor Sysoev
c02ed54c4f use stable search where it is required 2007-05-21 14:09:12 +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
0687cb9d99 fix worker endless loop on 64-bit platform if 33+ backend has fall 2007-05-21 13:48:14 +00:00
Igor Sysoev
3378750e2d style fix 2007-05-19 17:39:44 +00:00
Igor Sysoev
5f6989e953 style fix 2007-05-17 18:07:28 +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
5a8bc36118 style fix 2007-05-07 08:49:15 +00:00
Igor Sysoev
c5a60bb4a0 add debug log 2007-05-07 07:04:00 +00:00
Igor Sysoev
c9b57dc081 sendfile_max_chunk 2007-05-07 06:33:39 +00:00
Igor Sysoev
544e9f1fd7 optimize HTTP method parsing for i386 and amd64 2007-05-07 06:27:14 +00:00
Igor Sysoev
5b1cf0d91f fix multipart ranges trailing 2007-05-06 18:15:32 +00:00
Igor Sysoev
b09c269386 style fix: change variable name 2007-05-05 06:07:11 +00:00
Igor Sysoev
875893b846 fix building by owc12 2007-05-05 05:50:41 +00:00
Igor Sysoev
d1e38e8788 fix building by msvc 2007-05-05 05:40:29 +00:00
Igor Sysoev
75c3272a1c fix segfault introduced in r1190 2007-05-02 09:02:23 +00:00
Igor Sysoev
dbdeafe6a0 fix segfault or parsing error in '<!--# if expr="$var = /" -->' 2007-05-02 08:07:37 +00:00
Igor Sysoev
9c710c0569 allow to "set" $http_, $sent_http_, and $upstream_http_ variables 2007-05-01 19:58:45 +00:00
Igor Sysoev
dc566e4bd6 fix atomic operations on sparc64 built by SunPro C 2007-04-27 14:36:28 +00:00
Igor Sysoev
359561d6cc bump version 2007-04-24 06:26:56 +00:00
Igor Sysoev
57a713c67c fix sendfile on 64-bit Linux and limit_rate on all 64-bit platforms
for 2G+ files
2007-04-23 21:32:13 +00:00
Igor Sysoev
29f5912635 $upstream_addr 2007-04-23 16:56:17 +00:00
Igor Sysoev
8a19bff2a5 proxy_headers_hash_max_size and proxy_headers_hash_bucket_size 2007-04-22 20:21:59 +00:00
Igor Sysoev
b4ccb9f5bd $request_time has millisecond precision 2007-04-21 07:50:19 +00:00
Igor Sysoev
6047281208 rename $r->rflush to $r->flush 2007-04-21 07:43:23 +00:00
Igor Sysoev
e548a510c4 bump version 2007-04-19 18:23:54 +00:00
Igor Sysoev
6d939760c6 style fix: remove trailing spaces 2007-04-19 18:07:39 +00:00
Igor Sysoev
4c39648150 $upstream_http_... should be uncacheable 2007-04-19 17:55:19 +00:00
Igor Sysoev
d9bb8e3894 ngx_http_sub_filter_module 2007-04-19 17:54:23 +00:00
Igor Sysoev
16eab66314 style fix: rename functions 2007-04-19 06:27:10 +00:00
Igor Sysoev
e0f866273f store the upstream states before X-Accel-Redirect to a next upstream 2007-04-18 20:23:19 +00:00
Igor Sysoev
eb21763fa1 style fix 2007-04-18 19:43:22 +00:00
Igor Sysoev
fb958946b5 style fix: remove tabs 2007-04-18 15:21:28 +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
de92bcccee set nginx_stash after reconfiguration in single interpreter perl 2007-04-18 09:23:35 +00:00
Igor Sysoev
2723361e76 $upstream_http_... variables 2007-04-10 07:08:06 +00:00
Igor Sysoev
da4b660274 use 60 seconds interval but not 61 seconds 2007-04-03 21:54:13 +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
10b9894bee style fix 2007-04-02 05:43:21 +00:00
Igor Sysoev
ceab369f44 disable $document_root variable in the "root/alias" directive 2007-04-01 09:03:14 +00:00
Igor Sysoev
70f65c4948 ngx_ssl_recv_chain() must not update buf->last,
it fixes proxy_pass https://...
2007-03-31 19:48:48 +00:00
Igor Sysoev
24a95944a7 separate ngx_http_upstream_test_connect() and
use it in ngx_http_upstream_process_header() path too
2007-03-31 15:37:09 +00:00
Igor Sysoev
2c8f05737a flush nocachable variables before ngx_http_script_run() 2007-03-30 19:00:34 +00:00
Igor Sysoev
3e933d2919 disable TRACE method 2007-03-30 18:59:26 +00:00
Igor Sysoev
9b6548f4e4 style fix 2007-03-29 18:53:34 +00:00
Igor Sysoev
eba03e6bea the "include" support inside the "types" directive 2007-03-29 10:27:24 +00:00
Igor Sysoev
4ca98f65a5 style fix 2007-03-28 14:38:33 +00:00
Igor Sysoev
035b9c5d24 bump version 2007-03-26 14:52:52 +00:00
Igor Sysoev
7755b904ce ip_hash used wrong byte order 2007-03-23 12:52:33 +00:00
Igor Sysoev
77d7f80285 fix segfault if upstream sends trailing ";" in "charset=" 2007-03-23 11:33:47 +00:00
Igor Sysoev
e47cad4140 fix "zero size buf" if request body file is multiple of 32K and FastCGI is used 2007-03-21 13:30:24 +00:00
Igor Sysoev
e7f83eefa2 fix building without --with-debug on Solaris 2007-03-21 11:16:14 +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
e1f43ce292 worker processes did not exit after reconfiguration and
did not rotate logs if eventport was used
2007-03-07 10:25:16 +00:00
Igor Sysoev
b69d913c6f style fix 2007-03-06 20:29:08 +00:00
Igor Sysoev
11d86a4457 style fix 2007-03-06 20:17:50 +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
bd99c49794 avoid endless loop 2007-03-06 11:02:35 +00:00
Igor Sysoev
b32d04f07c decrease log level from alert to debug for POLLERR|POLLHUP|POLLNVAL 2007-03-06 11:01:50 +00:00
Igor Sysoev
f259a3f910 use the contemporary directives 2007-02-21 11:50:39 +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
cf72935bc3 a client address must be allocated from a connection pool
to live through the keep-alive requests
2007-02-17 21:06:47 +00:00
Igor Sysoev
b4123b94ff ioctl FIONBIO uses int, so nginx did not work on big-endian 64-bit platforms 2007-02-17 19:53:52 +00:00
Igor Sysoev
5473662c94 COPY and MOVE
fix PUT and DELETE to conform to WebDAV specification
2007-02-16 12:16:25 +00:00
Igor Sysoev
d74b66c82c finalize request to allow post_action 2007-02-15 18:53:48 +00:00
Igor Sysoev
37a6905cb1 fix broken values, debug logging, and style fix 2007-02-15 15:05:26 +00:00
Igor Sysoev
e8722b8b98 optimize $http_x_forwarded_for 2007-02-15 15:04:36 +00:00
Igor Sysoev
cf815023fc fix format 2007-02-15 14:13:24 +00:00
Igor Sysoev
bb19bcd867 close connection for too long commands 2007-02-15 13:30:19 +00:00
Igor Sysoev
9d58e4bed3 if client closes a connection prematurely, then epoll (at least
in Linux 2.6.16) sends EPOLLERR|EPOLLHUP|EPOLLIN only and writer
does not know about the error
2007-02-15 10:02:34 +00:00
Igor Sysoev
7b2d87ffa0 add debug logging 2007-02-15 10:00:59 +00:00
Igor Sysoev
65a7b8f988 return error for too long commands 2007-02-14 20:45:19 +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
7cc1ea31e9 correct r1100 2007-02-12 14:58:45 +00:00
Igor Sysoev
1131d87684 fix building with ngx_http_perl_module 2007-02-12 13:19:12 +00:00
Igor Sysoev
8e750112f6 fix building on platforms with non-supported atomic operations 2007-02-11 07:49:12 +00:00
Igor Sysoev
915ef4f7c8 fix segfault when a large FastCGI response was written to a temporary file 2007-02-09 14:02:42 +00:00
Igor Sysoev
f15b839a88 log a right subrequest 2007-02-09 13:49:14 +00:00
Igor Sysoev
f0b150faf8 fix segfault when $fastcgi_script_name is used in access_log
and there was bad request (400)
2007-02-09 11:56:23 +00:00
Igor Sysoev
e980185ee0 bump version 2007-02-05 14:49:52 +00:00
Igor Sysoev
0762f4e749 fix several ranges 2007-02-04 18:40:47 +00:00
Igor Sysoev
1e428098fb style fix 2007-01-31 07:31:50 +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
e31625b60e use ngx_dir_access() to enable search bits for directory 2007-01-29 12:25:44 +00:00
Igor Sysoev
e99305be7a eliminate the useless space symbol 2007-01-29 11:54:36 +00:00
Igor Sysoev
8b57df9480 log a real response error code instead of "0" 2007-01-29 11:53:23 +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
3dc4fdf4e0 $memcached_key 2007-01-25 08:45:41 +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
3a58cc90b5 fix "access_log off" 2007-01-24 09:15:25 +00:00
Igor Sysoev
64304df431 client_body_in_file_only any 2007-01-24 09:14:08 +00:00
Igor Sysoev
604a7d1da4 delete temporary file for incomplete small request body 2007-01-23 12:55:23 +00:00
Igor Sysoev
d0863c106d log a failure of the writing to access_log once per minute 2007-01-21 19:01:01 +00:00
Igor Sysoev
300de4fb61 allow "sendfile" in "if" context 2007-01-21 17:42:28 +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
36588962aa fix segfault when a request body fits in r->header_in and
the body will be written to file
2007-01-19 16:13:15 +00:00
Igor Sysoev
8ff1e3251c fix segfault when client_body_in_file_only is on, the body is not passed
to upstream, and nginx tries next upstream
2007-01-19 12:57:02 +00:00
Igor Sysoev
ae2006b2fe a non-active client connection must not closed after send timeout 2007-01-19 12:22:32 +00:00
Igor Sysoev
66f76d2f72 style and comment fix 2007-01-19 11:35:26 +00:00
Igor Sysoev
8d6de94f5b if client closes a connection prematurely, then epoll (at least
in Linux 2.6.18) sends EPOLLERR|EPOLLHUP|EPOLLIN only and writer
does not know about the error
2007-01-19 08:10:06 +00:00
Igor Sysoev
e95ea5b878 the PUTing to collection must return NGX_HTTP_BAD_REQUEST 2007-01-18 21:14:46 +00:00
Igor Sysoev
56331ba499 the "Overwrite" header line 2007-01-18 21:11:23 +00:00
Igor Sysoev
f5a359bdec add size, access, and mtime to ngx_walk_tree() 2007-01-18 21:04:31 +00:00
Igor Sysoev
da7281a6da NGX_HTTP_PRECONDITION_FAILED 2007-01-18 20:51:51 +00:00
Igor Sysoev
5fdb179a60 update nginx.xs to ngx_open_file(name, mode, create, access) 2007-01-18 20:48:03 +00:00
Igor Sysoev
83ff0cdc4b ngx_read_fd() 2007-01-18 20:39:30 +00:00
Igor Sysoev
a3eef70783 NGX_FILE_WRONLY 2007-01-18 20:37:19 +00:00
Igor Sysoev
4a27d0f3f8 ngx_file_access() and ngx_de_access() 2007-01-18 20:31:22 +00:00
Igor Sysoev
8be5d8025a style fix 2007-01-18 20:25:11 +00:00
Igor Sysoev
8820a9bcb3 axe Win9X code 2007-01-18 20:24:30 +00:00
Igor Sysoev
872025fc51 add comment 2007-01-18 20:23:16 +00:00
Igor Sysoev
cbb5578c52 axe unused code 2007-01-18 20:22:40 +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
12fcfab8be style fix 2007-01-18 20:05:39 +00:00
Igor Sysoev
fe1cb8c3ac rename mode to access 2007-01-18 19:52:18 +00:00
Igor Sysoev
6ed365fa8b unused value 2007-01-18 19:49:00 +00:00
Igor Sysoev
8c5edab7d3 style fix: remove trailing spaces 2007-01-18 19:40:31 +00:00
Igor Sysoev
adb410f9ae fix log message 2007-01-18 14:28:34 +00:00
Igor Sysoev
97c0d35037 fix FastCGI "zero size buf" alert,
the previous commit did not fix too
2007-01-18 07:07:55 +00:00
Igor Sysoev
aafa2004d7 fix FastCGI "zero size buf" alert,
r841 did not fix it
2007-01-17 16:10:40 +00:00
Igor Sysoev
ecef14e307 style fix 2007-01-17 10:50:52 +00:00
Igor Sysoev
66af04752f fix debug logging 2007-01-16 20:43:36 +00:00
Igor Sysoev
03c9cb7afc fix comparison 2007-01-16 19:01:10 +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
8488a1ce11 allow the upstream modules to send a header only 2007-01-15 17:12:43 +00:00
Igor Sysoev
4502bf57b3 add debug logging for FastCGI zero size buf alert 2007-01-15 16:00:51 +00:00
Igor Sysoev
ec3cabdcd9 ngx_strn2cmp() > ngx_memn2cmp() 2007-01-12 21:58:02 +00:00
Igor Sysoev
a1e82cca22 style fix 2007-01-12 21:57:20 +00:00
Igor Sysoev
8785136a92 fix duplicate rbtree keys case 2007-01-12 20:57:34 +00:00
Igor Sysoev
805706a20f fix duplicate rbtree keys case 2007-01-12 20:38:17 +00:00
Igor Sysoev
6043c80639 style fix: remove tabs 2007-01-12 20:26:39 +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
6a23cf06e8 add comment 2007-01-12 19:26:38 +00:00
Igor Sysoev
8f6a00c3ef fix comment 2007-01-12 18:05:41 +00:00
Igor Sysoev
b1d65e50d6 axe aio drafts 2007-01-11 22:08:50 +00:00
Igor Sysoev
aa50359569 axe long ago unnecessary file 2007-01-11 22:05:15 +00:00
Igor Sysoev
295b94de9a fix slab allocator on 64-bit platfroms 2007-01-11 19:13:46 +00:00
Igor Sysoev
927666265d optimize the SSL session cache allocations on 64-bit platforms 2007-01-11 18:59:17 +00:00
Igor Sysoev
7431938b90 fix slab allocator on 64-bit platfroms 2007-01-11 18:58:40 +00:00
Igor Sysoev
7fe33a9f58 ssl_session_timeout was set only if builtin cache was used 2007-01-11 18:57:09 +00:00
Igor Sysoev
b317945089 optimize the SSL session cache allocations 2007-01-11 17:39:02 +00:00
Igor Sysoev
e532b0194c stop rbtree search early if equal hash was found 2007-01-11 17:05:18 +00:00
Igor Sysoev
1279b049b4 stop rbtree search early if equal hash was found 2007-01-11 16:57:30 +00:00
Igor Sysoev
ec582de2dd test length of variable and number of connections 2007-01-11 16:50:06 +00:00
Igor Sysoev
43bb0077d1 optimization 2007-01-11 16:07:38 +00:00
Igor Sysoev
896b5e4a4f optimize inlined code for gcc 2007-01-11 16:07:03 +00:00
Igor Sysoev
2ffaa986e2 use "r" instead of "q" 2007-01-11 16:00:02 +00:00
Igor Sysoev
2c32b5a1d2 fix segfault 2007-01-09 22:04:40 +00:00
Igor Sysoev
fe9a066d69 fix connection counter in subrequests 2007-01-09 20:58:41 +00:00
Igor Sysoev
36fefe3cfe fix typo 2007-01-09 20:57:49 +00:00
Igor Sysoev
e98b867409 bump version 2007-01-09 20:57:24 +00:00
Igor Sysoev
a3ec505730 do not count connection for subrequest 2007-01-09 16:26:53 +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
1691aaf290 correct an error log message 2007-01-08 18:23:38 +00:00
Igor Sysoev
2316936389 use right status code 2007-01-08 18:22:06 +00:00
Igor Sysoev
36b1edca84 undo r979 2007-01-08 18:20:03 +00:00
Igor Sysoev
61fc473b9c d2i_SSL_SESSION() was changed in 0.9.7f 2007-01-08 16:20:33 +00:00
Igor Sysoev
dd15b55fbc style fix 2007-01-07 22:44:56 +00:00
Igor Sysoev
eb9b9d1c95 new syntax 2007-01-07 18:52:34 +00:00
Igor Sysoev
e7b5df16ba ngx_http_realip_module must return NGX_DECLINED 2007-01-07 18:45:55 +00:00
Igor Sysoev
6eee80156f count connection once per request 2007-01-07 17:47:17 +00:00
Igor Sysoev
d5ca16cdd4 ngx_http_variable_binary_remote_addr() 2007-01-07 13:36:56 +00:00
Igor Sysoev
e6bf2be77e $binary_remote_addr 2007-01-07 13:35:08 +00:00
Igor Sysoev
ba658fc603 fix key length and alignment 2007-01-07 09:18:26 +00:00
Igor Sysoev
138e384c44 ngx_http_limit_zone_module 2007-01-06 18:52:46 +00:00
Igor Sysoev
14110b311c fix zero size shared zones 2007-01-06 18:52:06 +00:00
Igor Sysoev
f250a6dfba fix segfault 2007-01-06 13:01:26 +00:00
Igor Sysoev
5f0b82aa42 style fix: remove trailing spaces 2007-01-03 18:12:32 +00:00
Igor Sysoev
a4c84c5ab2 IMAP ssl_session_cache 2007-01-03 16:11:53 +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
528cdb7c2c ssl_session_cache 2007-01-02 23:55:05 +00:00
Igor Sysoev
28c7f76635 ngx_shared_memory_add() 2007-01-02 23:54:14 +00:00
Igor Sysoev
daf66de4a5 style fix: scf > sscf 2007-01-02 23:50:10 +00:00
Igor Sysoev
018b2a6376 style fix 2007-01-02 23:41:54 +00:00
Igor Sysoev
ebf2bbc310 ngx_ssl_get_server_conf() 2007-01-02 23:37:25 +00:00
Igor Sysoev
7504a40130 OPENSSL_config() 2007-01-02 23:32:41 +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
e974a72404 move ranges array to ngx_http_range_filter_ctx_t 2006-12-29 08:02:31 +00:00
Igor Sysoev
6fd25e105c support ranges for single memory buffer 2006-12-29 07:47:37 +00:00
Igor Sysoev
818700cfcf fix the previous commit 2006-12-29 07:01:11 +00:00
Igor Sysoev
0e8fc7a6b4 fix range in $r->sendfile 2006-12-28 20:55:25 +00:00
Igor Sysoev
c49d3ec7d4 style fix 2006-12-28 20:12:03 +00:00
Igor Sysoev
c9c0358546 increase Linux osrelease string lentgh 2006-12-26 11:50:56 +00:00
Igor Sysoev
1980cc13f1 recursive DELETE 2006-12-25 12:38:44 +00:00
Igor Sysoev
60d30e6378 ngx_walk_tree() 2006-12-25 12:38:00 +00:00
Igor Sysoev
d46aee8242 limit the ngx_http_index_module methods to GET, HEAD and POST 2006-12-25 12:37:04 +00:00
Igor Sysoev
26db569df0 style fix: remove trailing spaces 2006-12-24 21:07:34 +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
97befd1775 lower the log level of the waitpid() ENOCHILD error on FreeBSD 2006-12-23 15:05:26 +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
17b0e8722a fix segfault 2006-12-22 13:05:07 +00:00
Igor Sysoev
ea2f6af9d0 test Darwin 8 atomic(3) 2006-12-22 12:54:08 +00:00
Igor Sysoev
28abaf70ff use MacOSX atomic(3) and barrier(3) operations 2006-12-21 16:33:31 +00:00
Igor Sysoev
d8d4f1b1fd use the right memory barriers 2006-12-21 15:47:00 +00:00
Igor Sysoev
053d1c4da8 larx/stcx. should cycle if the reservation was cleared 2006-12-21 15:20:15 +00:00
Igor Sysoev
4e08b9c17a fix debug log 2006-12-20 19:38:06 +00:00
Igor Sysoev
73dcdbf1a3 use light-weight sync on ppc64 2006-12-19 15:23:20 +00:00
Igor Sysoev
34be8873ca fix atomic operations on ppc64 2006-12-19 13:41:03 +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
e2bec9066a fix typo 2006-12-15 21:18:44 +00:00
Igor Sysoev
03011fa512 fix segfault when $host is used and
*) request is "GET http://host" without CR or LF, or timed out
*) request is "GET      http://host" with a large blank space
2006-12-15 10:24:57 +00:00
Igor Sysoev
c996d3250d bump version 2006-12-14 23:22:34 +00:00
Igor Sysoev
f367b11a62 fix segfault when $host is used and request is "GET http://host HTTP/1.0" 2006-12-14 22:42:52 +00:00
Igor Sysoev
55269a70cf allow "perl" inside "limit_except" 2006-12-14 22:13:33 +00:00
Igor Sysoev
acbcd9da7f DELETE may not have the "Depth" header 2006-12-14 22:12:42 +00:00
Igor Sysoev
fc99b009bc fix number of arguments 2006-12-14 22:11:52 +00:00
Igor Sysoev
6778476a66 bump version 2006-12-13 15:11:27 +00:00
Igor Sysoev
db4e43c225 fix msvc build failure 2006-12-13 15:06:46 +00:00
Igor Sysoev
b6ef94f49b $r->status 2006-12-13 13:49:56 +00:00
Igor Sysoev
5a4344f5f8 add HTTP response codes 2006-12-13 12:31:58 +00:00
Igor Sysoev
df88a81783 fix ngx_http_perl_sleep_handler() 2006-12-13 12:30:57 +00:00
Igor Sysoev
65b8a197b9 $r->variable() supports perl only variables 2006-12-12 22:06:03 +00:00
Igor Sysoev
e773324c30 $r->sleep() 2006-12-12 20:59:24 +00:00
Igor Sysoev
332efbc412 style fix 2006-12-12 20:58:41 +00:00
Igor Sysoev
7e8dd2578a fix $r->has_request_body() 2006-12-12 20:57:48 +00:00
Igor Sysoev
d1985e91f5 axe ngx_http_perl_cleanup_sv(): all SVs should be freed
by perl_free() in ngx_http_perl_cleanup_perl()
2006-12-12 20:06:04 +00:00
Igor Sysoev
e8c5dc6ff4 $r->log_error() 2006-12-12 19:33:13 +00:00
Igor Sysoev
bf3aaac7ac rewritten upstream 2006-12-12 16:46:16 +00:00
Igor Sysoev
63ba5a61b5 fix highly unlikely bug 2006-12-12 15:46:53 +00:00
Igor Sysoev
169efce947 bump version 2006-12-12 14:17:04 +00:00
Igor Sysoev
2fb2a8dbf9 upstream name was tried to resolve 2006-12-11 15:12:07 +00:00
Igor Sysoev
b8989b9694 bump version 2006-12-11 11:05:54 +00:00
Igor Sysoev
5d118d3f77 fix fastcgi and memcached upstreams 2006-12-11 08:59:30 +00:00
Igor Sysoev
cf100a7827 fix post_action for disconnected client 2006-12-11 08:31:54 +00:00
Igor Sysoev
c5783663b8 workaround for Eudora for Mac: it sends
AUTH PLAIN [base64 encoded]
2006-12-11 08:27:29 +00:00
Igor Sysoev
e60b99f1d0 TCP upstreams always used the first TCP upstream with the same name 2006-12-11 08:25:03 +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
a19ed3eddd fix when last htpasswd line has no CR or LF 2006-12-06 14:17:42 +00:00
Igor Sysoev
8f98581bbf the previous fix does not actually fix overflow 2006-12-06 11:33:18 +00:00
Igor Sysoev
8b6844c747 fix msec overflow 2006-12-05 20:30:05 +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
a53f7293c8 Auth-Status: WAIT 2006-12-03 13:48:49 +00:00
Igor Sysoev
90d7bb2b13 the PERL_NO_GET_CONTEXT is actually required, see perlguts 2006-11-28 13:20:34 +00:00
Igor Sysoev
2f899aa56c fix building on 64-bit platforms 2006-11-27 20:47:55 +00:00
Igor Sysoev
a8c54c082c axe old % log format 2006-11-27 14:46:15 +00:00
Igor Sysoev
f9ad2f1545 bump version to 0.5.0 2006-11-27 14:34:42 +00:00
Igor Sysoev
9a29d129f2 add comment 2006-11-26 16:56:41 +00:00
Igor Sysoev
36d520d686 fix segfaults in future workers those will use old configuration,
if new configuration failed
2006-11-26 15:35:02 +00:00
Igor Sysoev
f9b7db5aaa Axe several perl interpreter instances: they may be useful in currently
unsupported threaded environment, but now they complicate code:
*) perl_clone() requires at least duplicating nginx stash;
*) the multiplicity requires to re-evalute all precompiled subroutines
   and nginx stash in new interpreter context.
2006-11-26 14:35:27 +00:00
Igor Sysoev
ac6e1c1254 add debug logging 2006-11-25 23:27:34 +00:00
Igor Sysoev
fab5acdd28 fix recursive perl_set variable call 2006-11-25 23:27:06 +00:00
Igor Sysoev
b5602b113a it seems the PERL_NO_GET_CONTEXT was needed to disable warnings only 2006-11-25 23:24:24 +00:00
Igor Sysoev
e9726bf7f4 style fix 2006-11-25 23:23:27 +00:00
Igor Sysoev
446abc3b4d axe unused code 2006-11-24 13:19:13 +00:00
Igor Sysoev
17e0e1a554 fix segfault 2006-11-23 20:22:24 +00:00
Igor Sysoev
95ead46111 use host part in URL 2006-11-23 20:20:23 +00:00
Igor Sysoev
0de2e655cf fix segfault when connect() failed 2006-11-22 16:00:14 +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
cae66582d5 fix the previous commit 2006-11-19 07:27:10 +00:00
Igor Sysoev
2573f71e14 fix endless loop when too many FastCGI sent too many to stderr 2006-11-18 21:46:16 +00:00
Igor Sysoev
7ef16ce57c proxy_pass_error_message 2006-11-17 14:22:51 +00:00
Igor Sysoev
a4beda6c09 use correct auth method length 2006-11-17 09:30:46 +00:00
Igor Sysoev
478ceec7e3 count s->login_attempt for POP3, minimize code 2006-11-17 09:00:43 +00:00
Igor Sysoev
ae821ceb41 fix segfault when many auth failures occurred 2006-11-17 08:46:34 +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
66fe3fdc10 reset pop3 parsing state 2006-11-16 14:51:07 +00:00
Igor Sysoev
eb885fafd2 fix negative upstream response time 2006-11-15 20:51:07 +00:00
Igor Sysoev
c28473eef4 bump version 2006-11-15 20:07:57 +00:00
Igor Sysoev
ae5db1d400 fix add_before_body without add_after_body 2006-11-14 13:15:08 +00:00
Igor Sysoev
58364233a6 debug log should not be under rewrite_log control 2006-11-14 12:45:03 +00:00
Igor Sysoev
8365f731bf add more WebDAV methods 2006-11-14 12:43:48 +00:00
Igor Sysoev
e927b1e58a allow proxy_pass inside limit_except 2006-11-14 12:43:14 +00:00
Igor Sysoev
81188729e6 charset could not be set for ngx_http_autoindex_module responses 2006-11-13 20:53:37 +00:00
Igor Sysoev
12c94ae212 fix big client body receiving with deferred accept() 2006-11-13 20:40:17 +00:00
Igor Sysoev
ff3540af3a fix FastCGI "zero size buf" alert 2006-11-06 18:46:00 +00:00
Igor Sysoev
5fd6d349c8 fix subrequest limit 2006-11-02 13:48:28 +00:00
Igor Sysoev
85300c3f14 fix subrequest limit 2006-11-02 13:38:25 +00:00
Igor Sysoev
cf5836e850 bump version 2006-10-31 15:41:41 +00:00
Igor Sysoev
eccb108f5c $r->variable 2006-10-31 14:46:48 +00:00
Igor Sysoev
e9b7809178 style fix 2006-10-31 12:30:24 +00:00
Igor Sysoev
bc808a7bab style fix 2006-10-31 12:27:32 +00:00
Igor Sysoev
addd3c8676 treat '\' as special character in win32 only 2006-10-30 20:36:54 +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
a994bd0ae2 change order 2006-10-28 13:59:56 +00:00
Igor Sysoev
0359ba8cc1 optimize the most frequent cases 2006-10-28 12:04:43 +00:00
Igor Sysoev
e23b4849b5 handle the most frequent case first 2006-10-28 10:47:11 +00:00
Igor Sysoev
a724100799 axe unused state 2006-10-28 10:42:24 +00:00
Igor Sysoev
b80a7f4318 omit "#fragment" 2006-10-28 10:15:31 +00:00
Igor Sysoev
4346bab52e we do not need the zero terminated r->uri for a long time 2006-10-28 08:45:01 +00:00
Igor Sysoev
da04d54f81 bump version 2006-10-25 16:33:40 +00:00
Igor Sysoev
62f87beb76 style fix: remove trailing spaces 2006-10-25 16:19:03 +00:00
Igor Sysoev
9644b8293a fix log message 2006-10-25 15:38:02 +00:00
Igor Sysoev
711dd6f79a fix alias without trailing slash 2006-10-25 15:36:11 +00:00
Igor Sysoev
297f2bb4b9 axe unused code 2006-10-25 14:13:27 +00:00
Igor Sysoev
2aeb32e564 $r->allow_ranges 2006-10-25 13:56:32 +00:00
Igor Sysoev
3e5d9454c3 bugfixes 2006-10-25 13:07:11 +00:00
Igor Sysoev
50cca1cb4b AUTH PLAIN LOGIN CRAM-MD5 2006-10-24 18:38:31 +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
914bcbd671 now the "memcached_pass" directive uses ngx_parse_url() 2006-10-24 13:50:35 +00:00
Igor Sysoev
3d7f00d414 axe src/core/ngx_unix_domain.* 2006-10-24 13:43:19 +00:00
Igor Sysoev
7063343a6c now the "auth_http" directive uses ngx_parse_url() 2006-10-24 13:22:59 +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
73c80d82c1 disable write level event while waiting auth server response 2006-10-20 20:43:01 +00:00
Igor Sysoev
a1e7b04a43 NULL is short way 2006-10-20 19:10:16 +00:00
Igor Sysoev
44d8bc2ff1 fix segfault if $server_addr failed 2006-10-20 19:07:50 +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
c1484ffa65 downgrade gravity of getsockname() errors 2006-10-18 14:27:16 +00:00
Igor Sysoev
37188918ed style fix: remove trailing spaces 2006-10-17 16:13:49 +00:00
Igor Sysoev
bb8bbb7c0b backout r783 and add comment 2006-10-17 12:47:14 +00:00
Igor Sysoev
adfd14529b win32 uint16_t definition 2006-10-16 13:59:37 +00:00
Igor Sysoev
cab3b30e2c fix building by Debian gcc-4.1.2 amd64 2006-10-16 13:29:52 +00:00
Igor Sysoev
066496a56c decrease number of branches 2006-10-16 12:21:17 +00:00
Igor Sysoev
e5efadb60e add 255th array element 2006-10-16 11:28:33 +00:00
Igor Sysoev
9ab9f0a220 allow ranges for full flv files 2006-10-16 07:47:00 +00:00
Igor Sysoev
d54c497d97 bump version 2006-10-13 15:47:56 +00:00
Igor Sysoev
960100e371 <!--#include virtual=... set=... --> 2006-10-13 15:20:10 +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
d79b21d1c6 previous commit broke two modules 2006-10-12 13:56:16 +00:00
Igor Sysoev
0e5f86d871 remove r->root_length 2006-10-12 13:36:54 +00:00
Igor Sysoev
c3df798bb4 compact r->http_minor and r->http_major 2006-10-12 13:08:26 +00:00
Igor Sysoev
8f2db1fbe3 bump version 2006-10-11 19:07:34 +00:00
Igor Sysoev
84b7f5ba0d fix <!--#include virtual=... wait="yes" -->
r766 did not fix the bug too
2006-10-11 14:33:38 +00:00
Igor Sysoev
35d5272e3a ngx_list_create() 2006-10-11 12:47:11 +00:00
Igor Sysoev
d40ee41c09 fix <!--#include virtual=... wait="yes" -->
r759 did not fix the bug
2006-10-11 09:12:01 +00:00
Igor Sysoev
a33dafb110 do not send flv header for full file 2006-10-11 05:33:15 +00:00
Igor Sysoev
358ec14ce9 variable should not be found if no request body file 2006-10-11 05:32:39 +00:00
Igor Sysoev
7a8b17a553 bump version 2006-10-10 16:15:27 +00:00
Igor Sysoev
bb49607243 $request_body_file 2006-10-10 15:50:08 +00:00
Igor Sysoev
9fcccaf66f fix <!--#include virtual=... wait="yes" --> 2006-10-10 14:30:39 +00:00
Igor Sysoev
cea316dbae not do ngx_http_upstream_finalize_request() twice 2006-10-10 13:17:58 +00:00
Igor Sysoev
e3fbaeaffe fix building introduced by previous commit 2006-10-10 13:12:13 +00:00
Igor Sysoev
52ec2c48b9 finalize nonbuffered request on timeout 2006-10-10 13:11:06 +00:00
Igor Sysoev
fc3f068bc5 style fix: remove trailing spaces 2006-10-09 15:38:59 +00:00
Igor Sysoev
b50500689a ngx_http_flv_module 2006-10-09 14:17:36 +00:00
Igor Sysoev
5ad1d4b5ef ngx_http_charset_module supports the variables 2006-10-09 14:16:36 +00:00
Igor Sysoev
aec57e2613 align hash bucket size to cache line 2006-10-09 14:03:16 +00:00
Igor Sysoev
627b8aa3bd fix hash building on unknown 64-bit platform 2006-10-06 15:06:02 +00:00