Commit graph

912 commits

Author SHA1 Message Date
Igor Sysoev
726732cb89 bump version 2008-12-16 16:12:31 +00:00
Igor Sysoev
b575b6efd5 use ngx_ext_rename_file() for single file MOVE 2008-12-10 14:53:45 +00:00
Igor Sysoev
89d5a602d7 compact win32 errno logging 2008-12-09 17:41:17 +00:00
Igor Sysoev
8ee817edaf bump version 2008-12-09 11:13:12 +00:00
Igor Sysoev
a2d1a1e0dd bump version 2008-12-08 17:59:43 +00:00
Igor Sysoev
b60c788cd7 fix comment 2008-12-02 16:50:56 +00:00
Igor Sysoev
c0fe90885e bump version 2008-12-02 14:59:14 +00:00
Igor Sysoev
80563412b8 bump version 2008-11-28 17:22:06 +00:00
Igor Sysoev
ad88b84e35 allocate cf->conf_file and cf->conf_file->buffer on stack 2008-11-25 15:55:10 +00:00
Igor Sysoev
4a47126295 fix segfault on close error 2008-11-25 14:45:44 +00:00
Igor Sysoev
00b187ec16 ngx_reset_pool() 2008-11-25 14:25:20 +00:00
Igor Sysoev
c5d64f7af9 *) increase ngx_conf_log_error() buffer
*) always log an error code
2008-11-25 13:00:53 +00:00
Igor Sysoev
60a1004e28 bump version 2008-11-22 20:38:45 +00:00
Igor Sysoev
79001f998d allow directio on XFS 2008-11-20 16:21:39 +00:00
Igor Sysoev
1a70105b21 fix compression pointer for big (>255) DNS responses 2008-11-17 08:04:41 +00:00
Igor Sysoev
daef2021e4 bump version 2008-11-12 10:48:27 +00:00
Igor Sysoev
96dfdc49a6 compatibility with glibc 2.3, warn_unused_result attribute for write() 2008-11-11 16:17:45 +00:00
Igor Sysoev
dfaf3823d7 style fix: remove trailing spaces 2008-11-11 16:04:05 +00:00
Igor Sysoev
0bcb5c5e59 bump version 2008-11-10 18:34:24 +00:00
Igor Sysoev
6df4eaaf88 %f format 2008-11-10 15:20:59 +00:00
Igor Sysoev
476eddc439 align first allocation from additional pool block, this fixes bus error on sun4v 2008-11-06 16:14:24 +00:00
Igor Sysoev
39c8f46741 fix case proxy_pass URL is evaluted to http://host?args 2008-10-24 19:34:24 +00:00
Igor Sysoev
f8ec8752a6 fix case when URL has no port, but has ":" in URI part,
the bug has been introduced in r2204
2008-10-24 15:12:11 +00:00
Igor Sysoev
d7354d3695 show name for a FORMERR DNS response 2008-10-24 14:38:09 +00:00
Igor Sysoev
ee1be262b3 FORMERR DNS response may be equal to mininal query size 2008-10-24 14:34:10 +00:00
Igor Sysoev
c021c4315d NGX_OPEN_FILE_DIRECTIO_OFF 2008-10-16 13:31:00 +00:00
Igor Sysoev
ed4d05926a bump version 2008-10-16 13:20:47 +00:00
Igor Sysoev
8bcd5ce3d5 bump version 2008-10-13 13:23:18 +00:00
Igor Sysoev
0bc18748a1 dynamic accept threshold 2008-09-19 12:47:13 +00:00
Igor Sysoev
abf2c011ff fix grammar 2008-09-17 08:03:58 +00:00
Igor Sysoev
fe6ecb318d bump version 2008-09-15 17:10:23 +00:00
Igor Sysoev
6b71af298f disable directio for unaligned reads in Linux 2008-09-12 13:50:12 +00:00
Igor Sysoev
7fe348df8f cache directio flag in open file cache 2008-09-12 13:39:51 +00:00
Igor Sysoev
6a38a40700 add filename to the log message 2008-09-11 15:52:11 +00:00
Igor Sysoev
b8e08f06e7 bump version 2008-09-08 09:49:22 +00:00
Igor Sysoev
a6f85e84d4 fix building on 64-bit platforms, introduced in r2232 2008-09-08 09:33:37 +00:00
Igor Sysoev
e13db0c3ee bump version 2008-09-08 08:47:00 +00:00
Igor Sysoev
4c972fac9d *) autoconfigure struct dirent capabilities
*) move src/os/.../ngx_types.h's content into src/os/.../ngx_files.h and
   delete src/os/.../ngx_types.h
