Commit Graph

1843 Commits

Author SHA1 Message Date
Igor Sysoev
333723e001 fix divide by zero if max_fails=0 2008-08-26 14:34:16 +00:00
Igor Sysoev
c9491d113c *) refactor ngx_parse_inet_url()
*) refactor ngx_parse_unix_domain_url()
*) delete unused ngx_url_t fields
2008-08-26 14:24:14 +00:00
Igor Sysoev
9c388c0a7f *) refactor ngx_ptocidr()
*) allow address without bitmask
*) thus now ngx_http_geo_module accepts addresses without bitmask
2008-08-26 14:19:37 +00:00
Igor Sysoev
caa4a45c0f ngx_strlchr() 2008-08-26 14:16:36 +00:00
Igor Sysoev
154013c5f3 split ngx_parse_url() 2008-08-22 13:36:56 +00:00
Igor Sysoev
843ad94e81 fix building on FreeBSD prior to 4.8, it has no GLOB_NOMATCH 2008-08-22 12:54:32 +00:00
Igor Sysoev
c5849a6381 ngx_sock_ntop() takes family from sockaddr, remove duplicate field 2008-08-21 19:24:07 +00:00
Igor Sysoev
6a75019ad6 *) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop()
   as they are called just once per connection
*) NGX_INET_ADDRSTRLEN
2008-08-21 18:47:23 +00:00
Igor Sysoev
bbe42c41e8 call ngx_http_xslt_filter_exit() 2008-08-21 18:21:40 +00:00
Igor Sysoev
b29426deb8 server_name "" support 2008-08-21 12:56:10 +00:00
Igor Sysoev
cbc7c6177c fix $r->header_in() for "User-Agent", "Connection", and "Host"
broken in r2005, r2006, and r2008.
2008-08-19 19:40:45 +00:00
Igor Sysoev
1a8cbb8663 leave HEAD method while error_page redirection 2008-08-19 18:55:46 +00:00
Igor Sysoev
c9482c6ead do not discard body while error_page redirection 2008-08-19 12:23:18 +00:00
Igor Sysoev
1de8bb5bd6 bump version 2008-08-18 14:29:57 +00:00
Igor Sysoev
fa92df4bd4 remove text/css from default charset_types
as it does not usually require recoding
2008-08-18 13:38:17 +00:00
Igor Sysoev
dc911287e8 *) regex match must return NGX_OK to stop regex searching,
this fixes inclusive regex location
*) change NGX_HTTP_INTERNAL_SERVER_ERROR to NGX_ERROR
2008-08-17 18:02:55 +00:00
Igor Sysoev
9a70242f07 fix noregex for inclusive locations 2008-08-17 17:58:16 +00:00
Igor Sysoev
916ee8ecea proxy_ssl_session_reuse 2008-08-17 17:47:52 +00:00
Igor Sysoev
f60dde9767 disable original URI usage in proxy_pass after X-Accel-Redirect 2008-08-17 17:44:08 +00:00
Igor Sysoev
d3cbd87f50 allow file existence test for POST requests in static module 2008-08-17 17:42:42 +00:00
Igor Sysoev
a03bb0bc77 ignore NGX_EACCES error while directory test 2008-08-17 17:38:48 +00:00
Igor Sysoev
b17e33293a fix log message 2008-08-15 20:14:49 +00:00
Igor Sysoev
6f39513828 bump version 2008-08-13 16:59:16 +00:00
Igor Sysoev
cf1735e458 restore connection address on request closure,
this fixes the issue when a frontend before nginx sends various client
connections via keepalive connection to nginx
2008-08-13 16:31:01 +00:00
Igor Sysoev
c71e3d8f81 *) fix segfaults in types hash
*) fix inheritance: default hash instead of inherited one
2008-08-13 16:25:48 +00:00
Igor Sysoev
d1853490da disable error_page loop in 500 error when recursive errors are enabled 2008-08-13 09:00:13 +00:00
Igor Sysoev
85aebb0077 bump version 2008-08-12 15:46:34 +00:00
Igor Sysoev
1c7d449fa8 fix the case when unset domain.tld was matched by *.domain.tld 2008-08-12 15:28:19 +00:00
Igor Sysoev
d1b615815a *) charset_types
*) change of default charset types
*) addition_types
2008-08-12 13:17:08 +00:00
Igor Sysoev
390abe0772 use hash in gzip_types, ssi_types, and sub_filter_types 2008-08-12 13:11:36 +00:00
Igor Sysoev
a408b2ba2d backout both r2162 and r2128 and implement a new fix 2008-08-12 12:04:49 +00:00
Igor Sysoev
af9bb9a14e check daily time range 2008-08-11 17:50:37 +00:00
Igor Sysoev
88c295c009 expires daily time 2008-08-11 15:28:35 +00:00
Igor Sysoev
c271775902 ngx_next_time() 2008-08-11 15:28:15 +00:00
Igor Sysoev
2ff9a4b334 SSL connection readiness is required for level-triggered events only,
broken in r2128
2008-08-11 15:25:40 +00:00
Igor Sysoev
6e99c76c71 consider log_not_found while testing index files 2008-08-11 15:22:40 +00:00
Igor Sysoev
f98f98610e clear Last-Modified; set content-type and length for main request only 2008-08-06 13:18:57 +00:00
Igor Sysoev
f36ae41e36 disable ranges, because xslt filter runs after range body filter 2008-08-06 09:38:34 +00:00
Igor Sysoev
e24b57ad9f ngx_cpp_test_module 2008-08-05 19:32:50 +00:00
Igor Sysoev
36876c3d6c reuse compiled DTD hash in different locations, add DTD cleanup 2008-08-05 19:05:15 +00:00
Igor Sysoev
2278ea09b6 update debug logging 2008-08-05 15:19:21 +00:00
Igor Sysoev
4ea51081b3 reuse compiled XSLT tree in different locations 2008-08-05 14:27:49 +00:00
Igor Sysoev
993aeefc54 xsl:output's media-type and encoding support 2008-08-05 14:24:16 +00:00
Igor Sysoev
1dcebd8dcb we do not need dtd->name 2008-08-05 13:08:35 +00:00
Igor Sysoev
f8c0d8ade9 xslt_stylesheet should be valid for location only 2008-08-05 13:07:42 +00:00
Igor Sysoev
c097e83881 fix xslt module context levels 2008-08-05 06:21:15 +00:00
Igor Sysoev
ca824f3cfa update debug logging 2008-08-04 21:51:36 +00:00
Igor Sysoev
b47aed9005 style fix 2008-08-04 20:25:51 +00:00
Igor Sysoev
2b29a703bb fix building by bcc broken in r2143 2008-08-04 20:23:21 +00:00
Igor Sysoev
40db7a19b1 bump version 2008-08-04 16:45:52 +00:00
Igor Sysoev
b83f893c75 Solaris directio() 2008-08-04 15:32:10 +00:00
Igor Sysoev
90815b49af fix building by msvc8 introduced in r2127 2008-08-04 14:56:25 +00:00
Igor Sysoev
ac721d0647 if upstream sent a location header without status use 302 2008-08-04 14:53:16 +00:00
Igor Sysoev
1ae389d2f7 ngx_http_xslt_filter_module 2008-08-04 14:48:15 +00:00
Igor Sysoev
b5bc3f989f test Content-Type via hash:
*) ngx_http_test_content_type()
*) ngx_http_types_slot()
*) ngx_http_merge_types()
2008-08-04 11:29:09 +00:00
Igor Sysoev
42511c05c7 $arg_... variable 2008-08-04 11:10:52 +00:00
Igor Sysoev
6a07833d47 ngx_hash_strlow() 2008-08-04 10:18:36 +00:00
Igor Sysoev
777b019c73 ngx_strlow() 2008-08-04 10:07:00 +00:00
Igor Sysoev
eb3e4c8be0 fix building by bcc broken in r2130 2008-08-04 09:14:30 +00:00
Igor Sysoev
a3e9f7d306 fix conflicting names "true" and "false" 2008-07-31 07:55:46 +00:00
Igor Sysoev
e513a89220 bump version 2008-07-30 13:38:49 +00:00
Igor Sysoev
385af28642 directio 2008-07-30 12:34:04 +00:00
Igor Sysoev
7494490978 *) move Darwin support to separate files
*) Darwin sendfile() support
2008-07-30 12:18:07 +00:00
Igor Sysoev
ec0b579f75 update connection readiness after SSL handshake,
this fixes mail proxy SSL connection hanging if level-triggered event is used
2008-07-30 06:12:30 +00:00
Igor Sysoev
0f17f6ce9f case insensitive file system location support provided by locale only 2008-07-29 16:55:11 +00:00
Igor Sysoev
a089857143 rename ngx_utf_...() to ngx_utf8_...() 2008-07-29 14:41:34 +00:00
Igor Sysoev
4c756c46cd fix typo 2008-07-29 14:31:03 +00:00
Igor Sysoev
49ed6f3eec *) ssl_verify_client ask
*) test ssl_client_certificate for ssl_verify_client
*) $ssl_client_cert adds TAB before each line except first one
*) $ssl_client_raw_cert contains certificate as is
2008-07-29 14:29:02 +00:00
Igor Sysoev
88634bf06b allow range for partial flv response 2008-07-29 13:58:56 +00:00
Igor Sysoev
4a1b032901 support several buf's for single-part range
patch by Maxim Dounin
2008-07-29 13:58:13 +00:00
Igor Sysoev
96eaa05fd2 fix utf-8 names in autoindex 2008-07-25 14:29:05 +00:00
Igor Sysoev
6df67879a0 fix ranges without Content-Type 2008-07-23 16:30:42 +00:00
Igor Sysoev
c6742cff8e split ngx_http_range_filter_module 2008-07-23 16:18:37 +00:00
Igor Sysoev
58e9f22bfd handle connect()'s EAGAIN on Linux 2008-07-09 15:42:13 +00:00
Igor Sysoev
82911ceb0c bump version 2008-07-07 12:19:57 +00:00
Igor Sysoev
edf1c8c1b8 always test root existence for access_log with variables 2008-07-07 09:26:13 +00:00
Igor Sysoev
4f677fd203 allow several values in query string 2008-07-04 12:59:53 +00:00
Igor Sysoev
8d9c63f677 show an error message for invalid parameter 2008-07-03 19:19:45 +00:00
Igor Sysoev
0ac3516a02 bump version 2008-07-01 07:38:28 +00:00
Igor Sysoev
ba6fc40c4c nginx could not be build without gzip, introduced in r2052 2008-07-01 06:31:16 +00:00
Igor Sysoev
06d2147139 NULL script in default access_log 2008-07-01 06:26:48 +00:00
Igor Sysoev
098ac90bc8 fix error when response parsed by sub filter, then by SSI filter
and some response parts are output as file buffers
2008-06-30 19:10:06 +00:00
Igor Sysoev
0da6d2f675 fix variable access_log merging 2008-06-30 15:51:28 +00:00
Igor Sysoev
504efffca8 fix error message 2008-06-30 15:32:57 +00:00
Igor Sysoev
4cb276ae21 bump version 2008-06-30 12:46:40 +00:00
Igor Sysoev
b4fbdcf5d4 -g switch 2008-06-30 12:35:16 +00:00
Igor Sysoev
b882154636 variables in access_log 2008-06-30 12:27:24 +00:00
Igor Sysoev
c3584fec61 fix comment 2008-06-30 12:12:16 +00:00
Igor Sysoev
bf93476272 fix the previous commit 2008-06-30 12:11:47 +00:00
Igor Sysoev
d6711d37c3 use ngx_file_info() and test uniq if file is already open 2008-06-26 16:10:13 +00:00
Igor Sysoev
5a0eac8692 ngx_memzero() ngx_open_file_info_t 2008-06-26 14:07:59 +00:00
Igor Sysoev
1e1f4c8a04 the "Expect" header support 2008-06-26 13:00:39 +00:00
Igor Sysoev
24329bf299 fix bug when inactive subrequest is truncated,
if output_buffers are less than subrequest size
2008-06-26 12:45:37 +00:00
Igor Sysoev
eb03ea7458 refactor obscure code 2008-06-25 14:56:14 +00:00
Igor Sysoev
3e6f74da05 initialize of.uniq in ngx_open_cached_file() 2008-06-23 13:35:34 +00:00
Igor Sysoev
ce1e64f404 prepare to allow various number of connections in child processes 2008-06-23 13:23:29 +00:00
Igor Sysoev
f2a1484347 change useless ngx_pcalloc() to ngx_pnalloc() 2008-06-23 12:27:03 +00:00
Igor Sysoev
96a1ea9d22 bump version 2008-06-23 10:50:18 +00:00
Igor Sysoev
3cc03616e9 fix max size allocated from pool 2008-06-21 06:40:32 +00:00
Igor Sysoev
11864a706a fix the previous commit 2008-06-20 21:06:53 +00:00
Igor Sysoev
5a4c61658b small optimization 2008-06-20 20:57:40 +00:00
Igor Sysoev
0b5e77f416 auto detect https redirect in rewrite 2008-06-20 14:48:28 +00:00
Igor Sysoev
da02ddc6fd fix "proxy_pass https://..." broken in r1427 2008-06-20 14:42:54 +00:00
Igor Sysoev
c49ed61376 "gzip_vary on" always sends "Vary: Accept-Encoding" header 2008-06-20 14:41:03 +00:00
Igor Sysoev
77c287f35d disable charset if there is "Content-Encoding" header 2008-06-20 14:33:36 +00:00
Igor Sysoev
7f6b2ffc60 *) back out r2040
*) refactor ngx_palloc()
*) introduce ngx_pnalloc()
*) additional pool blocks have smaller header
2008-06-17 15:00:30 +00:00
Igor Sysoev
c2eb2cf4cb bump version 2008-06-16 09:11:12 +00:00
Igor Sysoev
81f9c9dc72 $ssl_client_cert 2008-06-16 05:54:18 +00:00
Igor Sysoev
df83e6f81a DH parameters, ssl_dhparam 2008-06-16 05:51:32 +00:00
Igor Sysoev
b0780752b0 after URI was rewritten location configuration should be to a server's null one 2008-06-15 19:07:35 +00:00
Igor Sysoev
a3a792b1ee fix building without PCRE introduced in r2023 2008-06-07 12:08:38 +00:00
Igor Sysoev
a5bf33601b style fix 2008-05-28 12:27:08 +00:00
Igor Sysoev
9709aaa2f4 fix building by bcc/etc introduced in r2038 2008-05-28 12:26:20 +00:00
Igor Sysoev
2d951bfa41 *) add ngx_palloc_aligned() to allocate explicitlty aligned memory
*) allows non-aligned memory blocks for small allocations and for odd
   length strings on all platforms
