Commit Graph

1338 Commits

Author SHA1 Message Date
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
Igor Sysoev
83a6851b28 make 64-bit ngx_int_t on 64-bit platforms 2007-07-29 18:24:53 +00:00
Igor Sysoev
8889b65711 named location 2007-07-29 18:11:39 +00:00
Igor Sysoev
a1df416d65 --sysconfdir=DIR 2007-07-29 18:05:45 +00:00
Igor Sysoev
0051242013 $is_args 2007-07-29 17:56:56 +00:00
Igor Sysoev
33fa6e30bc allow to set $args 2007-07-29 17:55:37 +00:00
Igor Sysoev
d12a5718d8 fair upstream weight balancer 2007-07-28 16:04:01 +00:00
Igor Sysoev
1931d87cca fix case when client has closed connection but upstream buffer is not empty 2007-07-24 18:08:04 +00:00
Igor Sysoev
32b787560a 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
5bb2112c27 style fix 2007-07-23 12:32:34 +00:00
Igor Sysoev
7dbb7c881d bump version 2007-07-23 08:12:24 +00:00
Igor Sysoev
3f70782404 escape space, etc in $memcached_key 2007-07-22 19:18:59 +00:00
Igor Sysoev
37ae8ca0e1 omit unnecessary code 2007-07-22 19:11:52 +00:00
Igor Sysoev
f36ed5991a $nginx_version 2007-07-22 13:12:16 +00:00
Igor Sysoev
f4283a91f1 IMAP AUTHENTICATE
patch by Maxim Dounin
2007-07-20 19:38:08 +00:00
Igor Sysoev
810dc1652d SMTP STARTTLS
patch by Maxim Dounin
2007-07-20 18:36:04 +00:00
Igor Sysoev
8e1c997ba0 exit cycle early,
found by Coverity's Scan
2007-07-19 19:12:36 +00:00
Igor Sysoev
b1ccbdad7b fix potential double free(),
found by Coverity's Scan
2007-07-19 19:11:57 +00:00
Igor Sysoev
43ae46f401 fix potential segfault,
found by Coverity's Scan
2007-07-19 19:08:22 +00:00
Igor Sysoev
cbf72c1e61 fix memory leak,
found by Coverity's Scan
2007-07-19 19:07:13 +00:00
Igor Sysoev
66a874beb2 bump version 2007-07-17 10:15:07 +00:00
Igor Sysoev
f42ed05e9c Sun Studio on sparc uses different bit order 2007-07-17 09:23:23 +00:00
Igor Sysoev
d3cdbc85e8 Sun Studio 12 compatibility 2007-07-16 08:54:04 +00:00
Igor Sysoev
de27bce24e --with-cpu-opt=sparc32 and --with-cpu-opt=sparc64 2007-07-15 20:09:14 +00:00
Igor Sysoev
8662b6bec5 msie_refresh should escape at least '"' to prevent XSS 2007-07-13 09:37:01 +00:00
Igor Sysoev
049ae00031 "?" should not be escaped 2007-07-13 09:35:51 +00:00
Igor Sysoev
471b92e58f dav_access uses ngx_conf_set_access_slot() 2007-07-13 08:32:12 +00:00
Igor Sysoev
fbd9b4399f proxy_store and fastcgi_store were changed,
proxy_store_access and fastcgi_store_access were added
2007-07-13 08:30:34 +00:00
Igor Sysoev
852e458014 bump version 2007-07-12 11:35:57 +00:00
Igor Sysoev
58feb53eb4 proxy_store and fastcgi_store 2007-07-12 11:19:05 +00:00
Igor Sysoev
ef6e362d4e style fix 2007-07-11 20:12:26 +00:00
Igor Sysoev
19b093f23b style fix 2007-07-11 13:06:54 +00:00
Igor Sysoev
d2d6bd5af6 reset errno 2007-07-11 10:46:21 +00:00
Igor Sysoev
d2c996a57c fix segfault when event port returns POLLERR without POLLIN or POLLOUT 2007-07-11 10:45:55 +00:00
Igor Sysoev
a9af7bfada fix segfault when CRAM-MD5 is not enabled but client tries it 2007-07-11 07:47:57 +00:00
Igor Sysoev
fa808bbc04 fix memory allocation for auth_http_header 2007-07-10 21:26:51 +00:00
Igor Sysoev
8b0a3d2810 fix segfault when session was freed twice 2007-07-10 21:04:37 +00:00
Igor Sysoev
f53d0f3177 proxy_ignore_client_abort, fastcgi_ignore_client_abort, and so on were
broken by r1111
2007-07-10 20:53:45 +00:00
Igor Sysoev
13cf4b82c5 bump version 2007-07-09 07:09:38 +00:00
Igor Sysoev
793e08317f fix headers split in FastCGI records 2007-07-09 06:30:53 +00:00
Igor Sysoev
7797887b1d omit unnecessary conditions 2007-07-08 09:38:37 +00:00
Igor Sysoev
4d2e0f0198 when the FastCGI header was split in records,
nginx passed garbage in the header to a client
2007-07-08 09:16:36 +00:00
Igor Sysoev
28eafa574e add comment 2007-07-06 11:28:20 +00:00
Igor Sysoev
28bb279593 bump version 2007-06-17 19:27:34 +00:00
Igor Sysoev
414e94f0e9 if a subrequest was finished and SSI was in middle of SSI command parsing
and the command was a fast subrequest then the second subrequest output
was just after first subrequest output and response part of main request
between the subrequests went after the second subrequest.
2007-06-17 18:10:43 +00:00
Igor Sysoev
de278125c1 if "<!--" was on edge of buf, then ssi_sharp_state was saved in ctx->saved
and if it was not reset, then any '#' was treated as SSI command start
2007-06-17 17:54:48 +00:00
Igor Sysoev
def1e7439f if subrequest response was buffered in file, then subrequest was finalized
with 0 code, ngx_http_writer() was not set, and response part in file was lost
2007-06-17 09:29:15 +00:00
Igor Sysoev
b5f30a87c5 fix building on threaded or multiplicity interpreter perl,
the bug was introduced by previous commit
2007-06-16 09:22:37 +00:00
Igor Sysoev
2756b42db2 set worker's perl $$ 2007-06-15 12:20:23 +00:00
Igor Sysoev
89aa3079bb bump version 2007-06-14 05:48:47 +00:00
Igor Sysoev
9d8a75c525 the "www.example.*" wildcard hash support 2007-06-11 19:49:22 +00:00
Igor Sysoev
ad39e5c746 bump version 2007-06-11 19:32:29 +00:00
Igor Sysoev
8ec084b9dc bump version 2007-06-08 05:43:05 +00:00
Igor Sysoev
6d9a66078a fix building --without-http_rewrite_module, the bug was introduced in r1236 2007-06-08 05:40:59 +00:00
Igor Sysoev
84cc2cca53 style fix 2007-06-07 14:33:02 +00:00
Igor Sysoev
6c8e74bcd4 style fix 2007-06-07 12:20:34 +00:00
Igor Sysoev
35e5db1c6b namespace may be set via $memcached_key 2007-06-07 12:15:27 +00:00
Igor Sysoev
8e3151dce5 strstr() -> strchr() 2007-06-06 12:24:10 +00:00
Igor Sysoev
1fddbb85e1 eliminate old unused typedef 2007-06-06 08:11:33 +00:00
Igor Sysoev
52a93439bc fix bug introduced in r1228 2007-06-06 05:56:51 +00:00
Igor Sysoev
1849ba824e change wording 2007-06-05 11:55:39 +00:00
Igor Sysoev
6633572f31 use pointer to an array instead of array for inclusive locations inside location 2007-06-05 11:42:59 +00:00
Igor Sysoev
c915106f20 optimize regex location search 2007-06-05 06:44:08 +00:00
Igor Sysoev
bf15d70e10 forbid alias inside location given by regular expression 2007-06-04 20:45:45 +00:00
Igor Sysoev
62864d1e1e fix ssl_verify_client for HTTP/0.9 2007-06-04 20:40:03 +00:00
Igor Sysoev
55a42ca586 style fix 2007-06-04 20:00:06 +00:00
Igor Sysoev
1c0e3e0dd0 bump version 2007-06-04 16:14:33 +00:00
Igor Sysoev
813296e5bb fastcgi_catch_stderr 2007-06-04 13:52:47 +00:00
Igor Sysoev
b2c5db58dc inherit flush flag, this fixes https proxying 2007-06-03 19:58:30 +00:00
Igor Sysoev
70c1d0f160 add debug logging 2007-06-03 19:56:27 +00:00
Igor Sysoev
b1c6c4323e add comment 2007-05-30 13:24:50 +00:00
Igor Sysoev
d4aa572c8d do listen() just after bind() to exit early 2007-05-30 13:23:48 +00:00
Igor Sysoev
9dd99aac66 style fix 2007-05-30 12:28:37 +00:00
Igor Sysoev
c141793cf9 change wording 2007-05-29 19:43:18 +00:00
Igor Sysoev
8f0c87f384 PERL_SYS_TERM() should be called once on exit only, this fixes the message
panic: MUTEX_LOCK (22) [op.c:352].
BEGIN failed--compilation aborted.
... [alert] ... perl_parse() failed: 9
Scalars leaked: 2