2008-09-05 15:43:34 +00:00
Igor Sysoev
6d9843a4f1 remove unused #include's 2008-09-05 15:25:47 +00:00
Igor Sysoev
7e50cdf90d *) handle unaligned file part for directio
*) disable sendfile in directio mode
2008-09-05 14:48:47 +00:00
Igor Sysoev
ef78cf29da split ngx_output_chain() 2008-09-03 10:01:29 +00:00
Igor Sysoev
5507c4b070 bump version 2008-09-01 15:44:57 +00:00
Igor Sysoev
956a1735ca fix building by msvc introduced in r2223 2008-09-01 15:17:54 +00:00
Igor Sysoev
0dde4c40f7 test conf file size, this fixes OpenBSD's "nginx -c /tmp/" bug 2008-09-01 13:59:11 +00:00
Igor Sysoev
6c282650f4 use ngx_pmemalign() to allocate radix pages 2008-09-01 13:52:55 +00:00
Igor Sysoev
865600609c ngx_timezone_update() 2008-08-30 19:52:07 +00:00
Igor Sysoev
9533401ca5 quoted too long parameter error 2008-08-27 12:19:07 +00:00
Igor Sysoev
c5ae410655 too long parameter error 2008-08-26 21:10:20 +00:00
Igor Sysoev
1e9fff8c6d remove never used macro 2008-08-26 21:05:59 +00:00
Igor Sysoev
d976439aaf fix types 2008-08-26 21:04:06 +00:00
Igor Sysoev
0fb7f889e1 bump version 2008-08-26 17:23:27 +00:00
Igor Sysoev
c9e43df8f1 bump version 2008-08-26 16:23:14 +00:00
Igor Sysoev
c6aff78786 fix bugs introduced in r2204 2008-08-26 16:11:30 +00:00
Igor Sysoev
92a5ac81cf *) 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
5bc7d0ead2 *) 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
06bf61981c ngx_strlchr() 2008-08-26 14:16:36 +00:00
Igor Sysoev
6b91bca1d7 split ngx_parse_url() 2008-08-22 13:36:56 +00:00
Igor Sysoev
f60b7174b1 ngx_sock_ntop() takes family from sockaddr, remove duplicate field 2008-08-21 19:24:07 +00:00
Igor Sysoev
95cf37a78f *) 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
8a825218e5 server_name "" support 2008-08-21 12:56:10 +00:00
Igor Sysoev
f996fa8332 bump version 2008-08-18 14:29:57 +00:00
Igor Sysoev
f1e566ff19 fix log message 2008-08-15 20:14:49 +00:00
Igor Sysoev
4abe8c6d51 bump version 2008-08-13 16:59:16 +00:00
Igor Sysoev
4b6d704dc5 bump version 2008-08-12 15:46:34 +00:00
Igor Sysoev
91e04b5d2c fix the case when unset domain.tld was matched by *.domain.tld 2008-08-12 15:28:19 +00:00
Igor Sysoev
41d59b59bd ngx_next_time() 2008-08-11 15:28:15 +00:00
Igor Sysoev
a8c8cfd097 update debug logging 2008-08-05 15:19:21 +00:00
Igor Sysoev
963e96e078 update debug logging 2008-08-04 21:51:36 +00:00
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