Commit graph

1289 commits

Author SHA1 Message Date
Igor Sysoev
3e34d90164 ngx_md5.h 2007-10-16 11:59:47 +00:00
Igor Sysoev
72dd95b480 bump version 2007-10-15 11:32:09 +00:00
Igor Sysoev
ad8723ae80 use real weight, do not downground to one 2007-10-15 10:15:54 +00:00
Igor Sysoev
531115412f memcached did not set $upstream_response_time 2007-10-15 09:46:36 +00:00
Igor Sysoev
859fded207 fix segfault when $date_local or $date_gmt are used outside ssi module 2007-10-14 19:04:23 +00:00
Igor Sysoev
2e4e39296a fix English grammar 2007-10-14 18:56:15 +00:00
Igor Sysoev
1a344ced38 optimization 2007-10-10 13:58:47 +00:00
Igor Sysoev
b8baad1936 style fix: remove double semicolons 2007-10-09 20:11:03 +00:00
Igor Sysoev
1faaf3ac9a allow access_log inside limit_except 2007-10-09 18:45:49 +00:00
Igor Sysoev
34f87ac373 %v fix lost in r1407 2007-10-09 18:44:59 +00:00
Igor Sysoev
df7cac2b02 style fix: remove trailing spaces 2007-10-09 18:42:00 +00:00
Igor Sysoev
1b528b45da use pool instead of ngx_conf_t 2007-10-08 08:55:12 +00:00
Igor Sysoev
4f7f6b33a3 optimization 2007-10-08 04:59:26 +00:00
Igor Sysoev
21043e8ffe *) add sub_filter parser fix similar to r1261 in SSI parser
*) fix case when pattern is split between two buffers:
   it had been fixed in SSI parser long ago
