Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Commits on Dec 13, 2013
  1. version 0.1.5

    - Major bug fix to redis cache, which I busted in the last version
  2. Version 0.1.4

    - Bug fixes
    - Better dependancy section
    - added configs that allow for multiple domains with different origin
Commits on Dec 12, 2013
  1. Change the default

    It's best to make the default server one with no HTTP server so the
    RST packet comes faster.
Commits on Dec 9, 2013
  1. Need to version pin the proxy

    writeHead is used in a different way in versions > 0.8.x of http-proxy.
  2. A few more bug fixes

    Fixed a few more bugs, but there is still one remaining when starting
    the server.  Going to have to add that into the regression tests.
    Also, I still need to write the regex host matching bits.
Commits on Dec 8, 2013
  1. A bunch of updates to get tests working again

    I replaced the hash_ring module with hashring and fleshed out more
    of the per-host config code.  I am unsure if this works.
Commits on Aug 29, 2013
  1. Version bump

    - lots of updates that I did a while ago *shrug*
    - updated git tarball links.
Commits on Mar 9, 2013
  1. Added support for different origin server configs

    Added support for different origin server configs, but I still need
    to make a few more blackbox tests.
Commits on Oct 31, 2012
  1. Just adding new servers

Commits on Oct 28, 2012
  1. Finished tests for resist_server

    I did as many tests as I care to for now.  The constructor is hard
    to test as written, so if there are problems that need regression tests
    we are likely going to want to break that code into more units.
Commits on Oct 20, 2012
  1. More tests for resist_server

  2. some new tests from days ago.

Commits on Oct 17, 2012
Commits on Oct 16, 2012
  1. Just a huge rename.

Commits on Oct 15, 2012
  1. A few more tests added.

Commits on Oct 13, 2012
  1. clear timeout id better.

Commits on Oct 12, 2012
  1. Made the timeout 60 seconds.

  2. Testing a 20 second timeout.

Commits on Oct 10, 2012
  1. Test for merge header

Commits on Oct 9, 2012
  1. Added some more tests.

Commits on Oct 8, 2012
  1. Whoops, left debug info in.

Commits on Oct 6, 2012
  1. Make this port 80 for now.

Commits on Sep 30, 2012
  1. Two fixes for timeout bugs

    First, our origin server can take a while to respond. :(
    Second, if it's a huge stream of data, or any data comes back at all,
    I decided to unset the proxy timeout.
  2. Fixed a bug where a missing origin stalls proxy.

    I did test the case there the actual HTTP service on an origin host
    goes down and that works great.  Turn out, when that happens, a packet
    is sent indicating the port is not listening, which gives an instant error.
    However, when the server simply goes away, it causes all sorts of pain.
    Since the origin server is not up to send that packet, we fall into
    TCP timeout land.  The solution to this was to catch the error condition
    and fire a timeout after, in this case 2 seconds, so that we can simply
    serve the stale cached content.
    If the origin server is slow, I highly suggest setting this timeout higher.
Something went wrong with that request. Please try again.