Commit Graph

1402 Commits

Author SHA1 Message Date
Igor Sysoev
743760ea35 bump version 2007-11-27 16:58:41 +00:00
Igor Sysoev
6e0a7bfaaa bump version 2007-11-27 16:25:32 +00:00
Igor Sysoev
96dd8af8e6 proxy_pass variables support 2007-11-27 13:34:13 +00:00
Igor Sysoev
9683528550 improve throughput with large limit_rate 2007-11-27 12:24:44 +00:00
Igor Sysoev
a6b5957f92 log entire request line instead of URI only 2007-11-27 12:22:01 +00:00
Igor Sysoev
98b5a3b15b add_header last-modified "" 2007-11-27 12:02:58 +00:00
Igor Sysoev
32717eb60c r->headers_out.refresh 2007-11-27 11:56:18 +00:00
Igor Sysoev
685fd08753 set r->headers_out.location for non-local redirects 2007-11-27 11:52:37 +00:00
Igor Sysoev
13f5ff9d7e http resolver and resolver_timeout 2007-11-27 11:33:52 +00:00
Igor Sysoev
b50b32e255 use usec and pid as start value 2007-11-24 10:43:15 +00:00
Igor Sysoev
53fcff1efe fix previous commit 2007-11-23 17:27:01 +00:00
Igor Sysoev
cb4d53861c resolver 2007-11-23 17:13:26 +00:00
Igor Sysoev
2e8f0d0b30 update ngx_memcmp() 2007-11-23 17:00:11 +00:00
Igor Sysoev
36b634cdbc ngx_inet_addr() 2007-11-23 16:59:24 +00:00
Igor Sysoev
48bf997e10 ngx_queue.h 2007-11-23 16:32:50 +00:00
Igor Sysoev
499c05a87b the simple expression has the same precision without overflow 2007-11-16 18:15:04 +00:00
Igor Sysoev
5589bcf969 bump version 2007-11-15 15:42:39 +00:00
Igor Sysoev
a8c1332720 enable getenv() and gmtime() in msvc8 2007-11-15 14:34:10 +00:00
Igor Sysoev
1d04b14c09 64-bit time_t compatibility 2007-11-15 14:26:36 +00:00
Igor Sysoev
66dbcc8d38 fix typo 2007-11-14 14:58:27 +00:00
Igor Sysoev
a0951d5494 fix win32 ngx_read_fd() and ngx_write_fd() 2007-11-11 19:56:46 +00:00
Igor Sysoev
479c786e0d TransmitPackets(), ConnectEx(), and DisconnectEx() 2007-11-11 18:56:50 +00:00
Igor Sysoev
2afdfdcadb fix win32 glob 2007-11-11 17:50:47 +00:00
Igor Sysoev
d7a7bedeb6 omit unnecessary test, because NGX_ERROR == -1,
but r->headers_out.last_modified_time != -1 at this point
2007-11-09 15:43:43 +00:00
Igor Sysoev
6c2f052744 If-Range support 2007-11-09 15:41:35 +00:00
Igor Sysoev
cc5484fab1 do not encode already encoded characters in msie_refresh 2007-11-09 13:17:58 +00:00
Igor Sysoev
8152d0aeed style and grammar fix 2007-11-09 13:12:25 +00:00
Igor Sysoev
4c89c09ad8 fix autoindex for "alias /" 2007-11-08 15:21:54 +00:00
Igor Sysoev
d47063bd90 fix gzip and SSL 2007-11-08 15:21:22 +00:00
Igor Sysoev
408dfc1714 fix segfaults 2007-11-08 15:20:56 +00:00
Igor Sysoev
d7cf1a6c1f set status in correct place 2007-11-06 15:01:13 +00:00
Igor Sysoev
a2208091df bump version 2007-10-29 14:09:12 +00:00
Igor Sysoev
4724f2b17c use uname(2) instead of /proc/, this allows to run nginx in chroot 2007-10-26 16:38:53 +00:00
Igor Sysoev
e430ab4d55 divide special response handling into several functions
fix "?" escaping introduced in r1467
2007-10-26 16:17:17 +00:00
Igor Sysoev
81924e8e16 compatibility with mget: space after HTTP/1.1 2007-10-26 11:34:10 +00:00
Igor Sysoev
31fd642c5c refactor index module: remove context 2007-10-23 14:16:00 +00:00
Igor Sysoev
747bb06d62 change emerg to a warn for absolute index 2007-10-23 14:15:06 +00:00
Igor Sysoev
704bafb5c2 fix mime type for absolute index 2007-10-23 14:10:38 +00:00
Igor Sysoev
3bb547dfdf 64-bit update lost in r1355 2007-10-23 14:09:12 +00:00
Igor Sysoev
e261091d67 style fix 2007-10-22 15:22:08 +00:00
Igor Sysoev
6684e58739 bump version 2007-10-22 11:24:05 +00:00
Igor Sysoev
80c397c53b fix building broken in r1593 2007-10-22 10:28:03 +00:00
Igor Sysoev
f0a51cfa09 unescape SSI include 2007-10-22 10:19:17 +00:00
Igor Sysoev
070cf22ab4 server_tokens 2007-10-22 10:17:34 +00:00
Igor Sysoev
9e039cfc9e fix typo 2007-10-22 10:15:48 +00:00
Igor Sysoev
a40caa172c fix segfault 2007-10-22 10:15:27 +00:00
Igor Sysoev
11ab73e538 style fix 2007-10-18 16:20:21 +00:00
Igor Sysoev
775fd53f2d style fix 2007-10-18 16:12:55 +00:00
Igor Sysoev
7b34e5f001 style fix 2007-10-18 16:05:48 +00:00
Igor Sysoev
e345d26d20 fix typo 2007-10-18 15:53:38 +00:00
Igor Sysoev
8decab3dd9 merge_slashes 2007-10-18 11:36:58 +00:00
Igor Sysoev
4c5207fd56 allow full URL without URI part: "GET http://host HTTP/1.0" 2007-10-18 11:33:31 +00:00
Igor Sysoev
b2f5a4a971 gzip_vary 2007-10-18 11:29:34 +00:00
Igor Sysoev
cc4078f470 do not discard body if it has been already read 2007-10-18 11:29:15 +00:00
Igor Sysoev
31d6f9590a Cygwin can not pass SCM_RIGHTS via unix socket, use signals 2007-10-18 11:28:21 +00:00
Igor Sysoev
12446d8249 fix segfault if no server_name was defined 2007-10-17 13:22:26 +00:00
Igor Sysoev
5cb097c5b0 style fix 2007-10-17 13:21:20 +00:00
Igor Sysoev
35ab2cb373 fix building broken in r1578 2007-10-16 19:22:27 +00:00
Igor Sysoev
ac03c9c303 delete code that should be deleted in r1576 2007-10-16 17:51:47 +00:00
Igor Sysoev
80c94f260e Cygwin support 2007-10-16 14:14:30 +00:00
Igor Sysoev
dde2abde39 avoid segfault if poll is used and endless loop if select is used 2007-10-16 14:12:52 +00:00
Igor Sysoev
336943dd7e use ngx_sha1.h 2007-10-16 12:17:11 +00:00
Igor Sysoev
7b4d0266c6 ngx_sha1.h 2007-10-16 12:16:58 +00:00
Igor Sysoev
d883df2444 ngx_md5.h 2007-10-16 11:59:47 +00:00
Igor Sysoev
6d5d61c8a3 bump version 2007-10-15 11:32:09 +00:00
Igor Sysoev
ab18bf2f02 use real weight, do not downground to one 2007-10-15 10:15:54 +00:00
Igor Sysoev
2517eef67b memcached did not set $upstream_response_time 2007-10-15 09:46:36 +00:00
Igor Sysoev
8de766328f fix segfault when $date_local or $date_gmt are used outside ssi module 2007-10-14 19:04:23 +00:00
Igor Sysoev
2d3f3f6eb6 fix English grammar 2007-10-14 18:56:15 +00:00
Igor Sysoev
47a1ebb050 optimization 2007-10-10 13:58:47 +00:00
Igor Sysoev
bfb23bf604 style fix: remove double semicolons 2007-10-09 20:11:03 +00:00
Igor Sysoev
3fc6ee4501 allow access_log inside limit_except 2007-10-09 18:45:49 +00:00
Igor Sysoev
5ba67396f5 %v fix lost in r1407 2007-10-09 18:44:59 +00:00
Igor Sysoev
d3db9ea51e style fix: remove trailing spaces 2007-10-09 18:42:00 +00:00
Igor Sysoev
7ed63ee75f use pool instead of ngx_conf_t 2007-10-08 08:55:12 +00:00
Igor Sysoev
7973964b3f optimization 2007-10-08 04:59:26 +00:00
Igor Sysoev
d2582b9619 *) 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
a103646402 fix r1552 and r1464: test max fails in correct peer 2007-10-02 12:34:16 +00:00
Igor Sysoev
d13045f16c fix empty string replacement in sub_filter 2007-10-01 16:24:15 +00:00
Igor Sysoev
fa928a6c66 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
a8afe406ce use ngx_strnstr() 2007-10-01 14:48:45 +00:00
Igor Sysoev
35fe5fd06d ngx_strnstr() 2007-10-01 14:48:33 +00:00
Igor Sysoev
834e447234 fix r1464: test max fails in correct peer 2007-10-01 14:45:31 +00:00
Igor Sysoev
6669702b00 add comment 2007-10-01 13:00:30 +00:00
Igor Sysoev
f53294103b pass length clearly 2007-10-01 12:57:47 +00:00
Igor Sysoev
06af5df77f style fix 2007-09-29 11:45:46 +00:00
Igor Sysoev
07ee0039b2 add time and length to a HEAD request 2007-09-28 09:48:25 +00:00
Igor Sysoev
9d2811b28b omit trailing zero in directory name 2007-09-27 09:39:29 +00:00
Igor Sysoev
333649648c SSI echo encoding 2007-09-27 09:37:09 +00:00
Igor Sysoev
1730c758a1 ngx_escape_html() 2007-09-27 09:36:50 +00:00
Igor Sysoev
0659720dc8 use ngx_strstrn() and ngx_strcasestrn() 2007-09-26 19:26:14 +00:00
Igor Sysoev
1bd987019d ngx_strstrn() and ngx_strcasestrn() 2007-09-26 19:25:52 +00:00
Igor Sysoev
066e6323c5 fix comment 2007-09-26 12:23:34 +00:00
Igor Sysoev
ddc9297a4f bump version 2007-09-24 04:18:22 +00:00
Igor Sysoev
34ebeb60eb fix file leak for HEAD requests 2007-09-22 17:56:05 +00:00
Igor Sysoev
60739f7842 bump version 2007-09-21 14:41:05 +00:00
Igor Sysoev
e3f6cb85a0 fix "AUTH PLAIN [initial-response]" bug introduced in r1477 2007-09-21 14:08:50 +00:00
Igor Sysoev
964c4a8c9a use "_" instead of " " as new line substitute, do not delete trailing new line 2007-09-21 13:47:33 +00:00
Igor Sysoev
425b0afd7c fix r1416 2007-09-21 13:43:53 +00:00
Igor Sysoev
c4b3b5ae5f log starttls 2007-09-20 11:08:14 +00:00
Igor Sysoev
4b96baa417 u_char* is enough to keep file name 2007-09-15 17:11:06 +00:00
Igor Sysoev
254353e40e 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
48714085dd ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module 2007-09-15 16:51:16 +00:00
Igor Sysoev
05a75d0d94 style fix: remove trailing spaces 2007-09-14 15:04:45 +00:00
Igor Sysoev
945af2aac9 create salt just before it will be used 2007-09-14 15:00:19 +00:00
Igor Sysoev
c95d44bb73 fix r1482 2007-09-14 14:56:46 +00:00
Igor Sysoev
dac63a2f28 ngx_mail_smtp_create_buffer() 2007-09-14 14:13:25 +00:00
Igor Sysoev
2422950571 optimizations 2007-09-14 14:04:24 +00:00
Igor Sysoev
711c36b825 smtp_client_buffer and smtp_greeting_delay 2007-09-14 13:58:49 +00:00
Igor Sysoev
706ab65f54 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
5fbe12146e optimizations 2007-09-13 21:24:27 +00:00
Igor Sysoev
05d1de757f small optimizations 2007-09-13 20:32:52 +00:00
Igor Sysoev
c4cb0c7cf1 style fix and optimizations 2007-09-13 20:27:28 +00:00
Igor Sysoev
6cc54cc3be split pop3, imap, and smtp handlers 2007-09-13 20:13:18 +00:00
Igor Sysoev
f78e8dd033 bump version 2007-09-11 13:21:30 +00:00
Igor Sysoev
b0fef0eaf6 decrement active connection counter in mail proxy 2007-09-11 10:22:12 +00:00
Igor Sysoev
a72822df36 response to the HEAD request should be a header only 2007-09-11 06:34:18 +00:00
Igor Sysoev
708fe2e526 64-bit update lost in r1355 2007-09-10 09:08:12 +00:00
Igor Sysoev
9e4b7276f9 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
3dea919675 read EOF of header only responses in non-buffered proxying 2007-09-09 18:32:53 +00:00
Igor Sysoev
ec67b19ea0 there may be several "Connection" header lines and each may have several tokens 2007-09-09 18:28:49 +00:00
Igor Sysoev
51082f7f1d escape internal request URI in proxy_pass 2007-09-09 18:25:03 +00:00
Igor Sysoev
fcd9dda633 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
589fc748ed style fix 2007-09-07 09:29:08 +00:00
Igor Sysoev
7a69774721 fix case when server was marked as down after one failure 2007-09-05 15:30:19 +00:00
Igor Sysoev
4efa705cc0 backout r1426: return dynamic weights 2007-09-05 15:28:19 +00:00
Igor Sysoev
586aa3899d bump version 2007-09-03 10:35:02 +00:00
Igor Sysoev
a250a521d3 test the most relevant condition first 2007-09-03 09:06:26 +00:00
Igor Sysoev
9afd58ffe5 open_file_cache_events 2007-09-03 08:41:42 +00:00
Igor Sysoev
1b982e1c00 fix unlikely socket leak 2007-09-01 16:41:52 +00:00
Igor Sysoev
2253064361 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
140c7556a2 open_file_cache in HTTP 2007-09-01 12:12:48 +00:00
Igor Sysoev
d92bee51ea open file cache 2007-09-01 12:11:21 +00:00
Igor Sysoev
ca0bdd3e95 change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr 2007-09-01 12:05:55 +00:00
Igor Sysoev
a2883a66df NGX_USE_VNODE_EVENT and NGX_FLUSH_EVENT 2007-09-01 11:59:36 +00:00
Igor Sysoev
954e7e0739 add comment 2007-09-01 11:21:00 +00:00
Igor Sysoev
d1eedde904 update comments 2007-09-01 09:33:25 +00:00
Igor Sysoev
2cc3ad8bea allow to append charset to the "Content-Type" header 2007-08-31 18:47:25 +00:00
Igor Sysoev
b3dd3fd359 style fix 2007-08-31 12:13:12 +00:00
Igor Sysoev
54a553b721 update comment 2007-08-31 09:50:23 +00:00
Igor Sysoev
31d6785397 style fix 2007-08-31 09:41:45 +00:00
Igor Sysoev
6f8030e339 use ev->log, because ev->data may be connection stub only 2007-08-31 09:40:38 +00:00
Igor Sysoev
181a7141f9 style fix 2007-08-31 09:22:53 +00:00
Igor Sysoev
e7e7dedfb3 fix typo 2007-08-31 06:15:50 +00:00
Igor Sysoev
1356622e55 destroy ngx_cycle->pool on exit 2007-08-30 18:59:44 +00:00
Igor Sysoev
b53e86a195 win32 ngx_is_exec() stub 2007-08-30 18:57:38 +00:00
Igor Sysoev
d8d0e0b809 log socket number 2007-08-29 15:33:59 +00:00
Igor Sysoev
4f62b73898 If-Modified-Since should be unique header line 2007-08-29 15:32:49 +00:00
Igor Sysoev
7f789168ef add guard code 2007-08-29 11:26:42 +00:00
Igor Sysoev
bb3799d89f fix comment 2007-08-29 07:19:22 +00:00
Igor Sysoev
89884a0a84 disable pair event on POLLREMOVE 2007-08-29 07:18:54 +00:00
Igor Sysoev
2b5edcc3e6 bump version 2007-08-28 16:44:29 +00:00
Igor Sysoev
543a6ae513 return 400 response 2007-08-27 20:52:40 +00:00
Igor Sysoev
6fe1303fb5 do not set read->eof, ready, and error prematurely 2007-08-27 19:44:35 +00:00
Igor Sysoev
121bf2f955 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
ae0347afc8 optimize r->connection in ngx_http_finalize_request() 2007-08-27 15:53:00 +00:00
Igor Sysoev
db7b126db2 cancel keep-alive and lingering close on EOF 2007-08-27 15:40:19 +00:00
Igor Sysoev
fe8137af4b cancel discarding body on EOF 2007-08-27 15:38:46 +00:00
Igor Sysoev
da69848428 mark connection as not ready, this fixes endless loop introduced in r1368 2007-08-27 15:01:08 +00:00
Igor Sysoev
012f231bbc add guard code to prevent endless loop 2007-08-24 15:58:13 +00:00
Igor Sysoev
97e9336753 update ip_hash to "backup" option 2007-08-24 15:30:35 +00:00
Igor Sysoev
9fdca0a117 set current peer to use it in ngx_http_upstream_free_round_robin_peer() 2007-08-24 15:29:50 +00:00
Igor Sysoev
27db2b1900 fix ip_hash on 64-bit platform 2007-08-24 15:28:06 +00:00
Igor Sysoev
43f3aead14 fix trailing wildcard when two or more listen used in one server 2007-08-24 11:05:47 +00:00
Igor Sysoev
45d056a788 fix build on amd64 2007-08-21 11:05:11 +00:00
Igor Sysoev
93c3755e26 bump version 2007-08-20 13:10:25 +00:00
Igor Sysoev
7896c39fe8 set delay only when almost whole sendfile_max_chunk was transferred 2007-08-20 10:35:41 +00:00
Igor Sysoev
3854a1e195 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
0d4b372e44 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
d4ff561681 escape " ", "%", and %00-%1F in login and password 2007-08-20 09:50:53 +00:00
Igor Sysoev
4edb1d61e9 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
966e2a5736 auto redirect lost arguments 2007-08-15 15:57:26 +00:00
Igor Sysoev
d6477e6c78 bump version 2007-08-15 12:58:35 +00:00
Igor Sysoev
e101338634 upstream sendfile bit was overridden by r->connection->sendfile 2007-08-14 20:44:09 +00:00
Igor Sysoev
ed2c623987 test http_auth absence 2007-08-14 15:21:20 +00:00
Igor Sysoev
0349656786 allow "http://" in auth_http URL 2007-08-14 15:00:38 +00:00
Igor Sysoev
824bcf333f stop configuration on error 2007-08-14 14:57:51 +00:00
Igor Sysoev
cc07609d11 fix long loop 2007-08-14 13:35:52 +00:00
Igor Sysoev
0b72c93a69 regex in valid_referers 2007-08-12 20:06:43 +00:00
Igor Sysoev
43c3bf42db regex in server_name 2007-08-12 19:48:12 +00:00
Igor Sysoev
307ab0ded6 fix building by bcc without PCRE 2007-08-12 15:25:09 +00:00
Igor Sysoev
242d1de5d0 style fix 2007-08-12 09:00:56 +00:00
Igor Sysoev
845f6d553a ignore meaningless bits in CIDR and warn about them 2007-08-10 13:13:28 +00:00
Igor Sysoev
7a8e33993a sort upstream weights 2007-08-09 15:28:17 +00:00
Igor Sysoev
6876bcdad6 backup upstream servers 2007-08-09 13:54:33 +00:00
Igor Sysoev
031a6e2906 set default listen() backlog to 511 on all platforms except FreeBSD 2007-08-09 13:32:21 +00:00
Igor Sysoev
3625a458d9 "down" server caused endless loop 2007-08-07 12:34:20 +00:00
Igor Sysoev
fda6a08f71 omit unnecessary conditions 2007-08-07 10:56:09 +00:00
Igor Sysoev
4fbd86829b discard request body before going to keep-alive state and use lingering timeouts 2007-08-07 10:53:27 +00:00
Igor Sysoev
5aca0e4678 omit unnecessary XSRETURN_EMPTY 2007-08-06 15:40:26 +00:00
Igor Sysoev
03afa34c96 $r->discard_request_body 2007-08-06 15:38:08 +00:00
Igor Sysoev
832571f0fc rename ngx_http_discard_body() to ngx_http_discard_request_body() 2007-08-06 15:37:22 +00:00
Igor Sysoev
ce6bcc0795 block reading for level events 2007-08-06 15:31:00 +00:00
Igor Sysoev
7ab4d9cb55 rename ngx_http_block_read() and ngx_http_test_read() to ..._reading() 2007-08-06 15:22:40 +00:00
Igor Sysoev
e5d4020612 discard request body in cycle 2007-08-06 15:18:24 +00:00
Igor Sysoev
b2d3a541ea move "Expires" header code to a separate function 2007-08-01 19:32:58 +00:00
Igor Sysoev
dbc02c324b move "Cache-Control" header code to specific handler 2007-08-01 15:24:06 +00:00
Igor Sysoev
c24bed89cd style fix 2007-08-01 14:22:12 +00:00
Igor Sysoev
82b5a31e2d use header specific handler in add_handler,
"Last-Modified" header handler
2007-08-01 14:01:30 +00:00
Igor Sysoev
329a23639f bump version 2007-07-30 09:23:26 +00:00