Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Aug 16, 2014
  1. Tweak markdown

    authored
  2. Fix Markdown

    authored
Commits on Jun 16, 2013
  1. Merge pull request #9 from flygoast/master

    authored
    Add specified upstream hash module structure to avoid patch for nginx core
Commits on Jun 14, 2013
  1. @flygoast
Commits on May 31, 2013
  1. Merge pull request #6 from zls0424/master

    authored
    Bug fix for infinite loop.
  2. @zls0424

    Bug fix for infinite loop.

    zls0424 authored
    Consider the following step:
    
    hash_again = 1  => pc->tries = 2
    
    After ngx_http_upstream_init_hash_peer -> ngx_http_upstream_hash_next_peer, pc->tries becomes 1.
    If the first upstream fails, after ngx_http_upstream_free_hash_peer -> ngx_http_upstream_hash_next_peer,
    pc->tries becomes (ngx_uint_t) -1.
    
    Maybe a better patch is needed, and this one just fix the problem.
    
    Easy to reproduce: (curl localhost/xxxx)
    
    upstream not_exists {
      server localhost:9999;
      server localhost:9999;
      server localhost:9999;
      server localhost:9999;
      server localhost:9999;
      server localhost:9999;
      server localhost:9999;
      server localhost:9999;
    
      hash $args;
      hash_again 1;
    }
    
    server {
      listen 80;
    
      location / {
        proxy_pass http://not_exists;
      }
    }
Commits on Oct 23, 2012
  1. Merge pull request #5 from PiotrSikora/weights

    authored
    Add weights support for the upstream servers.
Commits on Oct 22, 2012
  1. @PiotrSikora

    Add weights support for the upstream servers.

    PiotrSikora authored
    Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
Commits on Apr 25, 2012
  1. Fix spin-lock when all servers are down

    Evan Miller authored
Commits on Feb 29, 2012
  1. Skip "backup" servers; support health checks

    Evan Miller authored
Commits on Aug 10, 2010
  1. Support SSL backends

    authored
Commits on Jun 3, 2010
  1. Support for servers marked "down".

    authored
    Thanks to Jack Lindamood/Facebook.
Commits on Oct 19, 2009
  1. First commit.

    Evan Miller authored
Something went wrong with that request. Please try again.