Commit graph

2152 commits

Author SHA1 Message Date
Igor Sysoev
bb96d6c546 $request_body variable 2009-05-14 11:40:51 +00:00
Igor Sysoev
0818290c22 update two previous commits again 2009-05-14 11:39:06 +00:00
Igor Sysoev
5ae70b03d8 update the previous commit 2009-05-14 11:36:26 +00:00
Igor Sysoev
73b5f6f648 fix client_body_in_file_only type 2009-05-14 11:31:50 +00:00
Igor Sysoev
f32fabf623 bump version 2009-05-12 13:11:39 +00:00
Igor Sysoev
897252d550 test finalized image filter context before testing image_filter off
this fixes SIGFPE if image filter errors are passed to named location
2009-05-12 12:05:29 +00:00
Igor Sysoev
e7797d0b20 bump version 2009-05-11 17:47:06 +00:00
Igor Sysoev
d327e78cfb fix building --without-http-cache
the bug had been appeared in r2806
2009-05-08 20:14:35 +00:00
Igor Sysoev
823d809df5 reconfigure master process 2009-05-08 18:12:03 +00:00
Igor Sysoev
9b6040ff4a fix the previous commit 2009-05-08 18:11:18 +00:00
Igor Sysoev
acdaf84126 allow to pass image filter errors via the same location where the filter is set 2009-05-08 14:52:50 +00:00
Igor Sysoev
66e4adc3c8 test already destroyed request 2009-05-08 14:31:59 +00:00
Igor Sysoev
b8c9d31801 handle big responses for "size" and "test" image_filters 2009-05-08 14:25:51 +00:00
Igor Sysoev
a3e783a0de preserve Solaris binary hardware capabilities 2009-05-08 09:41:43 +00:00
Igor Sysoev
f71852b835 IPv6 for Win32 2009-05-07 13:05:04 +00:00
Igor Sysoev
098b8ee438 divide select module into two modules: Unix and Win32 ones 2009-05-06 14:53:54 +00:00
Igor Sysoev
7020804152 bump version 2009-05-06 14:11:03 +00:00
Igor Sysoev
fce7d70193 make code clearer 2009-05-06 08:54:54 +00:00
Igor Sysoev
698703c480 test event type to prevent errors 2009-05-06 08:53:13 +00:00
Igor Sysoev
5b12a0b138 delete level event of appropriate type, this should fix select()'s EBADF,
WSAENOTSOCK, and "select ready != events" alerts
2009-05-06 08:40:44 +00:00
Igor Sysoev
35b414bc3f ngx_create_listening() 2009-05-05 17:33:26 +00:00
Igor Sysoev
d634510e54 reinit proxy/fastcgi header parser before ngx_http_upstream_cache_send() 2009-05-05 17:18:33 +00:00
Igor Sysoev
0f784a0095 proxy/fastcgi_cache_use_stale http_50x did not work 2009-05-05 15:17:00 +00:00
Igor Sysoev
8499723c60 move listen log copying from ngx_open_listening_sockets()
to ngx_configure_listening_sockets(), otherwise listen socket logs have no file
after first reload and this caused segfault if debug_connection was used;
the bug has been introduced in r2786
2009-05-05 13:16:29 +00:00
Igor Sysoev
96e846f670 use correct name 2009-05-05 13:12:59 +00:00
Igor Sysoev
61f837251b use local variable 2009-05-05 13:05:42 +00:00
Igor Sysoev
6c083044aa delete never used ngx_ssl_set_nosendshut() 2009-05-04 19:51:32 +00:00
Igor Sysoev
145c338011 delete ngx_listening_inet_stream_socket() 2009-05-04 19:51:09 +00:00
Igor Sysoev
2f3014e62f axe imap module artifacts 2009-05-04 19:34:59 +00:00
Igor Sysoev
ac66e2eb0b do not free buffer with cache header before it would be written,
it seems this affected header only FastCGI responses only:
proxied header only responses were cached right
2009-05-04 19:04:00 +00:00
Igor Sysoev
4ae910a756 fix building ngx_http_image_filter_module on 64-bit platforms 2009-05-04 11:39:22 +00:00
Igor Sysoev
7e6d4179f0 use off_t in $r->sendfile(), this allows to use 64-bit off_t on platforms
where IV is long:
*) on 64-bit platforms,
*) and on 32-bit platforms if perl was built with -Duse64bitint
2009-05-01 19:31:52 +00:00
Igor Sysoev
0804db3ccd bump version 2009-05-01 19:13:37 +00:00
Igor Sysoev
7e2efefd53 ngx_http_image_filter_module 2009-05-01 18:42:09 +00:00
Igor Sysoev
bd2e8b173d ngx_http_filter_finalize_request() and ngx_http_clean_header() 2009-05-01 18:41:07 +00:00
Igor Sysoev
42a313744c proxy_ignore_headers and fastcgi_ignore_headers 2009-04-30 16:15:07 +00:00
Igor Sysoev
4709d5d80f *) refactor error_log processing: listen socket log might inherit built-in
error_log with zero level, and r2447, r2466, r2467 were not enough
*) remove bogus "stderr" level
*) some functions and fields renames
2009-04-30 13:53:42 +00:00
Igor Sysoev
5426d28e31 *) check a proxy_redirect single parameter
*) warn about "proxy_redirect false"
2009-04-30 12:43:38 +00:00
Igor Sysoev
416256863e set of.failed for cached error, the bug has been introduced in r2757 2009-04-30 08:01:50 +00:00
Igor Sysoev
5b0c886626 uniform ngx_file_info() interface with ngx_fd_info() 2009-04-29 19:28:52 +00:00
Igor Sysoev
cc310346f5 try to repair the case "select ready != events" 2009-04-29 18:56:47 +00:00
Igor Sysoev
0c56344143 ngx_select_repair_fd_sets() 2009-04-29 15:29:12 +00:00
Igor Sysoev
f40bee45d3 delete useless debug log 2009-04-29 15:15:17 +00:00
Igor Sysoev
3eadb2ae20 style fix 2009-04-29 15:12:57 +00:00
Igor Sysoev
25e3fc0183 handle Winsock select() WSAEINVAL 2009-04-29 13:42:14 +00:00
Igor Sysoev
d7d54fb5ab style fix 2009-04-29 13:08:10 +00:00
Igor Sysoev
50480a02a2 fix the previous commit 2009-04-29 13:07:16 +00:00
Igor Sysoev
2c265a76eb Winsock uses ECONNABORTED instead of ECONNRESET 2009-04-29 11:34:58 +00:00
Igor Sysoev
38e0a9b4e5 fix building by BCC if NGX_PREFIX is defined 2009-04-29 11:32:58 +00:00
Igor Sysoev
d699f98b8c *) do not show line number for -g option
*) reset configuration file after -g option has been parsed
2009-04-28 20:06:03 +00:00
Igor Sysoev
b498a2350a add listen events for win32 only after accept mutex is hold 2009-04-28 20:03:59 +00:00
Igor Sysoev
5dab4e9775 fallback to neutral language in FormatMessage() 2009-04-28 15:06:29 +00:00
Igor Sysoev
89cf9f7787 introduce ngx_write_console() to support OEM code pages 2009-04-28 15:05:27 +00:00
Igor Sysoev
42312a2c65 "port_in_redirect off" did not work
the bug had been appeared in r2530 and r2534
2009-04-28 06:20:12 +00:00
Igor Sysoev
64e5598458 add prefix in Usage 2009-04-28 04:34:27 +00:00
Igor Sysoev
fd9051fc8f it seems MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT) returns
ERROR_RESOURCE_LANG_NOT_FOUND for Russian locale
2009-04-27 18:58:35 +00:00
Igor Sysoev
9c1308dd82 ngx_log_errno() 2009-04-27 13:17:33 +00:00
Igor Sysoev
70eb9fa979 use ngx_vslprintf(), ngx_slprintf() 2009-04-27 13:06:20 +00:00
Igor Sysoev
447dba8ab7 ngx_vslprintf(), ngx_slprintf() 2009-04-27 12:51:33 +00:00
Igor Sysoev
ecfc0688ff bump version 2009-04-27 12:48:38 +00:00
Igor Sysoev
fb2dc513f9 fix building by MSVC8 2009-04-27 11:33:34 +00:00
Igor Sysoev
0ae870d26b -p and --prefix= 2009-04-27 11:32:33 +00:00
Igor Sysoev
8d8d431c86 get a full response if the response is cacheable or storable even
a client has closed connection prematurely
2009-04-27 11:20:55 +00:00
Igor Sysoev
605e8e0575 *) of.test_only to not open file if only stat() is enough
*) of.failed to return exact name of failed syscall
2009-04-27 09:55:53 +00:00
Igor Sysoev
2f025ec2b0 add quotes for configure options with spaces 2009-04-26 19:37:38 +00:00
Igor Sysoev
c2e7f19084 style fix 2009-04-24 19:58:19 +00:00
Igor Sysoev
d0e3e9ed58 merge SSL context inside "if" block 2009-04-24 19:56:09 +00:00
Igor Sysoev
52a498f2fd change ngx_log_abort() interface 2009-04-24 15:50:51 +00:00
Igor Sysoev
d8651b96c4 style fix: (void) 2009-04-24 14:45:52 +00:00
Igor Sysoev
30eebbb00a change ngx_log_create_errlog() interface 2009-04-24 14:27:36 +00:00
Igor Sysoev
f73b68f96b fix Auth-Method, the bug has been introduced in r2496 2009-04-24 09:54:40 +00:00
Igor Sysoev
c208891826 pass command lines options to workers 2009-04-23 18:22:28 +00:00
Igor Sysoev
a6ff87e75b ngx_path_separator() 2009-04-23 16:38:59 +00:00
Igor Sysoev
ddba51983f issue start up errors and warning on both stderr and error_log 2009-04-23 11:13:12 +00:00
Igor Sysoev
d4dc08bc11 style fix: remove trailing spaces introduced in the previous commit 2009-04-23 09:46:14 +00:00
Igor Sysoev
1768f3bbf2 use ngx_str_t for error levels 2009-04-23 08:05:54 +00:00
Igor Sysoev
8570e9695e axe incomplete support of Winsock error descriptions on NT 2009-04-22 11:25:12 +00:00
Igor Sysoev
e87ff22f57 use English only error descriptions in Win32 ngx_strerror_r() 2009-04-22 11:20:31 +00:00
Igor Sysoev
a0ad107cee implement "-s signal" option for Unix 2009-04-21 20:25:49 +00:00
Igor Sysoev
dc2cdf7565 style fix: remove trailing spaces 2009-04-21 19:49:48 +00:00
Igor Sysoev
613828e9c2 style fix: remove tabs 2009-04-21 19:38:02 +00:00
Igor Sysoev
c21d2ff81e add -? and -h options 2009-04-21 16:21:58 +00:00
Igor Sysoev
35e01d481f add 48x48 icon 2009-04-21 15:44:39 +00:00
Igor Sysoev
d8f4d3aee6 allow condensed command lines options 2009-04-21 15:42:15 +00:00
Igor Sysoev
7f8b171cdc fix r2731 for Win32 2009-04-21 15:40:40 +00:00
Igor Sysoev
566b2a0d1f test command line options before ngx_log_init() and issue errors to stderr 2009-04-21 13:39:47 +00:00
Igor Sysoev
16bc72552e fix fastcgi_cache_min_uses 2009-04-21 10:36:01 +00:00
Igor Sysoev
e1262ebe1d bump version 2009-04-20 13:29:38 +00:00
Igor Sysoev
783a4563b5 Win32 master/workers model 2009-04-20 06:08:47 +00:00
Igor Sysoev
0541fec9be fix Win32 ngx_gettimezone() 2009-04-19 19:08:49 +00:00
Igor Sysoev
65ff46961d add variadic macros support for msvc8 2009-04-19 16:25:02 +00:00
Igor Sysoev
2668e22fa1 show -t results on stderr 2009-04-19 16:06:09 +00:00
Igor Sysoev
b44439acda remove TODO comments 2009-04-18 19:39:06 +00:00
Igor Sysoev
523bf6b61f support attaching to an existent Win32 shared memory 2009-04-18 19:27:28 +00:00
Igor Sysoev
4877b3ef8c update c->sent in ngx_unix_send() 2009-04-18 19:13:53 +00:00
Igor Sysoev
2e17014cba fix building on platforms which have no atomic operations support,
the bug was introduced in r2564
2009-04-17 19:11:31 +00:00
Igor Sysoev
1b247358f5 fix the previous commit 2009-04-17 19:09:08 +00:00
Igor Sysoev
692c1103da move zone name from ngx_shm_zone_t to ngx_shm_t to use Win32 shared memory 2009-04-16 19:25:09 +00:00
Igor Sysoev
c0cabc2e21 perl termination fixes:
*) master exit hook is run before global pool cleanup, so call PERL_SYS_TERM()
   after perl_destruct()/perl_free().  This fixes the message
        panic: MUTEX_LOCK (22) [op.c:352]
   on some threaded perl builds

*) call perl_destruct()/perl_free() before PERL_SYS_TERM() for
   non-mulitiplicity perl
2009-04-16 14:42:31 +00:00
Igor Sysoev
e440c3957c fix segfault on exit if no http section is defined in confguraiton,
the bug has been introduced in r1947
2009-04-15 20:28:36 +00:00