Switch branches/tags
Commits on Feb 10, 2012
Commits on Feb 9, 2012
  1. Version bump.

    mdounin committed Feb 9, 2012
Commits on Jan 30, 2012
  1. nginx-1.1.14-RELEASE

    mdounin committed Jan 30, 2012
  2. Update OpenSSL and PCRE used for win32 builds.

    mdounin committed Jan 30, 2012
  3. Limit req: unbreak compilation with MSVC.

    mdounin committed Jan 30, 2012
  4. Fixed memory leak on HUP signal when PCRE JIT was used.

    vbart committed Jan 30, 2012
    The PCRE JIT compiler uses mmap to allocate memory for its executable codes, so
    we have to explicitly call the pcre_free_study() function to free this memory.
  5. Fixed proxy_redirect off inheritance.

    vbart committed Jan 30, 2012
    Example configuration to reproduce:
      server {
          proxy_redirect off;
          location / {
              proxy_pass http://localhost:8000;
              proxy_redirect http://localhost:8000/ /;
              location ~ \.php$ {
                  proxy_pass http://localhost:8000;
                  # proxy_redirect must be inherited from the level above,
                  # but instead it was switched off here
  6. Fixed error handling in ngx_event_connect_peer().

    mdounin committed Jan 30, 2012
    Previously if ngx_add_event() failed a connection was freed two times (once
    in the ngx_event_connect_peer(), and again by a caller) as pc->connection was
    left set.  Fix is to always use ngx_close_connection() to close connection
    properly and set pc->connection to NULL on errors.
    Patch by Piotr Sikora.
  7. Limit req: number of cleanup calls reduced.

    vbart committed Jan 30, 2012
    Doing a cleanup before every lookup seems to be too aggressive. It can lead to
    premature removal of the nodes still usable, which increases the amount of work
    under a mutex lock and therefore decreases performance.
    In order to improve cleanup behavior, cleanup function call has been moved right
    before the allocation of a new node.
  8. Limit req: allocation and initialization of a new node moved to the l…

    vbart committed Jan 30, 2012
    No functional changes.
  9. Limit req: improved error handling when parsing "zone" parameter of

    vbart committed Jan 30, 2012
    "limit_req_zone" directive; minimum size of zone is increased.
    Previously an unsigned variable was used to keep the return value of
    ngx_parse_size() function, which led to an incorrect zone size if NGX_ERROR
    was returned.
    The new code has been taken from the "limit_conn_zone" directive.
  10. Limit req: error messages fixed.

    vbart committed Jan 30, 2012
  11. Fixed AIO error handling on FreeBSD.

    mdounin committed Jan 30, 2012
    The aio_return() must be called regardless of the error returned by
    aio_error().  Not calling it resulted in various problems up to segmentation
    faults (as AIO events are level-triggered and were reported again and again).
    Additionally, in "aio sendfile" case r->blocked was incremented in case of
    error returned from ngx_file_aio_read(), thus causing request hangs.
  12. Removed ENGINE_load_builtin_engines() call.

    mdounin committed Jan 30, 2012
    It's already called by OPENSSL_config().  Calling it again causes some
    openssl engines (notably GOST) to corrupt memory, as they don't expect
    to be created more than once.
Commits on Jan 24, 2012
  1. Fixed grammar in PCRE JIT error log message.

    vbart committed Jan 24, 2012
Commits on Jan 18, 2012
  1. Copyright updated.

    maxim committed Jan 18, 2012
  2. Version bump.

    maxim committed Jan 18, 2012
  3. Version bump.

    maxim committed Jan 18, 2012
Commits on Jan 17, 2012
  1. Fixed spelling.

    ru committed Jan 17, 2012
Commits on Jan 16, 2012
  1. nginx-1.1.13-RELEASE

    mdounin committed Jan 16, 2012
  2. Updated OpenSSL version used for win32 build.

    mdounin committed Jan 16, 2012
  3. 2012 year.

    is committed Jan 16, 2012
  4. Fixed devision by zero exception in ngx_hash_init().

    vbart committed Jan 16, 2012
    The ngx_hash_init() function did not expect call with zero elements count,
    which caused FPE error on configs with an empty "types" block in http context
    and "types_hash_max_size" > 10000.
    Example configuration to reproduce:
      events { }
      http {
              types_hash_max_size 10001;
              types {}
              server {}
  5. Fixed sched_setaffinity(2) to correctly pass size.

    mdounin committed Jan 16, 2012
    Second argument (cpusetsize) is size in bytes, not in bits.  Previously
    used constant 32 resulted in reading of uninitialized memory and caused
    EINVAL to be returned on some Linux kernels.
Commits on Jan 11, 2012
  1. Added support for TLSv1.1, TLSv1.2 in ssl_protocols directive.

    mdounin committed Jan 11, 2012
    Support for TLSv1.1 and TLSv1.2 protocols was introduced in OpenSSL 1.0.1
    (-beta1 was recently released).  This change makes it possible to disable
    these protocols and/or enable them without other protocols.
  2. Fixed limit_req burst/nodelay inheritance (ticket #76).

    mdounin committed Jan 11, 2012
    The problem was introduced in r4381 (1.1.12).
Commits on Jan 10, 2012
  1. Fixed: proxy_redirect with regex might broke Refresh header.

    vbart committed Jan 10, 2012
    The problem was localized in ngx_http_proxy_rewrite_redirect_regex() handler
    function which did not take into account prefix when overwriting header value.
  2. Changed ngx_log_debugN() macros to verify the number of arguments

    ru committed Jan 10, 2012
    when built with debugging.
Commits on Dec 29, 2011
  1. Fixed configure with system PCRE library on Solaris.

    vbart committed Dec 29, 2011
    The bug has been introduced in r4389.
  2. Some questionable optomizations flags for icc were removed

    maxim committed Dec 29, 2011
    in order to simplify support of its future versions.
Commits on Dec 28, 2011
  1. Fixed punctuation.

    mdounin committed Dec 28, 2011
Commits on Dec 27, 2011
  1. libraries versions updated

    fabler committed Dec 27, 2011