Commit graph

778 commits

Author SHA1 Message Date
Igor Sysoev
02a5ce8dca fix r1879 2008-02-06 17:23:17 +00:00
Igor Sysoev
d360e73c70 do not delete failed DNS request if there are waiting clients 2008-02-06 16:08:52 +00:00
Igor Sysoev
ae671bed79 fix segfault if UDP connect() has failed 2008-02-06 16:01:35 +00:00
Igor Sysoev
09f6e25c89 treat time_t as unsigned time 2008-01-31 15:14:31 +00:00
Igor Sysoev
5cffe1052c detect L2 cache line size for Intel Core 2008-01-29 07:06:18 +00:00
Igor Sysoev
d10ae97e18 fix cache line size for Pentium 4 2008-01-29 06:58:47 +00:00
Igor Sysoev
db38365ab7 add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWN 2008-01-25 14:57:35 +00:00
Igor Sysoev
749922f792 limit string length 2008-01-24 15:18:58 +00:00
Igor Sysoev
7b1670f1c5 use correct type cast 2008-01-24 15:18:17 +00:00
Igor Sysoev
9b813cffc8 allow zero length in %*s 2008-01-22 15:13:01 +00:00
Igor Sysoev
c2d454a9c4 fix building by bcc introduced by r1831 2008-01-22 15:09:55 +00:00
Igor Sysoev
4dda2bd7a6 bump version 2008-01-08 13:05:18 +00:00
Igor Sysoev
ff3410aa48 workaround for Linux 2.6 OpenVZ 2008-01-08 11:31:50 +00:00
Igor Sysoev
26e737a2c8 change order 2008-01-04 11:54:55 +00:00
Igor Sysoev
e58627919e add declaration missed in previous commit 2008-01-03 22:17:27 +00:00
Igor Sysoev
7d96521689 transform ngx_create_path_and_rename_file() to ngx_ext_rename_file() 2008-01-03 22:16:37 +00:00
Igor Sysoev
4d079eba8e bump version 2007-12-27 18:47:33 +00:00
Igor Sysoev
26089cd999 bump version 2007-12-27 15:39:06 +00:00
Igor Sysoev
25427feac6 ngx_regex_exec_array() 2007-12-27 13:15:08 +00:00
Igor Sysoev
4b32db62b0 several fixes:
*) do not add event if file was used less than min_uses
*) do not rely upon event to avoid race conditions
*) ngx_open_file_lookup()
2007-12-25 10:46:40 +00:00
Igor Sysoev
2c27e0be14 use %*s format 2007-12-24 17:05:31 +00:00
Igor Sysoev
2729f9ede6 %*s format 2007-12-24 17:05:16 +00:00
Igor Sysoev
c9d8ac563a open_file_cache_min_uses 2007-12-22 13:19:39 +00:00
Igor Sysoev
9b84b607d9 take MALLOC_OPTIONS=J into account in slab allocator 2007-12-22 11:06:53 +00:00
Igor Sysoev
5202af7573 open_file_cache_retest > open_file_cache_valid 2007-12-21 16:19:48 +00:00
Igor Sysoev
e35d6ba22c fix the previous commit 2007-12-21 16:19:14 +00:00
Igor Sysoev
d514f49f08 use ngx_queue.h 2007-12-21 15:33:15 +00:00
Igor Sysoev
273ac50acd clean rbtree node for all removals 2007-12-21 15:32:51 +00:00
Igor Sysoev
0c89e11d88 style fix 2007-12-21 15:24:59 +00:00
Igor Sysoev
e02ad43419 embed sentinel 2007-12-20 21:29:52 +00:00
Igor Sysoev
34da96a7cd bump version 2007-12-19 16:56:01 +00:00
Igor Sysoev
17470252fd comment ngx_walk_tree() 2007-12-18 18:04:37 +00:00
Igor Sysoev
eeeb5c9fd4 ngx_create_hashed_filename() does not need ngx_file_t 2007-12-17 21:29:34 +00:00
Igor Sysoev
90d0e036c1 create the only cleanup 2007-12-17 21:23:05 +00:00
Igor Sysoev
663fbda196 style fix: remove trailing spaces 2007-12-17 21:20:12 +00:00
Igor Sysoev
c70e255fa0 replace ngx_md5_text() with ngx_hex_dump() 2007-12-17 21:06:17 +00:00
Igor Sysoev
c8bb8fbaaf log run cleanups clearly 2007-12-17 17:29:36 +00:00
Igor Sysoev
c61f8cd4a8 optimize rbtree initialization and insert 2007-12-17 08:52:00 +00:00
Igor Sysoev
420323780a no answers in DNS response should be NXDOMAIN 2007-12-16 20:47:55 +00:00
Igor Sysoev
6f49134630 fix segfault if response will have CNAME only 2007-12-16 20:00:15 +00:00
Igor Sysoev
71b8deb9d0 restore environ for perl_destruct() 2007-12-16 11:58:16 +00:00
Igor Sysoev
1e973c6d87 move condition declarations inside blocks where they are used 2007-12-10 12:09:51 +00:00
Igor Sysoev
30676327b2 *) 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
2b7c295215 fix r1695 2007-12-08 22:12:37 +00:00
Igor Sysoev
5f21421401 ngx_create_path_and_rename_file() 2007-12-07 20:22:03 +00:00
Igor Sysoev
79ce6f8f61 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
6694df5d91 bump version 2007-12-03 17:26:28 +00:00
Igor Sysoev
23338af6e1 ngx_udp_recv() 2007-12-03 16:46:46 +00:00
Igor Sysoev
4b011ec1f3 use ngx_rbtree_init() 2007-12-03 12:17:26 +00:00
Igor Sysoev
413cc634bf ngx_rbtree_init() 2007-12-03 12:17:15 +00:00
Igor Sysoev
927cf70a5f use ngx_queue_init() 2007-12-03 11:21:19 +00:00
Igor Sysoev
fcb170fbca ngx_queue_init() 2007-12-03 11:21:07 +00:00
Igor Sysoev
ce86f12a95 allow to use IP addresses without defined resolver 2007-12-03 10:05:19 +00:00
Igor Sysoev
1d25090146 style fix: remove trailing spaces 2007-12-01 19:57:37 +00:00
Igor Sysoev
8009a9c41d 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
7328fd5950 bump version 2007-11-28 19:17:24 +00:00
Igor Sysoev
03730a612f bump version 2007-11-27 16:58:41 +00:00
Igor Sysoev
c6041e61db bump version 2007-11-27 16:25:32 +00:00
Igor Sysoev
79d54be696 fix previous commit 2007-11-23 17:27:01 +00:00
Igor Sysoev
b8b26eaf4b resolver 2007-11-23 17:13:26 +00:00
Igor Sysoev
859f375a06 update ngx_memcmp() 2007-11-23 17:00:11 +00:00
Igor Sysoev
b0035d246d ngx_inet_addr() 2007-11-23 16:59:24 +00:00
Igor Sysoev
1884fd1343 ngx_queue.h 2007-11-23 16:32:50 +00:00
Igor Sysoev
f8d3ec16b5 the simple expression has the same precision without overflow 2007-11-16 18:15:04 +00:00
Igor Sysoev
315fa5b74d bump version 2007-11-15 15:42:39 +00:00
Igor Sysoev
f1dfba6181 64-bit time_t compatibility 2007-11-15 14:26:36 +00:00
Igor Sysoev
f544967693 do not encode already encoded characters in msie_refresh 2007-11-09 13:17:58 +00:00
Igor Sysoev
d22059220c bump version 2007-10-29 14:09:12 +00:00
Igor Sysoev
47df56d5d5 style fix 2007-10-22 15:22:08 +00:00
Igor Sysoev
39bd97db14 bump version 2007-10-22 11:24:05 +00:00
Igor Sysoev
5c422fd820 unescape SSI include 2007-10-22 10:19:17 +00:00
Igor Sysoev
111b034ee8 ngx_sha1.h 2007-10-16 12:16:58 +00:00
Igor Sysoev
3e34d90164 ngx_md5.h 2007-10-16 11:59:47 +00:00
Igor Sysoev
72dd95b480 bump version 2007-10-15 11:32:09 +00:00
Igor Sysoev
2e4e39296a fix English grammar 2007-10-14 18:56:15 +00:00
Igor Sysoev
b8baad1936 style fix: remove double semicolons 2007-10-09 20:11:03 +00:00
Igor Sysoev
df7cac2b02 style fix: remove trailing spaces 2007-10-09 18:42:00 +00:00
Igor Sysoev
1b528b45da use pool instead of ngx_conf_t 2007-10-08 08:55:12 +00:00
Igor Sysoev
2c924bac25 ngx_strnstr() 2007-10-01 14:48:33 +00:00
Igor Sysoev
15ae439ba8 add comment 2007-10-01 13:00:30 +00:00
Igor Sysoev
ed203139f6 ngx_escape_html() 2007-09-27 09:36:50 +00:00
Igor Sysoev
b15f13ccf0 ngx_strstrn() and ngx_strcasestrn() 2007-09-26 19:25:52 +00:00
Igor Sysoev
773786c1c4 fix comment 2007-09-26 12:23:34 +00:00
Igor Sysoev
0d2160c48d bump version 2007-09-24 04:18:22 +00:00
Igor Sysoev
be3081d599 bump version 2007-09-21 14:41:05 +00:00
Igor Sysoev
fbe4862a64 fix r1416 2007-09-21 13:43:53 +00:00
Igor Sysoev
f0e951e23e bump version 2007-09-11 13:21:30 +00:00
Igor Sysoev
0510116c34 bump version 2007-09-03 10:35:02 +00:00
Igor Sysoev
3eeb5f6845 test the most relevant condition first 2007-09-03 09:06:26 +00:00
Igor Sysoev
cd77964df6 open_file_cache_events 2007-09-03 08:41:42 +00:00
Igor Sysoev
5d30aa5e86 open file cache 2007-09-01 12:11:21 +00:00
Igor Sysoev
9f94c4abb8 change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr 2007-09-01 12:05:55 +00:00
Igor Sysoev
b5f0c83025 fix typo 2007-08-31 06:15:50 +00:00
Igor Sysoev
1c98a2c5e9 log socket number 2007-08-29 15:33:59 +00:00
Igor Sysoev
fe4494bfb4 bump version 2007-08-28 16:44:29 +00:00
Igor Sysoev
d3345e465f fix trailing wildcard when two or more listen used in one server 2007-08-24 11:05:47 +00:00
Igor Sysoev
3ca15678cc bump version 2007-08-20 13:10:25 +00:00
Igor Sysoev
3d442cfe0f 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
519bb30b6c 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
fc62e7a845 escape " ", "%", and %00-%1F in login and password 2007-08-20 09:50:53 +00:00
Igor Sysoev
22b8d513ea bump version 2007-08-15 12:58:35 +00:00
Igor Sysoev
1f36f2b49e ignore meaningless bits in CIDR and warn about them 2007-08-10 13:13:28 +00:00
Igor Sysoev
c5245bab92 set default listen() backlog to 511 on all platforms except FreeBSD 2007-08-09 13:32:21 +00:00
Igor Sysoev
feedad72be bump version 2007-07-30 09:23:26 +00:00
Igor Sysoev
5385801f35 make 64-bit ngx_int_t on 64-bit platforms 2007-07-29 18:24:53 +00:00
Igor Sysoev
37f3097fbe --sysconfdir=DIR 2007-07-29 18:05:45 +00:00
Igor Sysoev
c534c63601 bump version 2007-07-23 08:12:24 +00:00
Igor Sysoev
f048c9a001 escape space, etc in $memcached_key 2007-07-22 19:18:59 +00:00
Igor Sysoev
26022f76a6 fix potential double free(),
found by Coverity's Scan
2007-07-19 19:11:57 +00:00
Igor Sysoev
100d0f42ad fix potential segfault,
found by Coverity's Scan
2007-07-19 19:08:22 +00:00
Igor Sysoev
260cba9111 fix memory leak,
found by Coverity's Scan
2007-07-19 19:07:13 +00:00
Igor Sysoev
b56f4e953c bump version 2007-07-17 10:15:07 +00:00
Igor Sysoev
ac2375f0f9 Sun Studio on sparc uses different bit order 2007-07-17 09:23:23 +00:00
Igor Sysoev
fb427d3bad msie_refresh should escape at least '"' to prevent XSS 2007-07-13 09:37:01 +00:00
Igor Sysoev
78300bff51 "?" should not be escaped 2007-07-13 09:35:51 +00:00
Igor Sysoev
93a49ec586 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
bf08751a0f bump version 2007-07-12 11:35:57 +00:00
Igor Sysoev
3ff8cde26d proxy_store and fastcgi_store 2007-07-12 11:19:05 +00:00
Igor Sysoev
bfab8ca187 reset errno 2007-07-11 10:46:21 +00:00
Igor Sysoev
bbb3401960 bump version 2007-07-09 07:09:38 +00:00
Igor Sysoev
3fb0cd4a5e bump version 2007-06-17 19:27:34 +00:00
Igor Sysoev
ceaab041e0 bump version 2007-06-14 05:48:47 +00:00
Igor Sysoev
5fb6ed90af the "www.example.*" wildcard hash support 2007-06-11 19:49:22 +00:00
Igor Sysoev
86364a7ca5 bump version 2007-06-11 19:32:29 +00:00
Igor Sysoev
5b2574b83d bump version 2007-06-08 05:43:05 +00:00
Igor Sysoev
16df8021ab eliminate old unused typedef 2007-06-06 08:11:33 +00:00
Igor Sysoev
a8dc68ba1b fix bug introduced in r1228 2007-06-06 05:56:51 +00:00
Igor Sysoev
8e485d04d9 change wording 2007-06-05 11:55:39 +00:00
Igor Sysoev
ececb5c67e bump version 2007-06-04 16:14:33 +00:00
Igor Sysoev
ac669b88f7 inherit flush flag, this fixes https proxying 2007-06-03 19:58:30 +00:00
Igor Sysoev
16116a1e57 add debug logging 2007-06-03 19:56:27 +00:00
Igor Sysoev
68e482d875 add comment 2007-05-30 13:24:50 +00:00
Igor Sysoev
a9f6f42376 do listen() just after bind() to exit early 2007-05-30 13:23:48 +00:00
Igor Sysoev
d3484d108c style fix 2007-05-30 12:28:37 +00:00
Igor Sysoev
c600b9009e change wording 2007-05-29 19:43:18 +00:00
Igor Sysoev
8a024b7e8e fix segfault 2007-05-29 16:33:34 +00:00
Igor Sysoev
abeea7a54e bump version 2007-05-29 12:15:04 +00:00
Igor Sysoev
c23a155b3d 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
156d855be9 bump version 2007-05-28 19:03:06 +00:00
Igor Sysoev
d8903d3073 fix "proxy_pass https://" 2007-05-28 11:09:18 +00:00
Igor Sysoev
c118274426 ngx_sort 2007-05-21 14:05:23 +00:00
Igor Sysoev
ccd05f129f 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
8acd9d77f1 style fix 2007-05-19 17:39:44 +00:00
Igor Sysoev
3bc7f6ab9a bump version 2007-05-07 14:39:11 +00:00
Igor Sysoev
0dcbd9f7db limit minimal pool size 2007-05-07 09:20:42 +00:00
Igor Sysoev
dd5f133823 bump version 2007-04-24 06:26:56 +00:00
Igor Sysoev
eadee2e9c9 bump version 2007-04-19 18:23:54 +00:00
Igor Sysoev
c4d5388883 style fix 2007-04-18 19:43:22 +00:00
Igor Sysoev
ed3c703f4a fix segfault when
*) perl was built without multiplicity
*) when configuration was invalid
2007-04-18 11:28:11 +00:00
Igor Sysoev
d1bc9462ed bump version 2007-04-02 10:50:18 +00:00