Permalink
Commits on Dec 13, 2013
  1. version 0.1.5

    godsflaw committed Dec 13, 2013
    - Major bug fix to redis cache, which I busted in the last version
  2. Version 0.1.4

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

    godsflaw committed Dec 12, 2013
    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

    godsflaw committed Dec 9, 2013
    writeHead is used in a different way in versions > 0.8.x of http-proxy.
  2. A few more bug fixes

    godsflaw committed Dec 9, 2013
    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

    godsflaw committed Dec 8, 2013
    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

    godsflaw committed Aug 29, 2013
    - 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

    godsflaw committed Mar 9, 2013
    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

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

    godsflaw committed Oct 28, 2012
    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

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

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

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

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

    godsflaw committed Oct 12, 2012
  2. Testing a 20 second timeout.

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

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

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

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

    godsflaw committed Oct 6, 2012
Commits on Sep 30, 2012
  1. Two fixes for timeout bugs

    godsflaw committed Sep 30, 2012
    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.

    godsflaw committed Sep 30, 2012
    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.