Commit graph

3849 commits

Author SHA1 Message Date
Igor Sysoev
7369918aad The cache loader performs two tasks: inserting cache objects in inactivity
list and evaluating total cache size. Reading just directory is enough for
this purpose. Elimination of reading cache files saves at least one disk I/O
operation per file.

Preparation for elimination of reading cache files by cache loader:
removing dependencies on the reading:
*) cache node valid_sec and valid_msec are used only for caching errors;
*) upstream buffer size can be used instead of cache node body_start.
2011-07-24 16:47:31 +00:00
Igor Sysoev
99e64f7855 fuse two if's in one condition 2011-07-24 16:10:06 +00:00
Igor Sysoev
936f7f61ba style fix 2011-07-24 16:06:24 +00:00
Igor Sysoev
44780efc2a do not try to reuse and save a SSL session for a peer created on the fly
by ngx_http_upstream_create_round_robin_peer(), since the peer lives
only during request so the saved SSL session will never be used again
and just causes memory leak

patch by Maxim Dounin
2011-07-22 16:30:17 +00:00
Igor Sysoev
11a9044a50 finalizing with rc == 0 in unbuffered proxy mode caused nginx to wait
for another send_timeout before actually closing client's connection
if client timed out while still talking to upstream server

patch by Maxim Dounin
2011-07-22 13:30:16 +00:00
Igor Sysoev
91888ffb08 fix SSL connection issues on platforms with 32-bit off_t
patch by Maxim Dounin
2011-07-22 12:53:04 +00:00
Igor Sysoev
43fe0ac347 fix build by gcc46 with -Wunused-value option
patch by Maxim Dounin
2011-07-22 10:43:50 +00:00
Igor Sysoev
ab70e781fe ECDHE support
patch by Adrian Kotelba
2011-07-20 15:42:40 +00:00
Igor Sysoev
12d6867fce MSIE export versions are rare now, so RSA 512 key is generated on demand
and is shared among all hosts instead of pregenerating for every HTTPS host
on configuraiton phase. This decreases start time for configuration with
large number of HTTPS hosts.
2011-07-20 12:59:24 +00:00
Igor Sysoev
67d73e89bd bump version: 1.1.0 development version 2011-07-20 09:29:25 +00:00
Igor Sysoev
3fa1c069c3 release-1.0.5 tag 2011-07-19 13:38:44 +00:00
Igor Sysoev
5abe948e5c nginx-1.0.5-RELEASE 2011-07-19 13:38:37 +00:00
Igor Sysoev
1da8924944 fix segfault if cache key is larger than upstream buffer size
patch by Lanshun Zhou
2011-07-19 11:24:16 +00:00
Igor Sysoev
71056ac928 $uid_reset 2011-07-19 11:21:50 +00:00
Igor Sysoev
bc7788c128 fix r3756: release lock to allow other process to delete cache node
patch by Maxim Dounin
2011-07-19 10:35:02 +00:00
Igor Sysoev
13a9ba6c2f fix building by MSVC 2011-07-18 15:00:05 +00:00
Igor Sysoev
7cd1f7dd1a revert r3935 and fix "stalled cache updating" alert
by freeing cache at upstream finalize phase
patch by Maxim Dounin
2011-06-28 13:26:08 +00:00
Igor Sysoev
12ec081b1c referer_hash_max_size and referer_hash_bucket_size directives
patch by Witold Filipczyk
2011-06-28 10:40:44 +00:00
Igor Sysoev
d18a220446 use !aNULL to disable all anonymous cipher suites
patch by Rob Stradling
2011-06-27 15:47:51 +00:00
Igor Sysoev
6f831d591b bump version 2011-06-27 15:34:44 +00:00
Igor Sysoev
b3fe9ea406 release-1.0.4 tag 2011-06-01 09:29:59 +00:00
Igor Sysoev
eb2d5244d4 nginx-1.0.4-RELEASE 2011-06-01 09:29:58 +00:00
Igor Sysoev
fb92a06b92 fix "stalled cache updating" alert,
when non-cachable HEAD response did not not free an expired cache node
2011-06-01 08:02:34 +00:00
Igor Sysoev
3a5713a9d3 concatenate auto/os/features and auto/unix 2011-05-31 08:25:10 +00:00
Igor Sysoev
3630c03e27 delete unused auto/threads 2011-05-31 08:20:16 +00:00
Igor Sysoev
177d2c6887 Support POSIX semaphores on Linux.
This configure test must run before auto/make, because it adds library.
auto/unix was placed after auto/make just for historical reasons.

