Commit graph

1510 commits

Author SHA1 Message Date
Igor Sysoev
2b1f24f6b0 fastcgi params debug logging 2008-03-16 18:03:10 +00:00
Igor Sysoev
e0283b6ece speed up ngx_http_charset_recode() for 25%: google-perftools reported
that CPU usage of charset body filter has decreased from 7.5% to 5.5%
if gzipping is disabled
2008-03-16 16:52:15 +00:00
Igor Sysoev
48de2e9629 test the more likely case first 2008-03-16 16:47:16 +00:00
Igor Sysoev
83bbdf3309 use the more correct mask 2008-03-16 13:29:49 +00:00
Igor Sysoev
977d4a7972 style fix 2008-03-14 12:31:20 +00:00
Igor Sysoev
618948dc4a fix building on 64-bit platforms broken in r1900 2008-03-13 15:48:36 +00:00
Igor Sysoev
bfb027f1a5 restore building --test-build-rtsig and --test-build-eventport on FreeBSD 6 2008-03-13 15:47:14 +00:00
Igor Sysoev
b051b72e61 fix the previous commit 2008-03-13 13:00:40 +00:00
Igor Sysoev
540cb9b3aa 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
229294d395 axe useless code 2008-03-13 12:34:59 +00:00
Igor Sysoev
1606b65d8e bump version 2008-03-13 06:39:00 +00:00
Igor Sysoev
1a00c2a554 fix r1921 2008-03-12 19:34:36 +00:00
Igor Sysoev
51aff08456 bump version 2008-03-12 13:37:29 +00:00
Igor Sysoev
830a7fd652 non cacheable $proxy_host and $proxy_port 2008-03-11 14:10:11 +00:00
Igor Sysoev
6bdb1e9451 invalidate SSL session if there is no valid client certificate 2008-03-10 14:47:07 +00:00
Igor Sysoev
4d74d56fbf fix large memory allocation in "error_page 495-497 /uri" 2008-03-10 14:45:41 +00:00
Igor Sysoev
9ea445750d do not change method while error redirection to named location 2008-03-10 14:36:42 +00:00
Igor Sysoev
d0fb6c4044 disable rtsig automatic building in post 2.6.18 Linux kernels 2008-03-10 14:35:21 +00:00
Igor Sysoev
bda142ac94 create dummy resolver in http context to inherit it in all servers 2008-03-06 08:48:55 +00:00
Igor Sysoev
923ff42e46 check duplicate resolver 2008-03-06 08:48:25 +00:00
Igor Sysoev
7c11652b25 decrease log level of connection errors while closing socket 2008-03-05 21:21:26 +00:00
Igor Sysoev
4863093640 ngx_resolve_name() frees ctx on immediate failure 2008-03-05 07:30:44 +00:00
Igor Sysoev
fad16b3a9f reset r->content_handler in a named location 2008-03-04 14:57:07 +00:00
Igor Sysoev
63131f46a8 fix previous commit 2008-03-04 10:47:34 +00:00
Igor Sysoev
f0590d13b0 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
9db321bc4e fix r1903 2008-03-03 20:04:06 +00:00
Igor Sysoev
acc951b0d9 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
b2bf997644 fix r1490 2008-03-03 16:44:56 +00:00
Igor Sysoev
5fc9a66ef5 C++ compatibility 2008-03-03 16:32:16 +00:00
Igor Sysoev
64c52d8378 fix memory leak in long-lived non buffered connections 2008-03-03 10:42:00 +00:00
Igor Sysoev
8e773cdc3b cleanup resolver 2008-02-28 20:38:34 +00:00
Igor Sysoev
5372b96aba left open sockets were not really tested 2008-02-28 20:31:33 +00:00
Igor Sysoev
20a7e32435 fix memory leaks, use unlocked ngx_resolver_free() for seldom failed cases 2008-02-28 20:09:39 +00:00
Igor Sysoev
ee7d212bdf static ngx_resolver_calloc() 2008-02-28 15:34:53 +00:00
Igor Sysoev
bdfa98344c check port in upstream list 2008-02-21 13:58:45 +00:00
Igor Sysoev
5a53d35f7e use CMSG_LEN(), this fixes an alert "sendmsg() failed (9: Bad file descriptor)"
on some 64-bit platforms
2008-02-19 16:34:55 +00:00
Igor Sysoev
112f4b1165 avoid endless loop if epoll is used 2008-02-19 16:30:54 +00:00
Igor Sysoev
bce20ada9f pass additional arguments in ngx_http_perl_call_handler() as SV 2008-02-16 14:29:44 +00:00
Igor Sysoev
174d85a985 fix previous commit 2008-02-16 14:24:43 +00:00
Igor Sysoev
f064fb9a23 optimize $r->sleep 2008-02-16 14:23:14 +00:00
Igor Sysoev
0301dca171 do not resolve SMTP clients by default 2008-02-16 13:46:33 +00:00
Igor Sysoev
97d4e8106c delete unneeded dXSTARG 2008-02-15 13:57:55 +00:00
Igor Sysoev
92bff7d88a named locations in post_action 2008-02-15 12:46:40 +00:00
Igor Sysoev
2d46d11798 fix segfault if empty stub block is used second time 2008-02-14 16:03:48 +00:00
Igor Sysoev
2209d9e17e resolver in smtp proxy module 2008-02-13 13:50:04 +00:00
Igor Sysoev
af519c8c3b length calculation did not take into account escaped symbols in arguments 2008-02-12 18:05:32 +00:00
Igor Sysoev
bbdef43461 bump version 2008-02-11 15:27:44 +00:00
Igor Sysoev
58a15e5a7d set absolute weight, this fixes bogus "no live upstream" case when
last upstream is down while live one has negative weight
2008-02-11 14:31:38 +00:00
Igor Sysoev
ffca03813a add X-Accel-Charset to ingored header, fix X-Accel-Buffering 2008-02-11 14:02:28 +00:00
Igor Sysoev
e881c923af test response length in proxy/fastcgi_store 2008-02-11 13:14:56 +00:00
Igor Sysoev
3ae8899767 fix order 2008-02-07 10:45:04 +00:00
Igor Sysoev
7033238125 fix order 2008-02-07 10:43:45 +00:00
Igor Sysoev
3e0e2592c3 fix order 2008-02-07 10:38:13 +00:00
Igor Sysoev
ed17a5a76b fix return code 2008-02-07 08:57:07 +00:00
Igor Sysoev
02a5ce8dca fix r1879 2008-02-06 17:23:17 +00:00
Igor Sysoev
d360e73c70 do not delete failed DNS request if there are waiting clients 2008-02-06 16:08:52 +00:00
Igor Sysoev
ae671bed79 fix segfault if UDP connect() has failed 2008-02-06 16:01:35 +00:00
Igor Sysoev
5d76c1f897 low SSL handshake close notify alert error level 2008-02-04 20:46:58 +00:00
Igor Sysoev
18a1a9a9a6 low SSL handshake errors level 2008-02-01 14:05:18 +00:00
Igor Sysoev
cc76e9c91f reset ready flag if no data is available,
this fixes endless loop at least in lingering close
2008-01-31 15:36:33 +00:00
Igor Sysoev
09f6e25c89 treat time_t as unsigned time 2008-01-31 15:14:31 +00:00
Igor Sysoev
4e7e486b56 backout r1757, we really need SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER 2008-01-31 15:10:45 +00:00
Igor Sysoev
5cffe1052c detect L2 cache line size for Intel Core 2008-01-29 07:06:18 +00:00
Igor Sysoev
d10ae97e18 fix cache line size for Pentium 4 2008-01-29 06:58:47 +00:00
Igor Sysoev
f092482ae7 fix building --test-build-rtsig and --test-build-eventport on FreeBSD 7 2008-01-28 16:24:01 +00:00
Igor Sysoev
db38365ab7 add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWN 2008-01-25 14:57:35 +00:00
Igor Sysoev
929d881e1d pull all errors 2008-01-25 14:56:37 +00:00
Igor Sysoev
749922f792 limit string length 2008-01-24 15:18:58 +00:00
Igor Sysoev
7b1670f1c5 use correct type cast 2008-01-24 15:18:17 +00:00
Igor Sysoev
2257b8aea1 fix bogus crit log message "SSL_shutdown() failed" introduced in r1755 2008-01-22 16:04:35 +00:00
Igor Sysoev
ec32b25b84 fix building by msvc introduced in r1817 2008-01-22 15:16:38 +00:00
Igor Sysoev
9b813cffc8 allow zero length in %*s 2008-01-22 15:13:01 +00:00
Igor Sysoev
c2d454a9c4 fix building by bcc introduced by r1831 2008-01-22 15:09:55 +00:00
Igor Sysoev
2ebe2174bc pull all errors 2008-01-10 08:45:00 +00:00
Igor Sysoev
c366bd9136 grammar fix 2008-01-10 08:36:14 +00:00
Igor Sysoev
6ddfa43a74 fix building by gcc42, etc. introduced in r1858 2008-01-09 15:27:27 +00:00
Igor Sysoev
e15b10b8e9 add code missed in r1856 2008-01-09 08:21:57 +00:00
Igor Sysoev
aea406bbad update GET method text in an subrequest 2008-01-08 21:06:38 +00:00
Igor Sysoev
79fba80985 axe old flag remained after ancient "post_accept_timeout" directive 2008-01-08 20:55:27 +00:00
Igor Sysoev
cfd21584ef add code missed in r1830 2008-01-08 20:51:06 +00:00
Igor Sysoev
4dda2bd7a6 bump version 2008-01-08 13:05:18 +00:00
Igor Sysoev
e559b52f2f style fix: remove trailing space 2008-01-08 11:33:14 +00:00
Igor Sysoev
ff3410aa48 workaround for Linux 2.6 OpenVZ 2008-01-08 11:31:50 +00:00
Igor Sysoev
8a712e4a15 ngx_http_gzip_static_module should DECLINE request 2008-01-08 10:35:50 +00:00
Igor Sysoev
39de6a4033 fix comment 2008-01-05 19:07:10 +00:00
Igor Sysoev
26e737a2c8 change order 2008-01-04 11:54:55 +00:00
Igor Sysoev
912893e685 fix socket leak if deferred accept was used 2008-01-04 09:32:12 +00:00
Igor Sysoev
edd04ac52f use ngx_ext_rename_file() in PUT 2008-01-03 22:18:21 +00:00
Igor Sysoev
e58627919e add declaration missed in previous commit 2008-01-03 22:17:27 +00:00
Igor Sysoev
7d96521689 transform ngx_create_path_and_rename_file() to ngx_ext_rename_file() 2008-01-03 22:16:37 +00:00
Igor Sysoev
7f553e9bb6 do not delete target until all tests will be done,
fix single file COPY/MOVE
2008-01-03 21:44:38 +00:00
Igor Sysoev
18ccec6eb6 add log 2008-01-03 21:29:01 +00:00
Igor Sysoev
dcfcf08842 add comment 2008-01-03 20:43:12 +00:00
Igor Sysoev
8d1eeee6c6 test URI/Destination collection/non-collection and Depth 2008-01-03 20:09:51 +00:00
Igor Sysoev
d7037b6ea5 axe useless code 2008-01-03 20:06:09 +00:00
Igor Sysoev
c691a0ed26 change order 2008-01-03 19:18:25 +00:00
Igor Sysoev
cd4b71abc4 change status code, add log message, and test collection URI 2008-01-03 19:13:04 +00:00
Igor Sysoev
cde0bc81f1 style fix 2008-01-03 17:21:13 +00:00
Igor Sysoev
5ffbd97658 min_delete_depth 2007-12-30 11:46:03 +00:00
Igor Sysoev
071619f2ba log DELETE errors 2007-12-30 10:24:43 +00:00