Commit graph

894 commits

Author SHA1 Message Date
Igor Sysoev
f239450073 bump version 2008-08-04 16:45:52 +00:00
Igor Sysoev
488629350b ngx_hash_strlow() 2008-08-04 10:18:36 +00:00
Igor Sysoev
7648ef4763 ngx_strlow() 2008-08-04 10:07:00 +00:00
Igor Sysoev
524a1575b1 bump version 2008-07-30 13:38:49 +00:00
Igor Sysoev
bf12c62e56 directio 2008-07-30 12:34:04 +00:00
Igor Sysoev
825b7e8039 *) move Darwin support to separate files
*) Darwin sendfile() support
2008-07-30 12:18:07 +00:00
Igor Sysoev
261287b0be rename ngx_utf_...() to ngx_utf8_...() 2008-07-29 14:41:34 +00:00
Igor Sysoev
d8db68a729 fix utf-8 names in autoindex 2008-07-25 14:29:05 +00:00
Igor Sysoev
0762a81a11 bump version 2008-07-07 12:19:57 +00:00
Igor Sysoev
bece4041ad bump version 2008-07-01 07:38:28 +00:00
Igor Sysoev
789e3f2ad8 bump version 2008-06-30 12:46:40 +00:00
Igor Sysoev
bfe44ae438 -g switch 2008-06-30 12:35:16 +00:00
Igor Sysoev
a1ef4c7622 variables in access_log 2008-06-30 12:27:24 +00:00
Igor Sysoev
24a95941e4 fix comment 2008-06-30 12:12:16 +00:00
Igor Sysoev
6986daa34c fix the previous commit 2008-06-30 12:11:47 +00:00
Igor Sysoev
ae73eb9661 use ngx_file_info() and test uniq if file is already open 2008-06-26 16:10:13 +00:00
Igor Sysoev
29dd032e46 refactor obscure code 2008-06-25 14:56:14 +00:00
Igor Sysoev
5868a5320d initialize of.uniq in ngx_open_cached_file() 2008-06-23 13:35:34 +00:00
Igor Sysoev
9187c5481f bump version 2008-06-23 10:50:18 +00:00
Igor Sysoev
eb9d6d0b66 fix max size allocated from pool 2008-06-21 06:40:32 +00:00
Igor Sysoev
c905f0ef73 fix the previous commit 2008-06-20 21:06:53 +00:00
Igor Sysoev
e5f335d391 small optimization 2008-06-20 20:57:40 +00:00
Igor Sysoev
0ebc285aa0 *) 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
90b7e712ce bump version 2008-06-16 09:11:12 +00:00
Igor Sysoev
413dfbbd79 *) 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
ad12f1268f bump version 2008-05-26 09:54:17 +00:00
Igor Sysoev
7aff7dd9c0 new ngx_queue functions 2008-05-24 14:10:01 +00:00
Igor Sysoev
54fbbd0412 style fix 2008-05-22 12:09:41 +00:00
Igor Sysoev
731adf0c13 bump version 2008-05-19 10:45:57 +00:00
Igor Sysoev
4b020d55bd $hostname variable 2008-05-16 14:39:06 +00:00
Igor Sysoev
64d5c02d1f escape 0x00-0x1f, ", and \ in access log variables 2008-05-15 15:09:39 +00:00
Igor Sysoev
bae2ece30b style fix: remove tabs and trailing spaces 2008-05-14 07:54:52 +00:00
Igor Sysoev
e8c98494f4 bump version 2008-05-12 10:08:28 +00:00
Igor Sysoev
f993862bf2 fix segfault when file is deleted and open_file_cache_errors is off 2008-04-29 18:15:23 +00:00
Igor Sysoev
595653cfeb back out the previous commit 2008-04-29 18:14:45 +00:00
Igor Sysoev
21b408ec96 fix segfault when file is deleted and open_file_cache_errors is off 2008-04-29 14:39:15 +00:00
Igor Sysoev
9cfe2aecd4 bump version 2008-04-29 12:44:47 +00:00
Igor Sysoev
b630cae48d ignore glob no match error 2008-04-29 09:28:42 +00:00
Igor Sysoev
294cf16679 allow time without spaces in ngx_parse_time() 2008-04-17 14:23:20 +00:00
Igor Sysoev
11d2c0fedc change variable name 2008-04-16 19:33:23 +00:00
Igor Sysoev
ba0cc5e2cb use more straightforward ngx_gmtime() implementation 2008-04-13 13:33:12 +00:00
Igor Sysoev
f68e094d7a limit CNAME recursion 2008-04-12 07:29:20 +00:00
Igor Sysoev
83d444c5d0 use correct ngx_sprintf() formats 2008-04-10 17:27:07 +00:00
Igor Sysoev
7005534ff5 log unexpected qtype 2008-04-10 17:26:14 +00:00
Igor Sysoev
21377c009d take into account DNAME 2008-04-10 17:12:21 +00:00
Igor Sysoev
7d55d9dc2f small optimization 2008-04-09 18:56:36 +00:00
Igor Sysoev
82795fd08c return NXDOMAIN for ".." in host name 2008-04-09 14:45:39 +00:00
Igor Sysoev
ee7770ec51 fix memory leak on resolver query send failure 2008-04-09 14:26:08 +00:00
Igor Sysoev
24da7352fd use ngx_int_t in ngx_sort() callback 2008-03-24 13:04:02 +00:00
Igor Sysoev
e3fb99f87a use dynamically allocated buffer in ngx_sort() 2008-03-23 19:58:54 +00:00
Igor Sysoev
b97e607c33 axe never used macro 2008-03-20 07:31:51 +00:00
Igor Sysoev
1392f827fe bump version 2008-03-18 14:51:09 +00:00
Igor Sysoev
b051b72e61 fix the previous commit 2008-03-13 13:00:40 +00:00
Igor Sysoev
540cb9b3aa 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
229294d395 axe useless code 2008-03-13 12:34:59 +00:00
Igor Sysoev
1606b65d8e bump version 2008-03-13 06:39:00 +00:00
Igor Sysoev
51aff08456 bump version 2008-03-12 13:37:29 +00:00
Igor Sysoev
7c11652b25 decrease log level of connection errors while closing socket 2008-03-05 21:21:26 +00:00
Igor Sysoev
63131f46a8 fix previous commit 2008-03-04 10:47:34 +00:00
Igor Sysoev
f0590d13b0 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
acc951b0d9 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
5fc9a66ef5 C++ compatibility 2008-03-03 16:32:16 +00:00
Igor Sysoev
8e773cdc3b cleanup resolver 2008-02-28 20:38:34 +00:00
Igor Sysoev
20a7e32435 fix memory leaks, use unlocked ngx_resolver_free() for seldom failed cases 2008-02-28 20:09:39 +00:00
Igor Sysoev
ee7d212bdf static ngx_resolver_calloc() 2008-02-28 15:34:53 +00:00
Igor Sysoev
bbdef43461 bump version 2008-02-11 15:27:44 +00:00
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