summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2011-11-10Limit zone: added the "limit_conn_zone" directive.Valentin Bartenev1-3/+132
It supersedes old "limit_zone" directive (deprecated accordingly) and uses syntax consistent with the "limit_req_zone" directive.
2011-11-10Limit zone: support for multiple "limit_conn" limits.Valentin Bartenev1-73/+117
2011-11-10Limit zone: rbtree lookup moved to a separate function.Valentin Bartenev1-51/+73
No functional changes.
2011-11-10Changed error message to be more appropriate in the imaginaryRuslan Ermilov1-1/+1
"open_file_cache max=0" case.
2011-11-09Belatedly fixed language in 1.1.7 relnotes.Ruslan Ermilov1-3/+3
2011-11-09Fixed compression pointer processing in DNS response greater than 255 bytes.Igor Sysoev1-7/+7
Thanks to Ben Hawkes.
2011-11-08Fix of "keepalive_disable" directive.Igor Sysoev1-6/+8
2011-11-08The "image_filter_sharpen" directive.Igor Sysoev1-1/+71
2011-11-01Ancient incomplete ngx_http_status_module removal.Igor Sysoev2-313/+0
2011-11-01Version bump.Igor Sysoev2-3/+3
2011-10-31release-1.1.7 tagIgor Sysoev1-0/+1
2011-10-31nginx-1.1.7-RELEASErelease-1.1.7Igor Sysoev1-0/+60
2011-10-31Silently ignoring a stale global SSL error left after disabled renegotiation.Igor Sysoev1-0/+7
2011-10-31Fixed documentation pointer.Ruslan Ermilov1-2/+1
2011-10-31Fixed segfault on configuration testing with ssl (ticket #37).Maxim Dounin1-1/+10
The following config caused segmentation fault due to conf->file not being properly set if "ssl on" was inherited from the http level: http { ssl on; server { } }
2011-10-31Event pipe: reduced number of file buffers used.Maxim Dounin2-22/+55
If possible we now just extend already present file buffer in p->out chain instead of keeping ngx_buf_t for each buffer we've flushed to disk. This saves about 120 bytes of memory per buffer flushed to disk, and resolves high CPU usage observed in edge cases (due to coalescing these buffers on send).
2011-10-31Event pipe: fixes for complex protocols.Maxim Dounin1-63/+20
1. In ngx_event_pipe_write_chain_to_temp_file() make sure to fully write all shadow buffers up to last_shadow. With this change recycled buffers cannot appear in p->out anymore. This also fixes segmentation faults observed due to ngx_event_pipe_write_chain_to_temp() not freeing any raw buffers while still returning NGX_OK. 2. In ngx_event_pipe_write_to_downstream() we now properly check for busy size as a size of buffers, not a size of data in these buffers. This fixes situations where all available buffers became busy (including segmentation faults due to this). 3. The ngx_event_pipe_free_shadow_raw_buf() function is dropped. It's incorrect and not needed.
2011-10-28Adding m4a and m4v MIME types (closed #42).Igor Sysoev1-0/+2
2011-10-26Revamped "configure --help" text.Ruslan Ermilov1-37/+40
2011-10-26Fix of building by Microsoft Visual C++ 10 compiler.Igor Sysoev1-0/+8
2011-10-25Decrease of log level of some SSL handshake errors.Igor Sysoev1-1/+19
2011-10-25Fixed port range checking.Ruslan Ermilov2-4/+4
2011-10-25Fixed range checking for the "somaxconn" sysctl.Ruslan Ermilov2-12/+5
2011-10-24Support of several servers in the "resolver" directive.Igor Sysoev4-51/+58
Patch by Kirill A. Korinskiy.
2011-10-24Using of junk value in slab allocator similar to modern FreeBSD values.Igor Sysoev1-2/+2
2011-10-24malloc() debugging on MacOSX.Igor Sysoev13-9/+48
2011-10-24FreeBSD's MALLOC_OPTIONS must be set before any malloc() call.Igor Sysoev1-4/+4
The bug has been introduced in r3799.
2011-10-21Fixed another return in unix ngx_write_chain_to_file().Maxim Dounin1-2/+9
Previous patch missed special case for one iovec, it needs total bytes written to be returned as well.
2011-10-20Fixed unix ngx_write_chain_to_file() to return total bytes written.Maxim Dounin1-2/+5
Previously result of last iteration's writev() was returned. This was unnoticed as return value was only used if chain contained only one or two buffers.
2011-10-20Fixing conflict with SDK off_t definition.Igor Sysoev1-1/+4
2011-10-20Recent SDKs allow to build IPV6 only for Windows XP or above.Igor Sysoev1-1/+1
2011-10-17Fixed "expires @time" with unknown last modified time (ticket #32).Maxim Dounin1-6/+6
2011-10-17Fixed "expires @00h".Maxim Dounin1-1/+1
2011-10-17Removal of incomplete draft documentation processing.Igor Sysoev1-6/+0
2011-10-17Version bump.Igor Sysoev2-3/+3
2011-10-17release-1.1.6 tagIgor Sysoev1-0/+1
2011-10-17nginx-1.1.6-RELEASErelease-1.1.6Igor Sysoev1-0/+120
2011-10-17Moving RELEASE target in more safe place.Igor Sysoev1-15/+15
2011-10-15Added clearing of modules' contexts in ngx_http_named_location().Maxim Dounin1-0/+3
Patch by Yichun Zhang (agentzh).
2011-10-13Fixed utf8 decode (ticket #25).Maxim Dounin1-3/+3
Patch by Alexey Kuts.
2011-10-13Skipping location rewrite phase for server null location.Igor Sysoev1-0/+12
2011-10-12Better recheck of dead upstream servers.Maxim Dounin3-8/+18
Previously nginx used to mark backend again as live as soon as fail_timeout passes (10s by default) since last failure. On the other hand, detecting dead backend takes up to 60s (proxy_connect_timeout) in typical situation "backend is down and doesn't respond to any packets". This resulted in suboptimal behaviour in the above situation (up to 23% of requests were directed to dead backend with default settings). More detailed description of the problem may be found here (in Russian): http://mailman.nginx.org/pipermail/nginx-ru/2011-August/042172.html Fix is to only allow one request after fail_timeout passes, and mark backend as "live" only if this request succeeds. Note that with new code backend will not be marked "live" unless "check" request is completed, and this may take a while in some specific workloads (e.g. streaming). This is believed to be acceptable.
2011-10-12Clear old Location header (if any) while adding a new one.Maxim Dounin5-0/+17
This prevents incorrect behaviour when another redirect is issued within error_page 302 handler.
2011-10-12Wording fix, "many data" is incorrect.Maxim Dounin1-1/+1
Noted by Piotr Sikora.
2011-10-12Fixed two minor bugs in "types" parsing code.Ruslan Ermilov1-1/+10
2011-10-12Fixed grammar in a comment.Ruslan Ermilov1-1/+1
2011-10-12Replaced magic constants representing default values of some directivesRuslan Ermilov1-4/+5
with appropriate #define's.
2011-10-12Stylistic change in checking the boolean expression.Ruslan Ermilov1-1/+1
2011-10-12Preallocating exact number of default MIME types entries.Igor Sysoev1-1/+1
2011-10-12Fixed configuration summary and manpage contents for the specialRuslan Ermilov1-3/+3
--error-log-path=stderr case.