Igor Sysoev
19961d20ce
style fix
2009-01-12 15:36:30 +00:00
Igor Sysoev
07fc16cf31
bump version
2008-12-25 20:06:26 +00:00
Igor Sysoev
503c075122
bump version
2008-12-24 15:54:21 +00:00
Igor Sysoev
2a7ce7b878
bump version
2008-12-22 15:40:12 +00:00
Igor Sysoev
ed9b6d8962
remove never used zero copy stuff
2008-12-17 20:47:18 +00:00
Igor Sysoev
7505928d9f
bump version
2008-12-16 16:12:31 +00:00
Igor Sysoev
524f54f56d
use ngx_ext_rename_file() for single file MOVE
2008-12-10 14:53:45 +00:00
Igor Sysoev
a70d3962bb
compact win32 errno logging
2008-12-09 17:41:17 +00:00
Igor Sysoev
d30d8a3931
bump version
2008-12-09 11:13:12 +00:00
Igor Sysoev
17b5953e71
bump version
2008-12-08 17:59:43 +00:00
Igor Sysoev
0e32306bab
fix comment
2008-12-02 16:50:56 +00:00
Igor Sysoev
14ecd8ab01
bump version
2008-12-02 14:59:14 +00:00
Igor Sysoev
5a214b96e2
bump version
2008-11-28 17:22:06 +00:00
Igor Sysoev
8ab0867644
allocate cf->conf_file and cf->conf_file->buffer on stack
2008-11-25 15:55:10 +00:00
Igor Sysoev
2a523f1c71
fix segfault on close error
2008-11-25 14:45:44 +00:00
Igor Sysoev
65eba4b692
ngx_reset_pool()
2008-11-25 14:25:20 +00:00
Igor Sysoev
ecbb69ad7f
*) increase ngx_conf_log_error() buffer
...
*) always log an error code
2008-11-25 13:00:53 +00:00
Igor Sysoev
1575d12bd7
bump version
2008-11-22 20:38:45 +00:00
Igor Sysoev
7f3c048e21
allow directio on XFS
2008-11-20 16:21:39 +00:00
Igor Sysoev
b3ac4fb27c
fix compression pointer for big (>255) DNS responses
2008-11-17 08:04:41 +00:00
Igor Sysoev
038a9201e6
bump version
2008-11-12 10:48:27 +00:00
Igor Sysoev
f2884e194a
compatibility with glibc 2.3, warn_unused_result attribute for write()
2008-11-11 16:17:45 +00:00
Igor Sysoev
ead8091746
style fix: remove trailing spaces
2008-11-11 16:04:05 +00:00
Igor Sysoev
bc70b323d3
bump version
2008-11-10 18:34:24 +00:00
Igor Sysoev
74b7e5fadd
%f format
2008-11-10 15:20:59 +00:00
Igor Sysoev
8329a5bc34
align first allocation from additional pool block, this fixes bus error on sun4v
2008-11-06 16:14:24 +00:00
Igor Sysoev
164abfb26f
fix case proxy_pass URL is evaluted to http://host?args
2008-10-24 19:34:24 +00:00
Igor Sysoev
c239da5055
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
571a5e1512
show name for a FORMERR DNS response
2008-10-24 14:38:09 +00:00
Igor Sysoev
1c2bb210c1
FORMERR DNS response may be equal to mininal query size
2008-10-24 14:34:10 +00:00
Igor Sysoev
ad1e123bfa
NGX_OPEN_FILE_DIRECTIO_OFF
2008-10-16 13:31:00 +00:00
Igor Sysoev
84ab8f2bc8
bump version
2008-10-16 13:20:47 +00:00
Igor Sysoev
df2e1a56d0
bump version
2008-10-13 13:23:18 +00:00
Igor Sysoev
e17cc987d3
dynamic accept threshold
2008-09-19 12:47:13 +00:00
Igor Sysoev
c9ff5b6dff
fix grammar
2008-09-17 08:03:58 +00:00
Igor Sysoev
f8403702ba
bump version
2008-09-15 17:10:23 +00:00
Igor Sysoev
fae2c00d02
disable directio for unaligned reads in Linux
2008-09-12 13:50:12 +00:00
Igor Sysoev
77cdae1814
cache directio flag in open file cache
2008-09-12 13:39:51 +00:00
Igor Sysoev
d0df295655
add filename to the log message
2008-09-11 15:52:11 +00:00
Igor Sysoev
44b1a12750
bump version
2008-09-08 09:49:22 +00:00
Igor Sysoev
a19c7b5ad6
fix building on 64-bit platforms, introduced in r2232
2008-09-08 09:33:37 +00:00
Igor Sysoev
196f952551
bump version
2008-09-08 08:47:00 +00:00
Igor Sysoev
dfc8dadd04
*) 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
5d4e80b8fb
remove unused #include's
2008-09-05 15:25:47 +00:00
Igor Sysoev
8633e1fa06
*) handle unaligned file part for directio
...
*) disable sendfile in directio mode
2008-09-05 14:48:47 +00:00
Igor Sysoev
98007c1761
split ngx_output_chain()
2008-09-03 10:01:29 +00:00
Igor Sysoev
3b63d7cbb3
bump version
2008-09-01 15:44:57 +00:00
Igor Sysoev
cf0c445a14
fix building by msvc introduced in r2223
2008-09-01 15:17:54 +00:00
Igor Sysoev
63c78f3c34
test conf file size, this fixes OpenBSD's "nginx -c /tmp/" bug
2008-09-01 13:59:11 +00:00
Igor Sysoev
f4423eb7b5
use ngx_pmemalign() to allocate radix pages
2008-09-01 13:52:55 +00:00
Igor Sysoev
fcb5a705dd
ngx_timezone_update()
2008-08-30 19:52:07 +00:00
Igor Sysoev
c48f49f837
quoted too long parameter error
2008-08-27 12:19:07 +00:00
Igor Sysoev
6d09950cd8
too long parameter error
2008-08-26 21:10:20 +00:00
Igor Sysoev
a1bccd199e
remove never used macro
2008-08-26 21:05:59 +00:00
Igor Sysoev
a6e337fdef
fix types
2008-08-26 21:04:06 +00:00
Igor Sysoev
b0f1db1010
bump version
2008-08-26 17:23:27 +00:00
Igor Sysoev
e56cc8e503
bump version
2008-08-26 16:23:14 +00:00
Igor Sysoev
d3bf7c1cd5
fix bugs introduced in r2204
2008-08-26 16:11:30 +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
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
b29426deb8
server_name "" support
2008-08-21 12:56:10 +00:00
Igor Sysoev
1de8bb5bd6
bump version
2008-08-18 14:29:57 +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
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
c271775902
ngx_next_time()
2008-08-11 15:28:15 +00:00
Igor Sysoev
2278ea09b6
update debug logging
2008-08-05 15:19:21 +00:00
Igor Sysoev
ca824f3cfa
update debug logging
2008-08-04 21:51:36 +00:00
Igor Sysoev
40db7a19b1
bump version
2008-08-04 16:45: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
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
a089857143
rename ngx_utf_...() to ngx_utf8_...()
2008-07-29 14:41:34 +00:00
Igor Sysoev
96eaa05fd2
fix utf-8 names in autoindex
2008-07-25 14:29:05 +00:00
Igor Sysoev
82911ceb0c
bump version
2008-07-07 12:19:57 +00:00
Igor Sysoev
0ac3516a02
bump version
2008-07-01 07:38:28 +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
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
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
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
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
9b1fe56148
bump version
2008-05-26 09:54:17 +00:00
Igor Sysoev
5cdc511fcd
new ngx_queue functions
2008-05-24 14:10:01 +00:00
Igor Sysoev
3b30476068
style fix
2008-05-22 12:09:41 +00:00
Igor Sysoev
f9d923e5fe
bump version
2008-05-19 10:45:57 +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
433608c180
style fix: remove tabs and trailing spaces
2008-05-14 07:54:52 +00:00
Igor Sysoev
c11582a983
bump version
2008-05-12 10:08:28 +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
a13b3b97ea
ignore glob no match error
2008-04-29 09:28:42 +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
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
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
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
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
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
8ce6b25201
bump version
2008-03-12 13:37:29 +00:00
Igor Sysoev
a4d00f1c97
decrease log level of connection errors while closing socket
2008-03-05 21:21:26 +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
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
34cec29e0c
C++ compatibility
2008-03-03 16:32:16 +00:00
Igor Sysoev
4491daef30
cleanup resolver
2008-02-28 20:38:34 +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
2a6c4466ee
bump version
2008-02-11 15:27:44 +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
ac5deaa906
treat time_t as unsigned time
2008-01-31 15:14:31 +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
02d8e8e377
add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWN
2008-01-25 14:57:35 +00:00
Igor Sysoev
16315761db
limit string length
2008-01-24 15:18:58 +00:00
Igor Sysoev
fb42465646
use correct type cast
2008-01-24 15:18:17 +00:00
Igor Sysoev
0bd32b7569
allow zero length in %*s
2008-01-22 15:13:01 +00:00
Igor Sysoev
f0453c1c0c
fix building by bcc introduced by r1831
2008-01-22 15:09:55 +00:00
Igor Sysoev
1d73cf13f0
bump version
2008-01-08 13:05:18 +00:00
Igor Sysoev
0008ebe2a3
workaround for Linux 2.6 OpenVZ
2008-01-08 11:31:50 +00:00
Igor Sysoev
0272977afb
change order
2008-01-04 11:54:55 +00:00
Igor Sysoev
3739151f5b
add declaration missed in previous commit
2008-01-03 22:17:27 +00:00
Igor Sysoev
501fc74854
transform ngx_create_path_and_rename_file() to ngx_ext_rename_file()
2008-01-03 22:16:37 +00:00
Igor Sysoev
ce5d6e3237
bump version
2007-12-27 18:47:33 +00:00
Igor Sysoev
938d4993db
bump version
2007-12-27 15:39:06 +00:00
Igor Sysoev
6b8a04ef44
ngx_regex_exec_array()
2007-12-27 13:15:08 +00:00
Igor Sysoev
421a3b800f
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
d02661a96b
use %*s format
2007-12-24 17:05:31 +00:00
Igor Sysoev
79d9a042a2
%*s format
2007-12-24 17:05:16 +00:00
Igor Sysoev
f3b0e49069
open_file_cache_min_uses
2007-12-22 13:19:39 +00:00
Igor Sysoev
5e593aa34e
take MALLOC_OPTIONS=J into account in slab allocator
2007-12-22 11:06:53 +00:00
Igor Sysoev
9b9616e5ac
open_file_cache_retest > open_file_cache_valid
2007-12-21 16:19:48 +00:00
Igor Sysoev
f2d60afc7c
fix the previous commit
2007-12-21 16:19:14 +00:00
Igor Sysoev
ff71b948b3
use ngx_queue.h
2007-12-21 15:33:15 +00:00
Igor Sysoev
374d224672
clean rbtree node for all removals
2007-12-21 15:32:51 +00:00
Igor Sysoev
2204d9f09d
style fix
2007-12-21 15:24:59 +00:00
Igor Sysoev
ddc8cbd1ac
embed sentinel
2007-12-20 21:29:52 +00:00
Igor Sysoev
afc57e0e5c
bump version
2007-12-19 16:56:01 +00:00
Igor Sysoev
9461d6e09e
comment ngx_walk_tree()
2007-12-18 18:04:37 +00:00
Igor Sysoev
00cbb8a16e
ngx_create_hashed_filename() does not need ngx_file_t
2007-12-17 21:29:34 +00:00
Igor Sysoev
3b112b8c21
create the only cleanup
2007-12-17 21:23:05 +00:00
Igor Sysoev
719688a10d
style fix: remove trailing spaces
2007-12-17 21:20:12 +00:00
Igor Sysoev
a03fa3666f
replace ngx_md5_text() with ngx_hex_dump()
2007-12-17 21:06:17 +00:00
Igor Sysoev
249cbe75b4
log run cleanups clearly
2007-12-17 17:29:36 +00:00
Igor Sysoev
7912e4ba5d
optimize rbtree initialization and insert
2007-12-17 08:52:00 +00:00
Igor Sysoev
c0cadf1f34
no answers in DNS response should be NXDOMAIN
2007-12-16 20:47:55 +00:00
Igor Sysoev
28bca1b6e9
fix segfault if response will have CNAME only
2007-12-16 20:00:15 +00:00
Igor Sysoev
7f35ae6ea6
restore environ for perl_destruct()
2007-12-16 11:58:16 +00:00
Igor Sysoev
86ef6aaa6b
move condition declarations inside blocks where they are used
2007-12-10 12:09:51 +00:00
Igor Sysoev
cb54061885
*) 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
8cdfc515c3
fix r1695
2007-12-08 22:12:37 +00:00
Igor Sysoev
e9af690e61
ngx_create_path_and_rename_file()
2007-12-07 20:22:03 +00:00
Igor Sysoev
ac7586e952
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
03df86a541
bump version
2007-12-03 17:26:28 +00:00
Igor Sysoev
e67d46189c
ngx_udp_recv()
2007-12-03 16:46:46 +00:00
Igor Sysoev
826c02ebda
use ngx_rbtree_init()
2007-12-03 12:17:26 +00:00
Igor Sysoev
653a206afe
ngx_rbtree_init()
2007-12-03 12:17:15 +00:00
Igor Sysoev
a9d3a0d37a
use ngx_queue_init()
2007-12-03 11:21:19 +00:00
Igor Sysoev
0134d6b622
ngx_queue_init()
2007-12-03 11:21:07 +00:00
Igor Sysoev
6b2fce430b
allow to use IP addresses without defined resolver
2007-12-03 10:05:19 +00:00
Igor Sysoev
b4e5b4c884
style fix: remove trailing spaces
2007-12-01 19:57:37 +00:00
Igor Sysoev
00e0377488
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
57bb349844
bump version
2007-11-28 19:17:24 +00:00
Igor Sysoev
743760ea35
bump version
2007-11-27 16:58:41 +00:00
Igor Sysoev
6e0a7bfaaa
bump version
2007-11-27 16:25:32 +00:00
Igor Sysoev
53fcff1efe
fix previous commit
2007-11-23 17:27:01 +00:00
Igor Sysoev
cb4d53861c
resolver
2007-11-23 17:13:26 +00:00
Igor Sysoev
2e8f0d0b30
update ngx_memcmp()
2007-11-23 17:00:11 +00:00