2007-10-02 18:53:31 +00:00
Igor Sysoev
a472d89407 fix r1552 and r1464: test max fails in correct peer 2007-10-02 12:34:16 +00:00
Igor Sysoev
6bf1224438 fix empty string replacement in sub_filter 2007-10-01 16:24:15 +00:00
Igor Sysoev
183b4db9f3 two commits those go together by mistake
*) fix gzip broken in r1544
*) fix memcached END test
2007-10-01 16:00:13 +00:00
Igor Sysoev
5e1a14b2b1 use ngx_strnstr() 2007-10-01 14:48:45 +00:00
Igor Sysoev
2c924bac25 ngx_strnstr() 2007-10-01 14:48:33 +00:00
Igor Sysoev
97ffb89fd5 fix r1464: test max fails in correct peer 2007-10-01 14:45:31 +00:00
Igor Sysoev
15ae439ba8 add comment 2007-10-01 13:00:30 +00:00
Igor Sysoev
24bcae3edb pass length clearly 2007-10-01 12:57:47 +00:00
Igor Sysoev
1f187b3892 style fix 2007-09-29 11:45:46 +00:00
Igor Sysoev
cb16d14fca add time and length to a HEAD request 2007-09-28 09:48:25 +00:00
Igor Sysoev
6e95d33eb0 omit trailing zero in directory name 2007-09-27 09:39:29 +00:00
Igor Sysoev
e90ee470d4 SSI echo encoding 2007-09-27 09:37:09 +00:00
Igor Sysoev
ed203139f6 ngx_escape_html() 2007-09-27 09:36:50 +00:00
Igor Sysoev
21b063f499 use ngx_strstrn() and ngx_strcasestrn() 2007-09-26 19:26:14 +00:00
Igor Sysoev
b15f13ccf0 ngx_strstrn() and ngx_strcasestrn() 2007-09-26 19:25:52 +00:00
Igor Sysoev
773786c1c4 fix comment 2007-09-26 12:23:34 +00:00
Igor Sysoev
0d2160c48d bump version 2007-09-24 04:18:22 +00:00
Igor Sysoev
93378db666 fix file leak for HEAD requests 2007-09-22 17:56:05 +00:00
Igor Sysoev
be3081d599 bump version 2007-09-21 14:41:05 +00:00
Igor Sysoev
b65a6a826c fix "AUTH PLAIN [initial-response]" bug introduced in r1477 2007-09-21 14:08:50 +00:00
Igor Sysoev
9679e39c59 use "_" instead of " " as new line substitute, do not delete trailing new line 2007-09-21 13:47:33 +00:00
Igor Sysoev
fbe4862a64 fix r1416 2007-09-21 13:43:53 +00:00
Igor Sysoev
327a39aaf6 log starttls 2007-09-20 11:08:14 +00:00
Igor Sysoev
6a5cc2396e u_char* is enough to keep file name 2007-09-15 17:11:06 +00:00
Igor Sysoev
a1e85aa6b6 the "proxy_hide_header" and "fastcgi_hide_header" directives did not
hide response header lines whose name was longer than 32 characters
2007-09-15 16:54:58 +00:00
Igor Sysoev
fb598fe906 ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module 2007-09-15 16:51:16 +00:00
Igor Sysoev
4cb8d374bf style fix: remove trailing spaces 2007-09-14 15:04:45 +00:00
Igor Sysoev
a3b995f5b2 create salt just before it will be used 2007-09-14 15:00:19 +00:00
Igor Sysoev
d3fdc28bc3 fix r1482 2007-09-14 14:56:46 +00:00
Igor Sysoev
d36a9ff7e1 ngx_mail_smtp_create_buffer() 2007-09-14 14:13:25 +00:00
Igor Sysoev
c9f1aada71 optimizations 2007-09-14 14:04:24 +00:00
Igor Sysoev
7ccf7b35da smtp_client_buffer and smtp_greeting_delay 2007-09-14 13:58:49 +00:00
Igor Sysoev
4b4a64b80b move event handling to protocol specific code,
it is required to support SMTP greeting delay
2007-09-14 10:42:19 +00:00
Igor Sysoev
94b0b06dc1 optimizations 2007-09-13 21:24:27 +00:00
Igor Sysoev
467d739f89 small optimizations 2007-09-13 20:32:52 +00:00
Igor Sysoev
7aa63131c7 style fix and optimizations 2007-09-13 20:27:28 +00:00
Igor Sysoev
06c3f18113 split pop3, imap, and smtp handlers 2007-09-13 20:13:18 +00:00
Igor Sysoev
f0e951e23e bump version 2007-09-11 13:21:30 +00:00
Igor Sysoev
45ab454787 decrement active connection counter in mail proxy 2007-09-11 10:22:12 +00:00
Igor Sysoev
ebe6ec98b3 response to the HEAD request should be a header only 2007-09-11 06:34:18 +00:00
Igor Sysoev
26331129dc 64-bit update lost in r1355 2007-09-10 09:08:12 +00:00
Igor Sysoev
384ae47203 connection error should be logged with "connecting to upstream" action,
the bug was introduced in r1154
2007-09-09 18:43:16 +00:00
Igor Sysoev
8df6cc83b5 read EOF of header only responses in non-buffered proxying 2007-09-09 18:32:53 +00:00
Igor Sysoev
67ff3bcccd there may be several "Connection" header lines and each may have several tokens 2007-09-09 18:28:49 +00:00
Igor Sysoev
d911dbb292 escape internal request URI in proxy_pass 2007-09-09 18:25:03 +00:00
Igor Sysoev
373a10cff1 balance more fair when there are several servers with equal weights,
side effect: now smallest weights go first
2007-09-09 18:23:21 +00:00
Igor Sysoev
c072d218d1 style fix 2007-09-07 09:29:08 +00:00
Igor Sysoev
11cb8111fa fix case when server was marked as down after one failure 2007-09-05 15:30:19 +00:00
Igor Sysoev
9db497a7fd backout r1426: return dynamic weights 2007-09-05 15:28:19 +00:00
Igor Sysoev
0510116c34 bump version 2007-09-03 10:35:02 +00:00
Igor Sysoev
3eeb5f6845 test the most relevant condition first 2007-09-03 09:06:26 +00:00
Igor Sysoev
cd77964df6 open_file_cache_events 2007-09-03 08:41:42 +00:00
Igor Sysoev
ea414bb402 fix unlikely socket leak 2007-09-01 16:41:52 +00:00
Igor Sysoev
029cfdac86 fix socket leak introduced in r1374 when request header and body was
in one packet and connection went to keep-alive state
2007-09-01 16:40:19 +00:00
Igor Sysoev
fa7f65761c open_file_cache in HTTP 2007-09-01 12:12:48 +00:00
Igor Sysoev
5d30aa5e86 open file cache 2007-09-01 12:11:21 +00:00
Igor Sysoev
9f94c4abb8 change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr 2007-09-01 12:05:55 +00:00
Igor Sysoev
07cb5d3c46 NGX_USE_VNODE_EVENT and NGX_FLUSH_EVENT 2007-09-01 11:59:36 +00:00
Igor Sysoev
5704a5f1ed add comment 2007-09-01 11:21:00 +00:00
Igor Sysoev
1641196a88 update comments 2007-09-01 09:33:25 +00:00
Igor Sysoev
bad2d75e62 allow to append charset to the "Content-Type" header 2007-08-31 18:47:25 +00:00
Igor Sysoev
0ffbc71642 style fix 2007-08-31 12:13:12 +00:00
Igor Sysoev
a5babdacd6 update comment 2007-08-31 09:50:23 +00:00
Igor Sysoev
73d021789e style fix 2007-08-31 09:41:45 +00:00
Igor Sysoev
d1bdda37e0 use ev->log, because ev->data may be connection stub only 2007-08-31 09:40:38 +00:00
Igor Sysoev
305194e79b style fix 2007-08-31 09:22:53 +00:00
Igor Sysoev
b5f0c83025 fix typo 2007-08-31 06:15:50 +00:00
Igor Sysoev
8c1b31e32e destroy ngx_cycle->pool on exit 2007-08-30 18:59:44 +00:00
Igor Sysoev
8518844fba win32 ngx_is_exec() stub 2007-08-30 18:57:38 +00:00
Igor Sysoev
1c98a2c5e9 log socket number 2007-08-29 15:33:59 +00:00
Igor Sysoev
6f10471450 If-Modified-Since should be unique header line 2007-08-29 15:32:49 +00:00
Igor Sysoev
02867d3b46 add guard code 2007-08-29 11:26:42 +00:00
Igor Sysoev
f8aa43a771 fix comment 2007-08-29 07:19:22 +00:00
Igor Sysoev
fc0be99221 disable pair event on POLLREMOVE 2007-08-29 07:18:54 +00:00
Igor Sysoev
fe4494bfb4 bump version 2007-08-28 16:44:29 +00:00
Igor Sysoev
2d7e880663 return 400 response 2007-08-27 20:52:40 +00:00
Igor Sysoev
73c21fbc67 do not set read->eof, ready, and error prematurely 2007-08-27 19:44:35 +00:00
Igor Sysoev
16d586c0c4 cancel dynamic weights,
it seems that may permanently set lower weight or even mark server as down
2007-08-27 16:02:43 +00:00
Igor Sysoev
3244743f4b optimize r->connection in ngx_http_finalize_request() 2007-08-27 15:53:00 +00:00
Igor Sysoev
a5af428550 cancel keep-alive and lingering close on EOF 2007-08-27 15:40:19 +00:00
Igor Sysoev
7545944a3f cancel discarding body on EOF 2007-08-27 15:38:46 +00:00
Igor Sysoev
5461cb4ad6 mark connection as not ready, this fixes endless loop introduced in r1368 2007-08-27 15:01:08 +00:00
Igor Sysoev
83a74ef59d add guard code to prevent endless loop 2007-08-24 15:58:13 +00:00
Igor Sysoev
9258af522c update ip_hash to "backup" option 2007-08-24 15:30:35 +00:00
Igor Sysoev
44c50a5b5b set current peer to use it in ngx_http_upstream_free_round_robin_peer() 2007-08-24 15:29:50 +00:00
Igor Sysoev
71f527a847 fix ip_hash on 64-bit platform 2007-08-24 15:28:06 +00:00
Igor Sysoev
d3345e465f fix trailing wildcard when two or more listen used in one server 2007-08-24 11:05:47 +00:00
Igor Sysoev
04f030eb44 fix build on amd64 2007-08-21 11:05:11 +00:00
Igor Sysoev
3ca15678cc bump version 2007-08-20 13:10:25 +00:00
Igor Sysoev
8ad43bb779 set delay only when almost whole sendfile_max_chunk was transferred 2007-08-20 10:35:41 +00:00
Igor Sysoev
3d442cfe0f 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
519bb30b6c 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
fc62e7a845 escape " ", "%", and %00-%1F in login and password 2007-08-20 09:50:53 +00:00
Igor Sysoev
c2c3841c82 set worker_priority, worker_rlimit_nofile, worker_rlimit_core, and
worker_rlimit_sigpending without super-user privileges testing
2007-08-15 20:53:30 +00:00
Igor Sysoev
2fb58ed49e auto redirect lost arguments 2007-08-15 15:57:26 +00:00
Igor Sysoev
22b8d513ea bump version 2007-08-15 12:58:35 +00:00
Igor Sysoev
f733811589 upstream sendfile bit was overridden by r->connection->sendfile 2007-08-14 20:44:09 +00:00
Igor Sysoev
338bf13e7c test http_auth absence 2007-08-14 15:21:20 +00:00
Igor Sysoev
9b0a311e18 allow "http://" in auth_http URL 2007-08-14 15:00:38 +00:00
Igor Sysoev
04c357cc81 stop configuration on error 2007-08-14 14:57:51 +00:00
Igor Sysoev
e743193c2d fix long loop 2007-08-14 13:35:52 +00:00
Igor Sysoev
98f422bd09 regex in valid_referers 2007-08-12 20:06:43 +00:00
Igor Sysoev
8a7b4af8b5 regex in server_name 2007-08-12 19:48:12 +00:00
Igor Sysoev
8b6afa26fa fix building by bcc without PCRE 2007-08-12 15:25:09 +00:00
Igor Sysoev
92971a4746 style fix 2007-08-12 09:00:56 +00:00
Igor Sysoev
1f36f2b49e ignore meaningless bits in CIDR and warn about them 2007-08-10 13:13:28 +00:00
Igor Sysoev
f9827bbc56 sort upstream weights 2007-08-09 15:28:17 +00:00
Igor Sysoev
73d67a9729 backup upstream servers 2007-08-09 13:54:33 +00:00
Igor Sysoev
c5245bab92 set default listen() backlog to 511 on all platforms except FreeBSD 2007-08-09 13:32:21 +00:00
Igor Sysoev
14301cb098 "down" server caused endless loop 2007-08-07 12:34:20 +00:00
Igor Sysoev
35cac46a0b omit unnecessary conditions 2007-08-07 10:56:09 +00:00
Igor Sysoev
642079e468 discard request body before going to keep-alive state and use lingering timeouts 2007-08-07 10:53:27 +00:00
Igor Sysoev
fc0ee2428d omit unnecessary XSRETURN_EMPTY 2007-08-06 15:40:26 +00:00
Igor Sysoev
cff9ac37b3 $r->discard_request_body 2007-08-06 15:38:08 +00:00
Igor Sysoev
695ba73268 rename ngx_http_discard_body() to ngx_http_discard_request_body() 2007-08-06 15:37:22 +00:00
Igor Sysoev
b0e8daec9e block reading for level events 2007-08-06 15:31:00 +00:00
Igor Sysoev
49b05f246f rename ngx_http_block_read() and ngx_http_test_read() to ..._reading() 2007-08-06 15:22:40 +00:00
Igor Sysoev
2cdf0a727c discard request body in cycle 2007-08-06 15:18:24 +00:00
Igor Sysoev
2e136a5d5b move "Expires" header code to a separate function 2007-08-01 19:32:58 +00:00
Igor Sysoev
83b5a672b6 move "Cache-Control" header code to specific handler 2007-08-01 15:24:06 +00:00
Igor Sysoev
e2e211d381 style fix 2007-08-01 14:22:12 +00:00
Igor Sysoev
77ef1f5452 use header specific handler in add_handler,
"Last-Modified" header handler
2007-08-01 14:01:30 +00:00
Igor Sysoev
feedad72be bump version 2007-07-30 09:23:26 +00:00
Igor Sysoev
5385801f35 make 64-bit ngx_int_t on 64-bit platforms 2007-07-29 18:24:53 +00:00
Igor Sysoev
c4d0f5b0ae named location 2007-07-29 18:11:39 +00:00
Igor Sysoev
37f3097fbe --sysconfdir=DIR 2007-07-29 18:05:45 +00:00
Igor Sysoev
a23e82a839 $is_args 2007-07-29 17:56:56 +00:00
Igor Sysoev
b8af806a0b allow to set $args 2007-07-29 17:55:37 +00:00
Igor Sysoev
a6d25b840f fair upstream weight balancer 2007-07-28 16:04:01 +00:00
Igor Sysoev
df16faee5a fix case when client has closed connection but upstream buffer is not empty 2007-07-24 18:08:04 +00:00
Igor Sysoev
c89fce22ce fix case when two directives
proxy_pass   http://backend;
    proxy_pass   https://backend;
both use one port - 80 or 443, that was defined first.
2007-07-23 12:35:21 +00:00
Igor Sysoev
87f9fc6094 style fix 2007-07-23 12:32:34 +00:00
Igor Sysoev
c534c63601 bump version 2007-07-23 08:12:24 +00:00
Igor Sysoev
f048c9a001 escape space, etc in $memcached_key 2007-07-22 19:18:59 +00:00
Igor Sysoev
7f54b9eb77 omit unnecessary code 2007-07-22 19:11:52 +00:00
Igor Sysoev
00aa2a9631 $nginx_version 2007-07-22 13:12:16 +00:00