*) use ngx_palloc_aligned()
2008-05-27 09:37:40 +00:00
Igor Sysoev
626cd7e7be add args in redirect to a directory 2008-05-26 18:57:43 +00:00
Igor Sysoev
d412ece2fc fix debug logging 2008-05-26 18:49:36 +00:00
Igor Sysoev
2ae6727da7 fix error log message 2008-05-26 10:54:59 +00:00
Igor Sysoev
9b1fe56148 bump version 2008-05-26 09:54:17 +00:00
Igor Sysoev
d6548faf64 ssl_session_cache none 2008-05-26 07:14:13 +00:00
Igor Sysoev
4c8eb4263f read channel until EAGAIN 2008-05-25 18:27:38 +00:00
Igor Sysoev
7a0e5d97b6 remove directives deprecated in 0.3.x 2008-05-24 15:48:50 +00:00
Igor Sysoev
5cdb2ce66e *) remove optimize_host_names
*) deprecate optimize_server_names: it is not needed since
   server_name_in_redirect introduction
2008-05-24 15:43:48 +00:00
Igor Sysoev
7e2c4eef9c move configuration phase only field to the end of structure 2008-05-24 14:46:46 +00:00
Igor Sysoev
e55988c069 locations tree 2008-05-24 14:14:13 +00:00
Igor Sysoev
5cdc511fcd new ngx_queue functions 2008-05-24 14:10:01 +00:00
Igor Sysoev
89e0aad840 delete useless lines 2008-05-22 14:28:25 +00:00
Igor Sysoev
3b30476068 style fix 2008-05-22 12:09:41 +00:00
Igor Sysoev
61e991c70a axe never used variables 2008-05-22 11:11:16 +00:00
Igor Sysoev
6d14e65056 split ngx_http_block() further 2008-05-22 11:07:08 +00:00
Igor Sysoev
87ac67fbd1 split ngx_http_block() 2008-05-22 09:57:47 +00:00
Igor Sysoev
f3be0b33c2 delete outdated debug logging that only causes segfault if enabled 2008-05-22 07:10:36 +00:00
Igor Sysoev
cdd4354b49 style fix 2008-05-21 17:39:51 +00:00
Igor Sysoev
ccd55fc2ca fix building on modern Fedora 9 caused by IOV_MAX 2008-05-20 13:45:07 +00:00
Igor Sysoev
f9d923e5fe bump version 2008-05-19 10:45:57 +00:00
Igor Sysoev
48242f4b08 avoid recursive loop 2008-05-19 10:24:22 +00:00
Igor Sysoev
f1e58930c8 expires modified 2008-05-16 15:18:50 +00:00
Igor Sysoev
69988d1162 $uid_got and $uid_set may used at any time 2008-05-16 15:03:37 +00:00
Igor Sysoev
3be5257a4f $hostname variable 2008-05-16 14:39:06 +00:00
Igor Sysoev
5f3521cf4f escape 0x00-0x1f, ", and \ in access log variables 2008-05-15 15:09:39 +00:00
Igor Sysoev
5fd0931a61 *) host in request line has priority
*) allow several Host headers
*) validate host
2008-05-15 14:44:47 +00:00
Igor Sysoev
433608c180 style fix: remove tabs and trailing spaces 2008-05-14 07:54:52 +00:00
Igor Sysoev
7a06fbdcca small fixes 2008-05-13 09:47:52 +00:00
Igor Sysoev
bc5fb294af test user agent in header callback 2008-05-13 09:18:58 +00:00
Igor Sysoev
c11582a983 bump version 2008-05-12 10:08:28 +00:00
Igor Sysoev
ca1bed390d fix error introduced in r1273 and r1275:
nginx did not process FastCGI response if header was at end of FastCGI record
2008-05-08 09:53:22 +00:00
Igor Sysoev
a327841bff fix segfault when file is deleted and open_file_cache_errors is off 2008-04-29 18:15:23 +00:00
Igor Sysoev
ada9190ed8 back out the previous commit 2008-04-29 18:14:45 +00:00
Igor Sysoev
4de5124191 fix segfault when file is deleted and open_file_cache_errors is off 2008-04-29 14:39:15 +00:00
Igor Sysoev
1cd3b0c3db bump version 2008-04-29 12:44:47 +00:00
Igor Sysoev
615fe7f4be args support in static error_page 2008-04-29 10:06:43 +00:00
Igor Sysoev
49db9d4602 reset message 2008-04-29 09:35:06 +00:00
Igor Sysoev
a13b3b97ea ignore glob no match error 2008-04-29 09:28:42 +00:00
Igor Sysoev
175d9a277e reset looked at match 2008-04-29 06:15:56 +00:00
Igor Sysoev
396abff226 get certificate info only for debug build 2008-04-28 08:52:32 +00:00
Igor Sysoev
58d3821cf0 fix memory leak when ssl_verify_client is on 2008-04-28 08:50:39 +00:00
Igor Sysoev
b39b9aa59a Cygwin O_BINARY mode 2008-04-24 19:19:26 +00:00
Igor Sysoev
439e288a1b fix memory leak when ssl_verify_client is on 2008-04-23 18:57:25 +00:00
Igor Sysoev
6a2ea3f544 small fix 2008-04-17 14:32:11 +00:00
Igor Sysoev
f57b24e70f allow time without spaces in ngx_parse_time() 2008-04-17 14:23:20 +00:00
Igor Sysoev
2e39e289e1 change variable name 2008-04-16 19:33:23 +00:00
Igor Sysoev
4611ad3dea use more straightforward ngx_gmtime() implementation 2008-04-13 13:33:12 +00:00
Igor Sysoev
a8372d8a84 limit CNAME recursion 2008-04-12 07:29:20 +00:00
Igor Sysoev
523e09ee1a fix segfault 2008-04-11 09:15:07 +00:00
Igor Sysoev
7c5c1dccd6 use correct ngx_sprintf() formats 2008-04-10 17:27:07 +00:00
Igor Sysoev
4ad5be6f93 log unexpected qtype 2008-04-10 17:26:14 +00:00
Igor Sysoev
19540cd83e take into account DNAME 2008-04-10 17:12:21 +00:00
Igor Sysoev
b8a71b6c1b comment Gauss' formula 2008-04-10 09:37:12 +00:00
Igor Sysoev
d52c878692 grammar fix 2008-04-09 19:09:13 +00:00
Igor Sysoev
693bf6db1e small optimization 2008-04-09 18:56:36 +00:00
Igor Sysoev
09b199cf77 return NXDOMAIN for ".." in host name 2008-04-09 14:45:39 +00:00
Igor Sysoev
949aea4dfe fix memory leak on resolver query send failure 2008-04-09 14:26:08 +00:00
Igor Sysoev
f576f0d2bc quick resolving handles u->resolved->ctx by itself 2008-04-09 14:20:17 +00:00
Igor Sysoev
a4ec6869fc fix peer sendfile capability 2008-04-04 12:07:13 +00:00
Igor Sysoev
f1c8f4471a update previous commit 2008-03-24 17:17:17 +00:00
Igor Sysoev
de8ec1efc8 use ngx_int_t in ngx_sort() callback 2008-03-24 13:04:02 +00:00
Igor Sysoev
8634118bc8 use dynamically allocated buffer in ngx_sort() 2008-03-23 19:58:54 +00:00
Igor Sysoev
f84ad941dc it seems that malloc.h is required for Cygwin only
and breaks building on other platforms
2008-03-23 15:42:40 +00:00
Igor Sysoev
37e0e6d863 axe never used macro 2008-03-20 07:31:51 +00:00
Igor Sysoev
51e966cedc bump version 2008-03-18 14:51:09 +00:00
Igor Sysoev
85dd8fc5b6 ngx_google_perftools_module 2008-03-18 10:36:27 +00:00
Igor Sysoev
8da1fa935f low some SSL handshake errors level 2008-03-18 10:35:00 +00:00
Igor Sysoev
9ff26ce124 use ngx_ext_rename_file() in proxy/fastcgi_store 2008-03-17 13:07:35 +00:00
Igor Sysoev
37cc29a405 some perl builds require my_perl for PERL_SYS_TERM() 2008-03-17 08:58:07 +00:00
Igor Sysoev
d8623fc535 fastcgi params debug logging 2008-03-16 18:03:10 +00:00
Igor Sysoev
430db103f6 speed up ngx_http_charset_recode() for 25%: google-perftools reported
that CPU usage of charset body filter has decreased from 7.5% to 5.5%
if gzipping is disabled
2008-03-16 16:52:15 +00:00
Igor Sysoev
70d0961658 test the more likely case first 2008-03-16 16:47:16 +00:00
Igor Sysoev
8c8a6e5f2f use the more correct mask 2008-03-16 13:29:49 +00:00
Igor Sysoev
a616ef77e2 style fix 2008-03-14 12:31:20 +00:00
Igor Sysoev
cbed526049 fix building on 64-bit platforms broken in r1900 2008-03-13 15:48:36 +00:00
Igor Sysoev
b9186ad856 restore building --test-build-rtsig and --test-build-eventport on FreeBSD 6 2008-03-13 15:47:14 +00:00
Igor Sysoev
c732d8d1fe fix the previous commit 2008-03-13 13:00:40 +00:00
Igor Sysoev
3799f5cb41 fix case when errors are not cached,
and a file was not used often enough to keep open
and it has been removed before it was kept open
2008-03-13 12:59:25 +00:00
Igor Sysoev
732a34a137 axe useless code 2008-03-13 12:34:59 +00:00
Igor Sysoev
8227959668 bump version 2008-03-13 06:39:00 +00:00
Igor Sysoev
5d6ca1e3e4 fix r1921 2008-03-12 19:34:36 +00:00
Igor Sysoev
8ce6b25201 bump version 2008-03-12 13:37:29 +00:00
Igor Sysoev
2061259612 non cacheable $proxy_host and $proxy_port 2008-03-11 14:10:11 +00:00
Igor Sysoev
472233d0a3 invalidate SSL session if there is no valid client certificate 2008-03-10 14:47:07 +00:00
Igor Sysoev
fb14092fdc fix large memory allocation in "error_page 495-497 /uri" 2008-03-10 14:45:41 +00:00
Igor Sysoev
15a20079a5 do not change method while error redirection to named location 2008-03-10 14:36:42 +00:00
Igor Sysoev
001a9cfa37 disable rtsig automatic building in post 2.6.18 Linux kernels 2008-03-10 14:35:21 +00:00
Igor Sysoev
f39876c24b create dummy resolver in http context to inherit it in all servers 2008-03-06 08:48:55 +00:00
Igor Sysoev
73eb97f500 check duplicate resolver 2008-03-06 08:48:25 +00:00
Igor Sysoev
a4d00f1c97 decrease log level of connection errors while closing socket 2008-03-05 21:21:26 +00:00
Igor Sysoev
cca6000247 ngx_resolve_name() frees ctx on immediate failure 2008-03-05 07:30:44 +00:00
Igor Sysoev
887dd4e5d5 reset r->content_handler in a named location 2008-03-04 14:57:07 +00:00
Igor Sysoev
be02468c6d fix previous commit 2008-03-04 10:47:34 +00:00
Igor Sysoev
dfd5511f7a use cf->cycle->new_log because at merge stage cf->pool->log is old log 2008-03-04 10:42:05 +00:00
Igor Sysoev
8efe926dc5 fix r1903 2008-03-03 20:04:06 +00:00
Igor Sysoev
85d6a3e3db included file name must be allocated in pool,
because it may be used in error message later
2008-03-03 17:12:05 +00:00
Igor Sysoev
5461caf920 fix r1490 2008-03-03 16:44:56 +00:00
Igor Sysoev
34cec29e0c C++ compatibility 2008-03-03 16:32:16 +00:00
Igor Sysoev
7c15b75cc7 fix memory leak in long-lived non buffered connections 2008-03-03 10:42:00 +00:00
Igor Sysoev
4491daef30 cleanup resolver 2008-02-28 20:38:34 +00:00
Igor Sysoev
02aa53be83 left open sockets were not really tested 2008-02-28 20:31:33 +00:00
Igor Sysoev
7c4cf27aff fix memory leaks, use unlocked ngx_resolver_free() for seldom failed cases 2008-02-28 20:09:39 +00:00
Igor Sysoev
8ee01f5cb8 static ngx_resolver_calloc() 2008-02-28 15:34:53 +00:00
Igor Sysoev
d3434dfa63 check port in upstream list 2008-02-21 13:58:45 +00:00
Igor Sysoev
09248b7a55 use CMSG_LEN(), this fixes an alert "sendmsg() failed (9: Bad file descriptor)"
on some 64-bit platforms
2008-02-19 16:34:55 +00:00
Igor Sysoev
bb7c84159f avoid endless loop if epoll is used 2008-02-19 16:30:54 +00:00
Igor Sysoev
5fe93ee95f pass additional arguments in ngx_http_perl_call_handler() as SV 2008-02-16 14:29:44 +00:00
Igor Sysoev
85a5281be9 fix previous commit 2008-02-16 14:24:43 +00:00
Igor Sysoev
0a0c02f58b optimize $r->sleep 2008-02-16 14:23:14 +00:00
Igor Sysoev
5fa1146dd5 do not resolve SMTP clients by default 2008-02-16 13:46:33 +00:00
Igor Sysoev
0f2e924428 delete unneeded dXSTARG 2008-02-15 13:57:55 +00:00
Igor Sysoev
ce30765975 named locations in post_action 2008-02-15 12:46:40 +00:00
Igor Sysoev
ca876e1a7f fix segfault if empty stub block is used second time 2008-02-14 16:03:48 +00:00
Igor Sysoev
45450461b6 resolver in smtp proxy module 2008-02-13 13:50:04 +00:00
Igor Sysoev
04610ead82 length calculation did not take into account escaped symbols in arguments 2008-02-12 18:05:32 +00:00
Igor Sysoev
2a6c4466ee bump version 2008-02-11 15:27:44 +00:00
Igor Sysoev
665b9fd2e2 set absolute weight, this fixes bogus "no live upstream" case when
last upstream is down while live one has negative weight
2008-02-11 14:31:38 +00:00
Igor Sysoev
c2e854e198 add X-Accel-Charset to ingored header, fix X-Accel-Buffering 2008-02-11 14:02:28 +00:00
Igor Sysoev
be0a61e618 test response length in proxy/fastcgi_store 2008-02-11 13:14:56 +00:00
Igor Sysoev
d173a14619 fix order 2008-02-07 10:45:04 +00:00
Igor Sysoev
f2aab81323 fix order 2008-02-07 10:43:45 +00:00
Igor Sysoev
88b2406f49 fix order 2008-02-07 10:38:13 +00:00
Igor Sysoev
d2d673a8f9 fix return code 2008-02-07 08:57:07 +00:00
Igor Sysoev
18be913cb6 fix r1879 2008-02-06 17:23:17 +00:00
Igor Sysoev
61adfb287f do not delete failed DNS request if there are waiting clients 2008-02-06 16:08:52 +00:00
Igor Sysoev
4d856ca763 fix segfault if UDP connect() has failed 2008-02-06 16:01:35 +00:00
Igor Sysoev
704e1c1324 low SSL handshake close notify alert error level 2008-02-04 20:46:58 +00:00
Igor Sysoev
b1d4a6cc80 low SSL handshake errors level 2008-02-01 14:05:18 +00:00
Igor Sysoev
c463ece9d7 reset ready flag if no data is available,
this fixes endless loop at least in lingering close
2008-01-31 15:36:33 +00:00
Igor Sysoev
ac5deaa906 treat time_t as unsigned time 2008-01-31 15:14:31 +00:00
Igor Sysoev
c20d3769bc backout r1757, we really need SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER 2008-01-31 15:10:45 +00:00
Igor Sysoev
48b7b9bd0e detect L2 cache line size for Intel Core 2008-01-29 07:06:18 +00:00
Igor Sysoev
442d1e63f2 fix cache line size for Pentium 4 2008-01-29 06:58:47 +00:00
Igor Sysoev
6e8bc2b72d fix building --test-build-rtsig and --test-build-eventport on FreeBSD 7 2008-01-28 16:24:01 +00:00
Igor Sysoev
02d8e8e377 add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWN 2008-01-25 14:57:35 +00:00
Igor Sysoev
c783c35b5f pull all errors 2008-01-25 14:56:37 +00:00