on threaded perl during second reconfiguration.

PERL_SYS_INIT() should be called once too.
2007-05-29 18:48:42 +00:00
Igor Sysoev
78c5893412 fix segfault 2007-05-29 16:33:34 +00:00
Igor Sysoev
e60303cdca SNI support 2007-05-29 15:21:09 +00:00
Igor Sysoev
f44ea0bbf6 bump version 2007-05-29 12:15:04 +00:00
Igor Sysoev
acac00332e an request body might not be passed to backend,
the bug was introduced in r1212
2007-05-29 12:06:42 +00:00
Igor Sysoev
a9a4672b9f bump version 2007-05-28 19:03:06 +00:00
Igor Sysoev
b8ddf754f9 fix "proxy_pass https://" 2007-05-28 11:09:18 +00:00
Igor Sysoev
da8c05a5fd style fix 2007-05-23 18:28:54 +00:00
Igor Sysoev
c02ed54c4f use stable search where it is required 2007-05-21 14:09:12 +00:00
Igor Sysoev
35921283df ngx_sort 2007-05-21 14:05:23 +00:00
Igor Sysoev
2517fbf2b8 use memory optimization for i386 and amd64 only:
this fixes SIGBUS in PCRE on sparc64
2007-05-21 13:49:35 +00:00
Igor Sysoev
0687cb9d99 fix worker endless loop on 64-bit platform if 33+ backend has fall 2007-05-21 13:48:14 +00:00
Igor Sysoev
3378750e2d style fix 2007-05-19 17:39:44 +00:00
Igor Sysoev
5f6989e953 style fix 2007-05-17 18:07:28 +00:00
Igor Sysoev
932b32628e bump version 2007-05-07 14:39:11 +00:00
Igor Sysoev
08d068f943 limit minimal pool size 2007-05-07 09:20:42 +00:00
Igor Sysoev
5a8bc36118 style fix 2007-05-07 08:49:15 +00:00
Igor Sysoev
c5a60bb4a0 add debug log 2007-05-07 07:04:00 +00:00
Igor Sysoev
c9b57dc081 sendfile_max_chunk 2007-05-07 06:33:39 +00:00
Igor Sysoev
544e9f1fd7 optimize HTTP method parsing for i386 and amd64 2007-05-07 06:27:14 +00:00
Igor Sysoev
5b1cf0d91f fix multipart ranges trailing 2007-05-06 18:15:32 +00:00
Igor Sysoev
b09c269386 style fix: change variable name 2007-05-05 06:07:11 +00:00
Igor Sysoev
875893b846 fix building by owc12 2007-05-05 05:50:41 +00:00
Igor Sysoev
d1e38e8788 fix building by msvc 2007-05-05 05:40:29 +00:00
Igor Sysoev
75c3272a1c fix segfault introduced in r1190 2007-05-02 09:02:23 +00:00
Igor Sysoev
dbdeafe6a0 fix segfault or parsing error in '<!--# if expr="$var = /" -->' 2007-05-02 08:07:37 +00:00
Igor Sysoev
9c710c0569 allow to "set" $http_, $sent_http_, and $upstream_http_ variables 2007-05-01 19:58:45 +00:00
Igor Sysoev
dc566e4bd6 fix atomic operations on sparc64 built by SunPro C 2007-04-27 14:36:28 +00:00
Igor Sysoev
359561d6cc bump version 2007-04-24 06:26:56 +00:00
Igor Sysoev
57a713c67c fix sendfile on 64-bit Linux and limit_rate on all 64-bit platforms
for 2G+ files
2007-04-23 21:32:13 +00:00
Igor Sysoev
29f5912635 $upstream_addr 2007-04-23 16:56:17 +00:00
Igor Sysoev
8a19bff2a5 proxy_headers_hash_max_size and proxy_headers_hash_bucket_size 2007-04-22 20:21:59 +00:00
Igor Sysoev
b4ccb9f5bd $request_time has millisecond precision 2007-04-21 07:50:19 +00:00
Igor Sysoev
6047281208 rename $r->rflush to $r->flush 2007-04-21 07:43:23 +00:00
Igor Sysoev
e548a510c4 bump version 2007-04-19 18:23:54 +00:00
Igor Sysoev
6d939760c6 style fix: remove trailing spaces 2007-04-19 18:07:39 +00:00
Igor Sysoev
4c39648150 $upstream_http_... should be uncacheable 2007-04-19 17:55:19 +00:00
Igor Sysoev
d9bb8e3894 ngx_http_sub_filter_module 2007-04-19 17:54:23 +00:00
Igor Sysoev
16eab66314 style fix: rename functions 2007-04-19 06:27:10 +00:00
Igor Sysoev
e0f866273f store the upstream states before X-Accel-Redirect to a next upstream 2007-04-18 20:23:19 +00:00
Igor Sysoev
eb21763fa1 style fix 2007-04-18 19:43:22 +00:00
Igor Sysoev
fb958946b5 style fix: remove tabs 2007-04-18 15:21:28 +00:00
Igor Sysoev
e5e4c0000d fix segfault when
*) perl was built without multiplicity
*) when configuration was invalid
2007-04-18 11:28:11 +00:00
Igor Sysoev
de92bcccee set nginx_stash after reconfiguration in single interpreter perl 2007-04-18 09:23:35 +00:00
Igor Sysoev
2723361e76 $upstream_http_... variables 2007-04-10 07:08:06 +00:00
Igor Sysoev
da4b660274 use 60 seconds interval but not 61 seconds 2007-04-03 21:54:13 +00:00
Igor Sysoev
52a282d04b bump version 2007-04-02 10:50:18 +00:00
Igor Sysoev
7a5886052f *) introduce ngx_strchr()
*) test server_name for '/': it's common configuration error when
   trailing ';' is omitted and a next directive is treated as server_name
