Commit graph

944 commits

Author SHA1 Message Date
Igor Sysoev
dde9a92782 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
7a9fac906b add debug logging 2007-02-15 10:00:59 +00:00
Igor Sysoev
99417ab217 return error for too long commands 2007-02-14 20:45:19 +00:00
Igor Sysoev
2e32c0fc0d ngx_strcasecmp()/ngx_strncasecmp() 2007-02-14 18:51:19 +00:00
Igor Sysoev
88dd7b6673 fix building on platforms with non-supported atomic operations 2007-02-14 13:52:47 +00:00
Igor Sysoev
e50c956ba5 bump version 2007-02-12 15:37:36 +00:00
Igor Sysoev
8b7bc193f4 correct r1100 2007-02-12 14:58:45 +00:00
Igor Sysoev
10af0f092a fix building with ngx_http_perl_module 2007-02-12 13:19:12 +00:00
Igor Sysoev
cea125af7c fix building on platforms with non-supported atomic operations 2007-02-11 07:49:12 +00:00
Igor Sysoev
90d1b9be12 fix segfault when a large FastCGI response was written to a temporary file 2007-02-09 14:02:42 +00:00
Igor Sysoev
4b03125f8a log a right subrequest 2007-02-09 13:49:14 +00:00
Igor Sysoev
efcd010f0b 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
0a75803fe3 bump version 2007-02-05 14:49:52 +00:00
Igor Sysoev
a2f7ee9bdf fix several ranges 2007-02-04 18:40:47 +00:00
Igor Sysoev
9e15143ce5 style fix 2007-01-31 07:31:50 +00:00
Igor Sysoev
487d5f55ca allocate less memory on 64-bit platforms 2007-01-29 20:33:51 +00:00
Igor Sysoev
3ed7778548 shorten temporary names on 64-bit platforms 2007-01-29 20:28:00 +00:00
Igor Sysoev
44779711de use ngx_dir_access() to enable search bits for directory 2007-01-29 12:25:44 +00:00
Igor Sysoev
449fb3af0d eliminate the useless space symbol 2007-01-29 11:54:36 +00:00
Igor Sysoev
cc415a0f64 log a real response error code instead of "0" 2007-01-29 11:53:23 +00:00
Igor Sysoev
88c3e52258 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
facdb56a28 bump version 2007-01-25 22:19:34 +00:00
Igor Sysoev
500025921f 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
b0a33d1ae2 fix online upgrade 2007-01-25 21:48:28 +00:00
Igor Sysoev
84a0149f59 bump version 2007-01-25 21:45:22 +00:00
Igor Sysoev
72e11d8a58 $memcached_key 2007-01-25 08:45:41 +00:00
Igor Sysoev
ef1d3455f5 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
7eebc093e0 fix "access_log off" 2007-01-24 09:15:25 +00:00
Igor Sysoev
ed860f47ed client_body_in_file_only any 2007-01-24 09:14:08 +00:00
Igor Sysoev
84e6701379 delete temporary file for incomplete small request body 2007-01-23 12:55:23 +00:00
Igor Sysoev
5b9226167f log a failure of the writing to access_log once per minute 2007-01-21 19:01:01 +00:00
Igor Sysoev
9f93319aa3 allow "sendfile" in "if" context 2007-01-21 17:42:28 +00:00
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