Igor Sysoev
f2932dcbe5
optimize r->upstream usage
2007-12-10 12:29:43 +00:00
Igor Sysoev
86ef6aaa6b
move condition declarations inside blocks where they are used
2007-12-10 12:09:51 +00:00
Igor Sysoev
e600494185
*) copy regex captures $1, $2, etc.
...
*) SV flags debug logging
2007-12-09 20:52:14 +00:00
Igor Sysoev
16623e0b9c
fix segfault when $r->has_request_body() is called with ready body
2007-12-09 19:30:30 +00:00
Igor Sysoev
cb54061885
*) now ngx_conf_set_str_array_slot() tests NGX_CONF_UNSET_PTR
...
this fixes fastcgi_catch_stderr segfault introduced in r1453
*) ngx_http_upstream_hide_headers_hash()
*) proxy/fastcgi pass_header/hide_header use
ngx_http_upstream_hide_headers_hash()
2007-12-09 18:03:20 +00:00
Igor Sysoev
d8c43746a5
return NGX_HTTP_UPSTREAM_INVALID_HEADER instead of NGX_HTTP_BAD_GATEWAY
...
to go to a next upstream on invalid_header condition
2007-12-09 14:50:19 +00:00
Igor Sysoev
5a55d7104b
return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR in u->parse_header()
2007-12-09 08:22:35 +00:00
Igor Sysoev
a114911332
return NGX_HTTP_UPSTREAM_INVALID_HEADER for invalid status
2007-12-09 08:08:56 +00:00
Igor Sysoev
8cdfc515c3
fix r1695
2007-12-08 22:12:37 +00:00
Igor Sysoev
f4f2efa54c
delete useless variable
2007-12-07 20:57:38 +00:00
Igor Sysoev
e9af690e61
ngx_create_path_and_rename_file()
2007-12-07 20:22:03 +00:00
Igor Sysoev
ac7586e952
rename ngx_crc32_init() to ngx_crc32_table_init()
...
ngx_crc32_init(), ngx_crc32_update(), ngx_crc32_final()
2007-12-07 20:19:41 +00:00
Igor Sysoev
27dd6a62bd
use malloc() in ngx_win32_rename_file, set crit level instead of error
2007-12-07 19:57:13 +00:00
Igor Sysoev
03df86a541
bump version
2007-12-03 17:26:28 +00:00
Igor Sysoev
e67d46189c
ngx_udp_recv()
2007-12-03 16:46:46 +00:00
Igor Sysoev
7b35de92a9
fix segfault
2007-12-03 15:47:35 +00:00
Igor Sysoev
826c02ebda
use ngx_rbtree_init()
2007-12-03 12:17:26 +00:00
Igor Sysoev
653a206afe
ngx_rbtree_init()
2007-12-03 12:17:15 +00:00
Igor Sysoev
a9d3a0d37a
use ngx_queue_init()
2007-12-03 11:21:19 +00:00
Igor Sysoev
0134d6b622
ngx_queue_init()
2007-12-03 11:21:07 +00:00
Igor Sysoev
6b2fce430b
allow to use IP addresses without defined resolver
2007-12-03 10:05:19 +00:00
Igor Sysoev
26aae392f9
style fix
2007-12-01 21:05:19 +00:00
Igor Sysoev
f49491236f
axe old unused alert message
2007-12-01 20:31:59 +00:00
Igor Sysoev
06187cec1e
style fix
2007-12-01 20:25:32 +00:00
Igor Sysoev
b4e5b4c884
style fix: remove trailing spaces
2007-12-01 19:57:37 +00:00
Igor Sysoev
0827c83dfb
log how big fastcgi record
2007-12-01 14:23:53 +00:00
Igor Sysoev
58ea0c1aad
copy protocol value when large request line is copied,
...
this fixes error "fastcgi: the request record is too big"
2007-12-01 12:22:48 +00:00
Igor Sysoev
1d4e9b31cc
do not allow plain 0.9 request to HTTPS
2007-12-01 11:46:04 +00:00
Igor Sysoev
4d65f6501a
zero ngx_url_t
2007-11-30 22:08:59 +00:00
Igor Sysoev
14c8422148
style fix
2007-11-30 22:08:29 +00:00
Igor Sysoev
7e924427ac
fix typo
2007-11-30 22:07:05 +00:00
Igor Sysoev
77e8b0c59f
fix comment
2007-11-30 22:06:48 +00:00
Igor Sysoev
00e0377488
ngx_parse_url() saves port text, this allows to use it in proxy host header
2007-11-28 19:55:31 +00:00
Igor Sysoev
57bb349844
bump version
2007-11-28 19:17:24 +00:00
Igor Sysoev
fa62656b31
fix segfault
2007-11-28 15:06:05 +00:00
Igor Sysoev
a427e12619
delete unneeded declaration
2007-11-28 10:14:04 +00:00
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