2007-04-02 06:27:30 +00:00
Igor Sysoev
10b9894bee style fix 2007-04-02 05:43:21 +00:00
Igor Sysoev
ceab369f44 disable $document_root variable in the "root/alias" directive 2007-04-01 09:03:14 +00:00
Igor Sysoev
70f65c4948 ngx_ssl_recv_chain() must not update buf->last,
it fixes proxy_pass https://...
2007-03-31 19:48:48 +00:00
Igor Sysoev
24a95944a7 separate ngx_http_upstream_test_connect() and
use it in ngx_http_upstream_process_header() path too
2007-03-31 15:37:09 +00:00
Igor Sysoev
2c8f05737a flush nocachable variables before ngx_http_script_run() 2007-03-30 19:00:34 +00:00
Igor Sysoev
3e933d2919 disable TRACE method 2007-03-30 18:59:26 +00:00
Igor Sysoev
9b6548f4e4 style fix 2007-03-29 18:53:34 +00:00
Igor Sysoev
eba03e6bea the "include" support inside the "types" directive 2007-03-29 10:27:24 +00:00
Igor Sysoev
4ca98f65a5 style fix 2007-03-28 14:38:33 +00:00
Igor Sysoev
035b9c5d24 bump version 2007-03-26 14:52:52 +00:00
Igor Sysoev
7755b904ce ip_hash used wrong byte order 2007-03-23 12:52:33 +00:00
Igor Sysoev
77d7f80285 fix segfault if upstream sends trailing ";" in "charset=" 2007-03-23 11:33:47 +00:00
Igor Sysoev
e47cad4140 fix "zero size buf" if request body file is multiple of 32K and FastCGI is used 2007-03-21 13:30:24 +00:00
Igor Sysoev
e7f83eefa2 fix building without --with-debug on Solaris 2007-03-21 11:16:14 +00:00
Igor Sysoev
65560f40c0 bump version 2007-03-19 14:58:30 +00:00
Igor Sysoev
02c8d181a4 Many changes:
*) rename imap to mail, sort pop3/imap functions
*) smtp auth support
*) pop3 starttls only
*) fix segfault if cram-md5 was used without apop
2007-03-19 13:36:56 +00:00
Igor Sysoev
4ddeff4956 close keep-alive connections in the shuting down processes 2007-03-19 13:20:15 +00:00
Igor Sysoev
e1f43ce292 worker processes did not exit after reconfiguration and
did not rotate logs if eventport was used
2007-03-07 10:25:16 +00:00
Igor Sysoev
b69d913c6f style fix 2007-03-06 20:29:08 +00:00
Igor Sysoev
11d86a4457 style fix 2007-03-06 20:17:50 +00:00
Igor Sysoev
6c7f369010 bump version 2007-03-06 12:59:58 +00:00
Igor Sysoev
7746dc7897 style fix 2007-03-06 12:18:45 +00:00
Igor Sysoev
bd99c49794 avoid endless loop 2007-03-06 11:02:35 +00:00
Igor Sysoev
b32d04f07c decrease log level from alert to debug for POLLERR|POLLHUP|POLLNVAL 2007-03-06 11:01:50 +00:00
Igor Sysoev
f259a3f910 use the contemporary directives 2007-02-21 11:50:39 +00:00
Igor Sysoev
40460bab8d ngx_log_error() > ngx_conf_log_error() 2007-02-20 15:47:54 +00:00
Igor Sysoev
bb4c112fe5 use "goto" instead of indistinct "break" 2007-02-20 14:36:48 +00:00
Igor Sysoev
83fe66212f stop on superfluous closing "}" 2007-02-20 14:33:26 +00:00
Igor Sysoev
b59f369077 bump version 2007-02-19 13:42:48 +00:00
Igor Sysoev
cf72935bc3 a client address must be allocated from a connection pool
to live through the keep-alive requests
2007-02-17 21:06:47 +00:00
Igor Sysoev
b4123b94ff ioctl FIONBIO uses int, so nginx did not work on big-endian 64-bit platforms 2007-02-17 19:53:52 +00:00
Igor Sysoev
5473662c94 COPY and MOVE
fix PUT and DELETE to conform to WebDAV specification
2007-02-16 12:16:25 +00:00
Igor Sysoev
d74b66c82c finalize request to allow post_action 2007-02-15 18:53:48 +00:00
Igor Sysoev
37a6905cb1 fix broken values, debug logging, and style fix 2007-02-15 15:05:26 +00:00
Igor Sysoev
e8722b8b98 optimize $http_x_forwarded_for 2007-02-15 15:04:36 +00:00
Igor Sysoev
cf815023fc fix format 2007-02-15 14:13:24 +00:00
Igor Sysoev
bb19bcd867 close connection for too long commands 2007-02-15 13:30:19 +00:00
Igor Sysoev
9d58e4bed3 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
7b2d87ffa0 add debug logging 2007-02-15 10:00:59 +00:00
Igor Sysoev
65a7b8f988 return error for too long commands 2007-02-14 20:45:19 +00:00
Igor Sysoev
722231f407 ngx_strcasecmp()/ngx_strncasecmp() 2007-02-14 18:51:19 +00:00
Igor Sysoev
0ddd9d6e5e fix building on platforms with non-supported atomic operations 2007-02-14 13:52:47 +00:00
Igor Sysoev
e5234d3e05 bump version 2007-02-12 15:37:36 +00:00
Igor Sysoev
7cc1ea31e9 correct r1100 2007-02-12 14:58:45 +00:00
Igor Sysoev
1131d87684 fix building with ngx_http_perl_module 2007-02-12 13:19:12 +00:00
Igor Sysoev
8e750112f6 fix building on platforms with non-supported atomic operations 2007-02-11 07:49:12 +00:00
Igor Sysoev
915ef4f7c8 fix segfault when a large FastCGI response was written to a temporary file 2007-02-09 14:02:42 +00:00
Igor Sysoev
f15b839a88 log a right subrequest 2007-02-09 13:49:14 +00:00
Igor Sysoev
f0b150faf8 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
e980185ee0 bump version 2007-02-05 14:49:52 +00:00
Igor Sysoev
0762f4e749 fix several ranges 2007-02-04 18:40:47 +00:00
Igor Sysoev
1e428098fb style fix 2007-01-31 07:31:50 +00:00
Igor Sysoev
d1a0ee7fc7 allocate less memory on 64-bit platforms 2007-01-29 20:33:51 +00:00
Igor Sysoev
b8bfa20c91 shorten temporary names on 64-bit platforms 2007-01-29 20:28:00 +00:00
Igor Sysoev
e31625b60e use ngx_dir_access() to enable search bits for directory 2007-01-29 12:25:44 +00:00
Igor Sysoev
e99305be7a eliminate the useless space symbol 2007-01-29 11:54:36 +00:00
Igor Sysoev
8b57df9480 log a real response error code instead of "0" 2007-01-29 11:53:23 +00:00
Igor Sysoev
f51d4fea57 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
92929b9799 bump version 2007-01-25 22:19:34 +00:00
Igor Sysoev
80a2901374 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
95ec258be3 fix online upgrade 2007-01-25 21:48:28 +00:00
Igor Sysoev
5f8e7365a1 bump version 2007-01-25 21:45:22 +00:00
Igor Sysoev
3dc4fdf4e0 $memcached_key 2007-01-25 08:45:41 +00:00
Igor Sysoev
cd5b99a045 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
3a58cc90b5 fix "access_log off" 2007-01-24 09:15:25 +00:00
Igor Sysoev
64304df431 client_body_in_file_only any 2007-01-24 09:14:08 +00:00
Igor Sysoev
604a7d1da4 delete temporary file for incomplete small request body 2007-01-23 12:55:23 +00:00
Igor Sysoev
d0863c106d log a failure of the writing to access_log once per minute 2007-01-21 19:01:01 +00:00
Igor Sysoev
300de4fb61 allow "sendfile" in "if" context 2007-01-21 17:42:28 +00:00
Igor Sysoev
8885f8736c env 2007-01-20 19:26:48 +00:00
Igor Sysoev
354a4ef4e5 bump version 2007-01-19 19:48:48 +00:00
Igor Sysoev
36588962aa 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
8ff1e3251c 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
ae2006b2fe a non-active client connection must not closed after send timeout 2007-01-19 12:22:32 +00:00
Igor Sysoev
66f76d2f72 style and comment fix 2007-01-19 11:35:26 +00:00
Igor Sysoev
8d6de94f5b 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
e95ea5b878 the PUTing to collection must return NGX_HTTP_BAD_REQUEST 2007-01-18 21:14:46 +00:00
Igor Sysoev
56331ba499 the "Overwrite" header line 2007-01-18 21:11:23 +00:00
Igor Sysoev
f5a359bdec add size, access, and mtime to ngx_walk_tree() 2007-01-18 21:04:31 +00:00
Igor Sysoev
da7281a6da NGX_HTTP_PRECONDITION_FAILED 2007-01-18 20:51:51 +00:00
Igor Sysoev
5fdb179a60 update nginx.xs to ngx_open_file(name, mode, create, access) 2007-01-18 20:48:03 +00:00
Igor Sysoev
83ff0cdc4b ngx_read_fd() 2007-01-18 20:39:30 +00:00
Igor Sysoev
a3eef70783 NGX_FILE_WRONLY 2007-01-18 20:37:19 +00:00
Igor Sysoev
4a27d0f3f8 ngx_file_access() and ngx_de_access() 2007-01-18 20:31:22 +00:00
Igor Sysoev
8be5d8025a style fix 2007-01-18 20:25:11 +00:00
Igor Sysoev
8820a9bcb3 axe Win9X code 2007-01-18 20:24:30 +00:00
Igor Sysoev
872025fc51 add comment 2007-01-18 20:23:16 +00:00
Igor Sysoev
cbb5578c52 axe unused code 2007-01-18 20:22:40 +00:00
Igor Sysoev
50034b856c ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access) 2007-01-18 20:15:09 +00:00
Igor Sysoev
12fcfab8be style fix 2007-01-18 20:05:39 +00:00
Igor Sysoev
fe1cb8c3ac rename mode to access 2007-01-18 19:52:18 +00:00
Igor Sysoev
6ed365fa8b unused value 2007-01-18 19:49:00 +00:00
Igor Sysoev
8c5edab7d3 style fix: remove trailing spaces 2007-01-18 19:40:31 +00:00
Igor Sysoev
adb410f9ae fix log message 2007-01-18 14:28:34 +00:00
Igor Sysoev
97c0d35037 fix FastCGI "zero size buf" alert,
the previous commit did not fix too
2007-01-18 07:07:55 +00:00
Igor Sysoev
aafa2004d7 fix FastCGI "zero size buf" alert,
r841 did not fix it
2007-01-17 16:10:40 +00:00
Igor Sysoev
ecef14e307 style fix 2007-01-17 10:50:52 +00:00
Igor Sysoev
66af04752f fix debug logging 2007-01-16 20:43:36 +00:00
Igor Sysoev
03c9cb7afc fix comparison 2007-01-16 19:01:10 +00:00
Igor Sysoev
c326529feb bump version 2007-01-16 11:04:51 +00:00
Igor Sysoev
f83e627473 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
8488a1ce11 allow the upstream modules to send a header only 2007-01-15 17:12:43 +00:00
Igor Sysoev
4502bf57b3 add debug logging for FastCGI zero size buf alert 2007-01-15 16:00:51 +00:00
Igor Sysoev
ec3cabdcd9 ngx_strn2cmp() > ngx_memn2cmp() 2007-01-12 21:58:02 +00:00
Igor Sysoev
a1e82cca22 style fix 2007-01-12 21:57:20 +00:00
Igor Sysoev
8785136a92 fix duplicate rbtree keys case 2007-01-12 20:57:34 +00:00
Igor Sysoev
805706a20f fix duplicate rbtree keys case 2007-01-12 20:38:17 +00:00
Igor Sysoev
6043c80639 style fix: remove tabs 2007-01-12 20:26:39 +00:00
Igor Sysoev
37cc165064 ngx_strn2cmp() 2007-01-12 20:15:59 +00:00
Igor Sysoev
618dc75c2d make global the rbtree color handling macros 2007-01-12 19:48:30 +00:00
Igor Sysoev
6a23cf06e8 add comment 2007-01-12 19:26:38 +00:00
Igor Sysoev
8f6a00c3ef fix comment 2007-01-12 18:05:41 +00:00
Igor Sysoev
b1d65e50d6 axe aio drafts 2007-01-11 22:08:50 +00:00
Igor Sysoev
aa50359569 axe long ago unnecessary file 2007-01-11 22:05:15 +00:00
Igor Sysoev
295b94de9a fix slab allocator on 64-bit platfroms 2007-01-11 19:13:46 +00:00
Igor Sysoev
927666265d optimize the SSL session cache allocations on 64-bit platforms 2007-01-11 18:59:17 +00:00
Igor Sysoev
7431938b90 fix slab allocator on 64-bit platfroms 2007-01-11 18:58:40 +00:00
Igor Sysoev
7fe33a9f58 ssl_session_timeout was set only if builtin cache was used 2007-01-11 18:57:09 +00:00
Igor Sysoev
b317945089 optimize the SSL session cache allocations 2007-01-11 17:39:02 +00:00
Igor Sysoev
e532b0194c stop rbtree search early if equal hash was found 2007-01-11 17:05:18 +00:00
Igor Sysoev
1279b049b4 stop rbtree search early if equal hash was found 2007-01-11 16:57:30 +00:00
Igor Sysoev
ec582de2dd test length of variable and number of connections 2007-01-11 16:50:06 +00:00
Igor Sysoev
43bb0077d1 optimization 2007-01-11 16:07:38 +00:00
Igor Sysoev
896b5e4a4f optimize inlined code for gcc 2007-01-11 16:07:03 +00:00
Igor Sysoev
2ffaa986e2 use "r" instead of "q" 2007-01-11 16:00:02 +00:00
Igor Sysoev
2c32b5a1d2 fix segfault 2007-01-09 22:04:40 +00:00
Igor Sysoev
fe9a066d69 fix connection counter in subrequests 2007-01-09 20:58:41 +00:00
Igor Sysoev
36fefe3cfe fix typo 2007-01-09 20:57:49 +00:00
Igor Sysoev
e98b867409 bump version 2007-01-09 20:57:24 +00:00
Igor Sysoev
a3ec505730 do not count connection for subrequest 2007-01-09 16:26:53 +00:00
Igor Sysoev
667a79b5f3 fix label name 2007-01-09 16:02:29 +00:00
Igor Sysoev
3a257b3eb9 free the unnecessary shared memory 2007-01-09 16:00:57 +00:00
Igor Sysoev
a269c82bd5 fix the comments 2007-01-09 16:00:07 +00:00
Igor Sysoev
4e77a2bb83 pass the inherited shm_zone data 2007-01-09 15:59:20 +00:00
Igor Sysoev
1691aaf290 correct an error log message 2007-01-08 18:23:38 +00:00
Igor Sysoev
2316936389 use right status code 2007-01-08 18:22:06 +00:00
Igor Sysoev
36b1edca84 undo r979 2007-01-08 18:20:03 +00:00
Igor Sysoev
61fc473b9c d2i_SSL_SESSION() was changed in 0.9.7f 2007-01-08 16:20:33 +00:00
Igor Sysoev
dd15b55fbc style fix 2007-01-07 22:44:56 +00:00
Igor Sysoev
eb9b9d1c95 new syntax 2007-01-07 18:52:34 +00:00
Igor Sysoev
e7b5df16ba ngx_http_realip_module must return NGX_DECLINED 2007-01-07 18:45:55 +00:00
Igor Sysoev
6eee80156f count connection once per request 2007-01-07 17:47:17 +00:00
Igor Sysoev
d5ca16cdd4 ngx_http_variable_binary_remote_addr() 2007-01-07 13:36:56 +00:00