summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2012-07-31nginx-1.3.4-RELEASErelease-1.3.4Ruslan Ermilov1-0/+63
2012-07-30Core: ipv6only is now on by default.Ruslan Ermilov6-8/+15
There is a general consensus that this change results in better consistency between different operating systems and differently tuned operating systems. Note: this changes the width and meaning of the ipv6only field of the ngx_listening_t structure. 3rd party modules that create their own listening sockets might need fixing.
2012-07-30ngx_http_find_virtual_server() should return NGX_DECLINED if virtual server notValentin Bartenev1-1/+1
found.
2012-07-30Upstream: hide_headers/pass_headers inheritance fix.Maxim Dounin1-3/+3
Hide headers and pass headers arrays might not be inherited correctly into a nested location, e.g. in configuration like server { proxy_hide_header X-Foo; location / { location /nested/ { proxy_pass_header X-Pad; } } } the X-Foo header wasn't hidden in the location /nested/. Reported by Konstantin Svist, http://mailman.nginx.org/pipermail/nginx-ru/2012-July/047555.html
2012-07-29Improved diagnostics when a directive is specified in the wrong context.Ruslan Ermilov3-23/+16
2012-07-29Removed extraneous GCC warning flags.Ruslan Ermilov1-3/+0
2012-07-29Slight optimization in ngx_http_upstream_add(): replaced an expressionRuslan Ermilov1-1/+1
known to be constant with the constant value.
2012-07-29ngx_http_upstream_add() should return NULL if an error occurs.Ruslan Ermilov1-2/+2
2012-07-26Reduced the number of preprocessor directives.Ruslan Ermilov1-5/+1
2012-07-24When "debug_connection" is configured with a domain name, only the firstRuslan Ermilov1-25/+66
resolved address was used. Now all addresses will be used.
2012-07-24Added the Clang compiler support.Ruslan Ermilov3-0/+108
The -Werror is commented out to not break builds on Linux.
2012-07-24Made sure to run configure in a "C" locale.Ruslan Ermilov1-0/+3
Otherwise, we may fail to properly detect a version of compiler.
2012-07-24Added a commented out -Wmissing-prototypes to CFLAGS.Ruslan Ermilov1-0/+1
It is commented out to not break builds with 3rd party modules.
2012-07-24Fixed compilation with -Wmissing-prototypes.Ruslan Ermilov14-8/+75
2012-07-24Replaced a number of "else if" with "elif".Ruslan Ermilov1-26/+10
2012-07-23Win32: fixed cpu hog after process startup failure.Maxim Dounin1-0/+1
If ngx_spawn_process() failed while starting a process, the process handle was closed but left non-NULL in the ngx_processes[] array. The handle later was used in WaitForMultipleObjects() (if there were multiple worker processes configured and at least one worker process was started successfully), resulting in infinite loop. Reported by Ricardo V G: http://mailman.nginx.org/pipermail/nginx-devel/2012-July/002494.html
2012-07-20Fixed debugging messages to account that limit_zone was renamed to limit_conn.Ruslan Ermilov1-2/+2
2012-07-17Fixed sorting of listen addresses so that wildcard address is always atRuslan Ermilov1-0/+5
the end (closes #187). Failure to do so could result in several listen sockets to be created instead of only one listening on wildcard address. Reported by Roman Odaisky.
2012-07-17Version bump.Ruslan Ermilov2-3/+3
2012-07-10Synchronized the license text with the FreeBSD's bsd-style-copyright.Ruslan Ermilov1-2/+3
2012-07-10release-1.3.3 tagMaxim Dounin1-0/+1
2012-07-10nginx-1.3.3-RELEASErelease-1.3.3Maxim Dounin1-0/+38
2012-07-09Entity tags: empty etags handling in If-Range.Maxim Dounin1-1/+1
Entity tag may be of length 2 as per RFC 2616, i.e. double quotes only. Pointed out by Ruslan Ermilov.
2012-07-09Entity tags: the "etag" directive.Maxim Dounin2-1/+18
It allows to disable generation of nginx's own entity tags, while still handling ETags in cache properly. This may be useful e.g. if one want to serve static files from servers with different ETag generation algorithms.
2012-07-09Entity tags: set for static respones.Maxim Dounin6-0/+46
2012-07-07Entity tags: handling in add_header.Maxim Dounin1-0/+38
Notably this allows to clear ETag if one want to for some reason.
2012-07-07Entity tags: clear on entity changes.Maxim Dounin7-0/+14
2012-07-07Entity tags: support in If-Range header.Maxim Dounin1-5/+29
2012-07-07Entity tags: basic support in not modified filter.Maxim Dounin3-2/+102
This includes handling of ETag headers (if present in a response) with basic support for If-Match, If-None-Match conditionals in not modified filter. Note that the "r->headers_out.last_modified_time == -1" check in the not modified filter is left as is intentionally. It's to prevent handling of If-* headers in case of proxy without cache (much like currently done with If-Modified-Since).
2012-07-07Not modified filter: tests separated from actions.Maxim Dounin1-31/+38
This makes code more extendable. The only functional change is when If-Modified-Since and If-Unmodified-Since are specified together, the case which is explicitly left undefined by RFC 2616. The new behaviour is to respect them both, which seems better.
2012-07-07Added Last-Modified parsing in add_header.Maxim Dounin1-25/+13
This allows to use last modified time set in If-Range checks. Code simplified to improve readability.
2012-07-07Fixed If-Range with unknown last modified time.Maxim Dounin1-1/+5
If modification time isn't known, skip range processing and return full entity body instead of just ignoring If-Range. Ignoring If-Range isn't safe as client will assume entity wasn't changed since time specified.
2012-07-07Configure: fixed "make" used instead of "${MAKE}".Maxim Dounin3-3/+3
2012-07-06Corrected $request_length calculation for pipelined requests.Andrey Belov1-7/+4
2012-07-03Fixed typo in a function name.Ruslan Ermilov2-4/+4
2012-07-03Made sure to initialize the entire "struct flock" allocated on stack.Ruslan Ermilov1-9/+3
2012-07-03Reset r->uri_changed in a named location (ticket #184).Maxim Dounin1-0/+1
2012-07-03Typo fixed.Maxim Dounin1-1/+1
2012-06-29map: strip final dot before looking up in a map of hostnames.Ruslan Ermilov1-5/+4
(closes #182)
2012-06-29Version bump.Ruslan Ermilov2-3/+3
2012-06-26release-1.3.2 tagMaxim Dounin1-0/+1
2012-06-26nginx-1.3.2-RELEASErelease-1.3.2Maxim Dounin1-0/+105
2012-06-26Mp4: fixed build on win32 after r4689.Maxim Dounin1-1/+1
2012-06-26Added code to look up Google perftools in /opt/local/, for MacPorts.Ruslan Ermilov1-0/+16
2012-06-25Style.Maxim Dounin1-1/+1
2012-06-25Incorrect tag release-1.2.1 removed.Maxim Dounin1-0/+1
Changes to misc/GNUmakefile was missed during stable-1.2 branch creation, resulting in tag set on trunk, not on branch. Reported by Marcel Gmuer.
2012-06-25Fixed a harmless error in spelling of "Connection: close" when computingRuslan Ermilov1-1/+1
the response header length.
2012-06-21Fixed compile-time conditionals used to detect if X-Forwarded-For supportRuslan Ermilov4-5/+7
is needed.
2012-06-20Disabled gzip compression in OpenSSL prior to 1.0.0 version.Igor Sysoev1-0/+18
This saves about 522K per connection.
2012-06-19Added IPv6 support to ip_hash.Ruslan Ermilov1-16/+27