Permalink
Commits on Apr 24, 2013
  1. nginx-1.4.0-RELEASE

    mdounin
    mdounin committed Apr 24, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5185 73f98a42-aea0-e011-b76d-00259023448c
  2. Version bump.

    mdounin
    mdounin committed Apr 24, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5184 73f98a42-aea0-e011-b76d-00259023448c
Commits on Apr 23, 2013
  1. SPDY: set NGX_TCP_NODELAY_DISABLED for fake connections.

    vbart
    vbart committed Apr 23, 2013
    This is to avoid setting the TCP_NODELAY flag on SPDY socket in
    ngx_http_upstream_send_response().  The latter works per request,
    but in SPDY case it might affect other streams in connection.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5183 73f98a42-aea0-e011-b76d-00259023448c
  2. Perl: request body handling fixed.

    mdounin
    mdounin committed Apr 23, 2013
    As of 1.3.9, chunked request body may be available with
    r->headers_in.content_length_n <= 0.  Additionally, request body
    may be in multiple buffers even if r->request_body_in_single_buf
    was requested.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5182 73f98a42-aea0-e011-b76d-00259023448c
Commits on Apr 19, 2013
  1. Configure: fixed perl Makefile generation (ticket #334).

    mdounin
    mdounin committed Apr 19, 2013
    Dependancy tracking introduced in r5169 were not handled absolute path
    names properly.  Absolute names might appear in CORE_DEPS if --with-openssl
    or --with-pcre configure arguments are used to build OpenSSL/PCRE
    libraries.
    
    Additionally, revert part of r5169 to set NGX_INCS from Makefile
    variables.  Makefile variables have $ngx_include_opt in them, which
    might result in wrong include paths being used.  As a side effect,
    this also restores build with --with-http_perl_module and --without-http
    at the same time.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5181 73f98a42-aea0-e011-b76d-00259023448c
Commits on Apr 18, 2013
  1. Configure: uniformly refer to libs when searching for md5 and sha1.

    ru
    ru committed Apr 18, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5180 73f98a42-aea0-e011-b76d-00259023448c
  2. Version bump.

    ru
    ru committed Apr 18, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5179 73f98a42-aea0-e011-b76d-00259023448c
Commits on Apr 16, 2013
  1. nginx-1.3.16-RELEASE

    mdounin
    mdounin committed Apr 16, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5177 73f98a42-aea0-e011-b76d-00259023448c
  2. Events: backout eventport changes (r5172) for now.

    mdounin
    mdounin committed Apr 16, 2013
    Evenport method needs more work.  Changes in r5172, while being correct,
    introduce various new regressions with current code.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5176 73f98a42-aea0-e011-b76d-00259023448c
  3. Request body: only read body in main request (ticket #330).

    mdounin
    mdounin committed Apr 16, 2013
    Before 1.3.9 an attempt to read body in a subrequest only caused problems
    if body wasn't already read or discarded in a main request.  Starting with
    1.3.9 it might also cause problems if body was discarded by a main request
    before subrequest start.
    
    Fix is to just ignore attempts to read request body in a subrequest, which
    looks like right thing to do anyway.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5175 73f98a42-aea0-e011-b76d-00259023448c
Commits on Apr 12, 2013
  1. Upstream: warn if multiple non-stackable balancers are installed.

    ru
    ru committed Apr 12, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5174 73f98a42-aea0-e011-b76d-00259023448c
  2. Events: fixed typos in two previous commits.

    vbart
    vbart committed Apr 12, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5173 73f98a42-aea0-e011-b76d-00259023448c
  3. Events: handle only active events in eventport.

    vbart
    vbart committed Apr 12, 2013
    We generate both read and write events if an error event was returned by
    port_getn() without POLLIN/POLLOUT, but we should not try to handle inactive
    events, they may even have no handler.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5172 73f98a42-aea0-e011-b76d-00259023448c
  4. Events: protection from stale events in eventport and devpoll.

    vbart
    vbart committed Apr 12, 2013
    Stale write event may happen if read and write events was reported both,
    and processing of the read event closed descriptor.
    
    In practice this might result in "sendfilev() failed (134: ..." or
    "writev() failed (134: ..." errors when switching to next upstream server.
    
    See report here:
    http://mailman.nginx.org/pipermail/nginx/2013-April/038421.html
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5171 73f98a42-aea0-e011-b76d-00259023448c
Commits on Apr 11, 2013
  1. Upstream: fixed $upstream_response_length without buffering.

    pluknet
    pluknet committed Apr 11, 2013
    Reported by Piotr Sikora.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5170 73f98a42-aea0-e011-b76d-00259023448c
Commits on Apr 10, 2013
  1. Configure: fixed nginx.so rebuild (broken by r5145).

    mdounin
    mdounin committed Apr 10, 2013
    To avoid further breaks it's now done properly, all the dependencies
    are now passed to Makefile.PL.  While here, fixed include list passed to
    Makefile.PL to use Makefile variables rather than a list expanded during
    configure.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5169 73f98a42-aea0-e011-b76d-00259023448c
Commits on Apr 4, 2013
  1. Upstream: removed surplus ngx_resolve_name_done() call.

    vbart
    vbart committed Apr 4, 2013
    It will be called in ngx_http_upstream_finalize_request().
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5168 73f98a42-aea0-e011-b76d-00259023448c
Commits on Apr 3, 2013
  1. Limit req: rate should be non-zero.

    vbart
    vbart committed Apr 3, 2013
    Specifying zero rate caused division by zero when calculating delays.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5167 73f98a42-aea0-e011-b76d-00259023448c
Commits on Mar 29, 2013
  1. Pass PCRE_CASELESS to pcre_compile() for caseless matching.

    ru
    ru committed Mar 29, 2013
    Previously, we sometimes passed constant value 1 that happens to
    match PCRE_CASELESS and thus was harmless.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5149 73f98a42-aea0-e011-b76d-00259023448c
Commits on Mar 28, 2013
  1. Configure: unified nginx version computation constructs.

    ru
    ru committed Mar 28, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5148 73f98a42-aea0-e011-b76d-00259023448c
  2. Simplified nginx version maintenance.

    ru
    ru committed Mar 28, 2013
    It's no longer necessary to update src/http/modules/perl/nginx.pm
    when version is bumped, as it's now derived from src/core/nginx.h.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5147 73f98a42-aea0-e011-b76d-00259023448c
  3. Configure: fixed perl module make rules.

    ru
    ru committed Mar 28, 2013
    Filename extension used for dynamically loaded perl modules isn't
    necessarily ".so" (e.g., it's ".bundle" on Mac OS X).
    
    This fixes "make" after "make" unnecessarily rebuilding perl module.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5146 73f98a42-aea0-e011-b76d-00259023448c
  4. Configure: improved make dependencies for perl module.

    ru
    ru committed Mar 28, 2013
    Added missing dependencies for perl module's Makefile.
    
    Simplified dependencies for perl module nginx.so: it depends
    on Makefile that in turn depends on other perl bits.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5145 73f98a42-aea0-e011-b76d-00259023448c
  5. Configure: improved layout of the generated makefile.

    ru
    ru committed Mar 28, 2013
    No functional changes.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5144 73f98a42-aea0-e011-b76d-00259023448c
Commits on Mar 27, 2013
  1. Upstream: fixed tcp_nodelay with connection upgrade (ticket #325).

    mdounin
    mdounin committed Mar 27, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5143 73f98a42-aea0-e011-b76d-00259023448c
  2. Event connect: don't penalize AF_INET6 connections.

    mdounin
    mdounin committed Mar 27, 2013
    Problems with setsockopt(TCP_NODELAY) and setsockopt(TCP_NOPUSH), as well
    as sendfile() syscall on Solaris, are specific to UNIX-domain sockets.
    Other address families, i.e. AF_INET and AF_INET6, are fine.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5142 73f98a42-aea0-e011-b76d-00259023448c
  3. Version bump.

    mdounin
    mdounin committed Mar 27, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5141 73f98a42-aea0-e011-b76d-00259023448c
Commits on Mar 26, 2013
  1. nginx-1.3.15-RELEASE

    mdounin
    mdounin committed Mar 26, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5139 73f98a42-aea0-e011-b76d-00259023448c
Commits on Mar 25, 2013
  1. Use NGX_FILE_ERROR for handling file operations errors.

    vbart
    vbart committed Mar 25, 2013
    On Win32 platforms 0 is used to indicate errors in file operations, so
    comparing against either -1 or NGX_OK is not portable.
    
    This was not much of an issue in patched code, since only ngx_fd_info() test
    is actually reachable on Win32 and in worst case it might result in bogus
    error log entry.
    
    Patch by Piotr Sikora.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5138 73f98a42-aea0-e011-b76d-00259023448c
  2. Upstream: removed rudiments of upstream connection caching.

    ru
    ru committed Mar 25, 2013
    This functionality is now provided by ngx_http_upstream_keepalive_module.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5137 73f98a42-aea0-e011-b76d-00259023448c
  3. Upstream: removed sorting of upstream servers.

    ru
    ru committed Mar 25, 2013
    Sorting of upstream servers by their weights is not required by
    current balancing algorithms.
    
    This will likely change mapping to backends served by ip_hash
    weighted upstreams.
    
    
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5136 73f98a42-aea0-e011-b76d-00259023448c
  4. Mail: IPv6 backends (ticket #323).

    ru
    ru committed Mar 25, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5135 73f98a42-aea0-e011-b76d-00259023448c
  5. Upstream: removed double-free workarounds in peer.free() methods.

    ru
    ru committed Mar 25, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5134 73f98a42-aea0-e011-b76d-00259023448c
  6. Upstream: only call peer.free() if peer.get() selected a peer.

    ru
    ru committed Mar 25, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5133 73f98a42-aea0-e011-b76d-00259023448c
Commits on Mar 22, 2013
  1. Misc: support for Mercurial repositories.

    mdounin
    mdounin committed Mar 22, 2013
    git-svn-id: svn://svn.nginx.org/nginx/trunk@5132 73f98a42-aea0-e011-b76d-00259023448c