Commit graph

962 commits

Author SHA1 Message Date
Igor Sysoev
3142a55af5 env 2007-01-20 19:26:48 +00:00
Igor Sysoev
f00977dc75 bump version 2007-01-19 19:48:48 +00:00
Igor Sysoev
07e9326673 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
64fb74b910 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
8cff9c0e4c a non-active client connection must not closed after send timeout 2007-01-19 12:22:32 +00:00
Igor Sysoev
e5be3c2404 style and comment fix 2007-01-19 11:35:26 +00:00
Igor Sysoev
38cbe9a971 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
82e75d27e6 the PUTing to collection must return NGX_HTTP_BAD_REQUEST 2007-01-18 21:14:46 +00:00
Igor Sysoev
45dbd62fe7 the "Overwrite" header line 2007-01-18 21:11:23 +00:00
Igor Sysoev
af3394b9ca add size, access, and mtime to ngx_walk_tree() 2007-01-18 21:04:31 +00:00
Igor Sysoev
c40c7e8c56 NGX_HTTP_PRECONDITION_FAILED 2007-01-18 20:51:51 +00:00
Igor Sysoev
8c69f861c9 update nginx.xs to ngx_open_file(name, mode, create, access) 2007-01-18 20:48:03 +00:00
Igor Sysoev
886563bfd9 ngx_read_fd() 2007-01-18 20:39:30 +00:00
Igor Sysoev
cad434409d NGX_FILE_WRONLY 2007-01-18 20:37:19 +00:00
Igor Sysoev
ce83ea1a10 ngx_file_access() and ngx_de_access() 2007-01-18 20:31:22 +00:00
Igor Sysoev
5af15b2e67 style fix 2007-01-18 20:25:11 +00:00
Igor Sysoev
7262f047c7 axe Win9X code 2007-01-18 20:24:30 +00:00
Igor Sysoev
8577c16e42 add comment 2007-01-18 20:23:16 +00:00
Igor Sysoev
2ab4ef302a axe unused code 2007-01-18 20:22:40 +00:00
Igor Sysoev
0384d31723 ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access) 2007-01-18 20:15:09 +00:00
Igor Sysoev
9e66d69a5f style fix 2007-01-18 20:05:39 +00:00
Igor Sysoev
698028f2a0 rename mode to access 2007-01-18 19:52:18 +00:00
Igor Sysoev
1638434056 unused value 2007-01-18 19:49:00 +00:00
Igor Sysoev
3feb60b024 style fix: remove trailing spaces 2007-01-18 19:40:31 +00:00
Igor Sysoev
dd76caae14 fix log message 2007-01-18 14:28:34 +00:00
Igor Sysoev
a7f3f0a13a fix FastCGI "zero size buf" alert,
the previous commit did not fix too
2007-01-18 07:07:55 +00:00
Igor Sysoev
3437907ea0 fix FastCGI "zero size buf" alert,
r841 did not fix it
2007-01-17 16:10:40 +00:00
Igor Sysoev
63be424e48 style fix 2007-01-17 10:50:52 +00:00
Igor Sysoev
0f190f2385 fix debug logging 2007-01-16 20:43:36 +00:00
Igor Sysoev
bd0178106b fix comparison 2007-01-16 19:01:10 +00:00
Igor Sysoev
72d9bcf874 bump version 2007-01-16 11:04:51 +00:00
Igor Sysoev
925ea6d188 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
2adcffe7f7 allow the upstream modules to send a header only 2007-01-15 17:12:43 +00:00
Igor Sysoev
9ad4d312d9 add debug logging for FastCGI zero size buf alert 2007-01-15 16:00:51 +00:00
Igor Sysoev
eeb2bc3d05 ngx_strn2cmp() > ngx_memn2cmp() 2007-01-12 21:58:02 +00:00
Igor Sysoev
3ba3eb196b style fix 2007-01-12 21:57:20 +00:00
Igor Sysoev
2985fe2d39 fix duplicate rbtree keys case 2007-01-12 20:57:34 +00:00
Igor Sysoev
3369ed8af3 fix duplicate rbtree keys case 2007-01-12 20:38:17 +00:00
Igor Sysoev
ad13a152a8 style fix: remove tabs 2007-01-12 20:26:39 +00:00
Igor Sysoev
94e3ad5e7f ngx_strn2cmp() 2007-01-12 20:15:59 +00:00
Igor Sysoev
709c3b78f4 make global the rbtree color handling macros 2007-01-12 19:48:30 +00:00
Igor Sysoev
c389d7ae21 add comment 2007-01-12 19:26:38 +00:00
Igor Sysoev
d732f6d1f2 fix comment 2007-01-12 18:05:41 +00:00
Igor Sysoev
f0d1ec5af2 axe aio drafts 2007-01-11 22:08:50 +00:00
Igor Sysoev
ea8833dc97 axe long ago unnecessary file 2007-01-11 22:05:15 +00:00
Igor Sysoev
f86553d497 fix slab allocator on 64-bit platfroms 2007-01-11 19:13:46 +00:00
Igor Sysoev
4a15616011 optimize the SSL session cache allocations on 64-bit platforms 2007-01-11 18:59:17 +00:00
Igor Sysoev
3e024877e3 fix slab allocator on 64-bit platfroms 2007-01-11 18:58:40 +00:00
Igor Sysoev
6601f8c4a0 ssl_session_timeout was set only if builtin cache was used 2007-01-11 18:57:09 +00:00
Igor Sysoev
ab1303fe90 optimize the SSL session cache allocations 2007-01-11 17:39:02 +00:00
Igor Sysoev
d5508779cd stop rbtree search early if equal hash was found 2007-01-11 17:05:18 +00:00
Igor Sysoev
cde44f2377 stop rbtree search early if equal hash was found 2007-01-11 16:57:30 +00:00
Igor Sysoev
97e64a714e test length of variable and number of connections 2007-01-11 16:50:06 +00:00
Igor Sysoev
85e2674eb8 optimization 2007-01-11 16:07:38 +00:00
Igor Sysoev
dbf31d5be7 optimize inlined code for gcc 2007-01-11 16:07:03 +00:00
Igor Sysoev
ebbf35eab3 use "r" instead of "q" 2007-01-11 16:00:02 +00:00
Igor Sysoev
ed9b8542fc fix segfault 2007-01-09 22:04:40 +00:00
Igor Sysoev
4fa3bfa639 fix connection counter in subrequests 2007-01-09 20:58:41 +00:00
Igor Sysoev
a2407589e8 fix typo 2007-01-09 20:57:49 +00:00
Igor Sysoev
8dfe18d338 bump version 2007-01-09 20:57:24 +00:00
Igor Sysoev
02570198d9 do not count connection for subrequest 2007-01-09 16:26:53 +00:00
Igor Sysoev
88c70f05ea fix label name 2007-01-09 16:02:29 +00:00
Igor Sysoev
83ed52187b free the unnecessary shared memory 2007-01-09 16:00:57 +00:00
Igor Sysoev
a7b43fe6a6 fix the comments 2007-01-09 16:00:07 +00:00
Igor Sysoev
a40037fd87 pass the inherited shm_zone data 2007-01-09 15:59:20 +00:00
Igor Sysoev
65278e8284 correct an error log message 2007-01-08 18:23:38 +00:00
Igor Sysoev
2750b8ef74 use right status code 2007-01-08 18:22:06 +00:00
Igor Sysoev
7e38e2b687 undo r979 2007-01-08 18:20:03 +00:00
Igor Sysoev
34267b11f9 d2i_SSL_SESSION() was changed in 0.9.7f 2007-01-08 16:20:33 +00:00
Igor Sysoev
f134de9c44 style fix 2007-01-07 22:44:56 +00:00
Igor Sysoev
792a386511 new syntax 2007-01-07 18:52:34 +00:00
Igor Sysoev
01bbae0b75 ngx_http_realip_module must return NGX_DECLINED 2007-01-07 18:45:55 +00:00
Igor Sysoev
b619e8357a count connection once per request 2007-01-07 17:47:17 +00:00
Igor Sysoev
ab3999bb3d ngx_http_variable_binary_remote_addr() 2007-01-07 13:36:56 +00:00
Igor Sysoev
024f16d8fa $binary_remote_addr 2007-01-07 13:35:08 +00:00
Igor Sysoev
aadd58feff fix key length and alignment 2007-01-07 09:18:26 +00:00
Igor Sysoev
f77b9a5710 ngx_http_limit_zone_module 2007-01-06 18:52:46 +00:00
Igor Sysoev
44b18ea6f9 fix zero size shared zones 2007-01-06 18:52:06 +00:00
Igor Sysoev
2bab3862cd fix segfault 2007-01-06 13:01:26 +00:00
Igor Sysoev
7233e3c1d4 style fix: remove trailing spaces 2007-01-03 18:12:32 +00:00
Igor Sysoev
bf5891c46b IMAP ssl_session_cache 2007-01-03 16:11:53 +00:00
Igor Sysoev
f75d8d8013 fix segfaults 2007-01-03 15:43:01 +00:00
Igor Sysoev
c39502dcaf move the session cache callbacks to the ngx_openssl_module 2007-01-03 15:25:40 +00:00
Igor Sysoev
7e1f8df4d5 ssl_session_cache 2007-01-02 23:55:05 +00:00
Igor Sysoev
baf3d4d28f ngx_shared_memory_add() 2007-01-02 23:54:14 +00:00
Igor Sysoev
0f57832db9 style fix: scf > sscf 2007-01-02 23:50:10 +00:00
Igor Sysoev
4b2ed12c5f style fix 2007-01-02 23:41:54 +00:00
Igor Sysoev
c845a243e6 ngx_ssl_get_server_conf() 2007-01-02 23:37:25 +00:00
Igor Sysoev
53eba460fe OPENSSL_config() 2007-01-02 23:32:41 +00:00
Igor Sysoev
ee4701d071 style fix 2007-01-02 23:12:24 +00:00
Igor Sysoev
66bc7e4064 many bug fixes and ngx_slab_alloc_locked()/ngx_slab_free_locked() 2007-01-02 23:10:42 +00:00
Igor Sysoev
5f357745a4 a sentinel must be black 2007-01-02 23:04:54 +00:00
Igor Sysoev
202e3f2397 move ranges array to ngx_http_range_filter_ctx_t 2006-12-29 08:02:31 +00:00
Igor Sysoev
b8d09631fd support ranges for single memory buffer 2006-12-29 07:47:37 +00:00
Igor Sysoev
317aa48a17 fix the previous commit 2006-12-29 07:01:11 +00:00
Igor Sysoev
53b6cdab76 fix range in $r->sendfile 2006-12-28 20:55:25 +00:00
Igor Sysoev
1b587fb995 style fix 2006-12-28 20:12:03 +00:00
Igor Sysoev
ca61b6709c increase Linux osrelease string lentgh 2006-12-26 11:50:56 +00:00
Igor Sysoev
54f5c78b41 recursive DELETE 2006-12-25 12:38:44 +00:00
Igor Sysoev
2e38c717f6 ngx_walk_tree() 2006-12-25 12:38:00 +00:00
Igor Sysoev
64b76b0fc6 limit the ngx_http_index_module methods to GET, HEAD and POST 2006-12-25 12:37:04 +00:00
Igor Sysoev
abcebb92e3 style fix: remove trailing spaces 2006-12-24 21:07:34 +00:00
Igor Sysoev
7a05b38603 bump version 2006-12-24 18:42:26 +00:00
Igor Sysoev
aff04b4944 worker_rlimit_core supports size in K, M, and G 2006-12-24 18:13:06 +00:00
Igor Sysoev
9a995322da add comment 2006-12-24 13:11:41 +00:00
Igor Sysoev
b9110d1ba7 the -V switch 2006-12-23 19:54:21 +00:00
Igor Sysoev
eeba2a00d6 lower the log level of the waitpid() ENOCHILD error on FreeBSD 2006-12-23 15:05:26 +00:00
Igor Sysoev
dad6ea1aaf 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
a3478c164c fix segfault 2006-12-22 13:05:07 +00:00
Igor Sysoev
ce561be352 test Darwin 8 atomic(3) 2006-12-22 12:54:08 +00:00
Igor Sysoev
eb4e54e202 use MacOSX atomic(3) and barrier(3) operations 2006-12-21 16:33:31 +00:00
Igor Sysoev
1ba2f8c241 use the right memory barriers 2006-12-21 15:47:00 +00:00
Igor Sysoev
c8affc0e0e larx/stcx. should cycle if the reservation was cleared 2006-12-21 15:20:15 +00:00
Igor Sysoev
11758d23e5 fix debug log 2006-12-20 19:38:06 +00:00
Igor Sysoev
ad0fdb6ccf use light-weight sync on ppc64 2006-12-19 15:23:20 +00:00
Igor Sysoev
db74d354e3 fix atomic operations on ppc64 2006-12-19 13:41:03 +00:00
Igor Sysoev
7b57483763 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
ffb08beb49 the initial slot is out of array 2006-12-19 12:38:20 +00:00
Igor Sysoev
3580e64b5f fix segfault in "out of memory" situation 2006-12-18 20:46:49 +00:00
Igor Sysoev
07654eee3b allocate aligned ngx_crc32_table_short globally 2006-12-15 21:31:03 +00:00
Igor Sysoev
d22c810671 fix typo 2006-12-15 21:18:44 +00:00
Igor Sysoev
1c0748753a 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
4b45b98dda bump version 2006-12-14 23:22:34 +00:00
Igor Sysoev
1fcebf6b14 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
843db60172 allow "perl" inside "limit_except" 2006-12-14 22:13:33 +00:00
Igor Sysoev
4900b8288a DELETE may not have the "Depth" header 2006-12-14 22:12:42 +00:00
Igor Sysoev
670f53f17a fix number of arguments 2006-12-14 22:11:52 +00:00
Igor Sysoev
5bc3d39eee bump version 2006-12-13 15:11:27 +00:00
Igor Sysoev
b395b435d7 fix msvc build failure 2006-12-13 15:06:46 +00:00
Igor Sysoev
014278757d $r->status 2006-12-13 13:49:56 +00:00
Igor Sysoev
2142f717bc add HTTP response codes 2006-12-13 12:31:58 +00:00
Igor Sysoev
1bafd0a755 fix ngx_http_perl_sleep_handler() 2006-12-13 12:30:57 +00:00
Igor Sysoev
ab48ef48de $r->variable() supports perl only variables 2006-12-12 22:06:03 +00:00
Igor Sysoev
c8cd19970d $r->sleep() 2006-12-12 20:59:24 +00:00
Igor Sysoev
de09e1081d style fix 2006-12-12 20:58:41 +00:00
Igor Sysoev
d64cedb8a0 fix $r->has_request_body() 2006-12-12 20:57:48 +00:00
Igor Sysoev
efa89c7b73 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
2581c8a93e $r->log_error() 2006-12-12 19:33:13 +00:00
Igor Sysoev
a01e63ea8c rewritten upstream 2006-12-12 16:46:16 +00:00
Igor Sysoev
706f559bf2 fix highly unlikely bug 2006-12-12 15:46:53 +00:00
Igor Sysoev
a8b98f8138 bump version 2006-12-12 14:17:04 +00:00
Igor Sysoev
b70d716e37 upstream name was tried to resolve 2006-12-11 15:12:07 +00:00
Igor Sysoev
4f7ae44085 bump version 2006-12-11 11:05:54 +00:00
Igor Sysoev
e522905cba fix fastcgi and memcached upstreams 2006-12-11 08:59:30 +00:00
Igor Sysoev
97b82cce5b fix post_action for disconnected client 2006-12-11 08:31:54 +00:00
Igor Sysoev
07f00f0275 workaround for Eudora for Mac: it sends
AUTH PLAIN [base64 encoded]
2006-12-11 08:27:29 +00:00
Igor Sysoev
d09a1338c0 TCP upstreams always used the first TCP upstream with the same name 2006-12-11 08:25:03 +00:00
Igor Sysoev
c06c920284 unix socket upstreams always used the first unix upstream 2006-12-06 15:39:08 +00:00
Igor Sysoev
c887bd6f86 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
ab868cb984 fix when last htpasswd line has no CR or LF 2006-12-06 14:17:42 +00:00