Patch by Denis F. Latypoff
2011-05-31 08:17:27 +00:00
Igor Sysoev
7c18f623b1 revert r3875 since now map uses case sensetive regexes by default 2011-05-30 14:24:17 +00:00
Igor Sysoev
f4190fa7c3 change ngx_http_map_find(): use case sensitive regexes 2011-05-30 12:36:17 +00:00
Igor Sysoev
cf54b536c9 fix building on FreeBSD 6 or earlier against system md5 2011-05-27 13:30:53 +00:00
Igor Sysoev
310aa7f418 make built-in ngx_md5_update() interface consistent with other implemenations 2011-05-27 10:00:46 +00:00
Igor Sysoev
d544cc6bdf fix building --without-http_auth_basic_module,
the bug has been introduced in r3923
2011-05-26 07:32:48 +00:00
Igor Sysoev
f7ff3c02b7 bump version 2011-05-26 07:31:40 +00:00
Igor Sysoev
27f4dcd998 release-1.0.3 tag 2011-05-25 14:55:11 +00:00
Igor Sysoev
c5d6cf14f0 nginx-1.0.3-RELEASE 2011-05-25 14:50:50 +00:00
Igor Sysoev
2cd05c70d8 "$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
patch by Maxim Dounin
2011-05-16 14:54:50 +00:00
Igor Sysoev
666ccc58dd fix testing IPv4 address mapped to IPv6, when only IPv6 access rules are defined 2011-05-16 14:01:23 +00:00
Igor Sysoev
cce4e7f016 support IPv4 mapped to IPv6 in geo module 2011-05-16 13:54:42 +00:00
Igor Sysoev
fa2fccaa50 support IPv4 mapped to IPv6 in geoip module 2011-05-16 13:50:58 +00:00
Igor Sysoev
3d79014224 fix debug logging 2011-05-13 10:06:56 +00:00
Igor Sysoev
a26f0e761e fix a broken cached response if bypass/no_cache directive values are different,
the bug has been introduced in r3700
2011-05-13 10:05:38 +00:00
Igor Sysoev
e1f1a48fc9 log "Abort trap" or similar messages 2011-05-11 11:50:19 +00:00
Igor Sysoev
dde0a2b00d geoip_org
patch by Alexander Uskov
2011-05-11 09:34:21 +00:00
Igor Sysoev
8e6d533c50 fix typo 2011-05-11 09:25:37 +00:00
Igor Sysoev
e9a3637986 bump version 2011-05-11 09:19:48 +00:00
Igor Sysoev
af8f49783d release-1.0.2 tag 2011-05-10 12:27:53 +00:00
Igor Sysoev
9cd822482c nginx-1.0.2-RELEASE 2011-05-10 12:27:52 +00:00
Igor Sysoev
70baea38c6 gdImageCopyRotated() may images of even height or width
patch by Adam Bocim
2011-05-10 12:04:57 +00:00
Igor Sysoev
188aab8d3c use POSIX semaphores in shmtx instead of sched_yield()
number of spinlock spins are increased twice
2011-05-10 11:39:13 +00:00
Igor Sysoev
f5232e7ea0 fix r3902 2011-05-04 12:21:25 +00:00
Igor Sysoev
7e49ff1e95 bump version 2011-05-04 12:20:32 +00:00