Commits on Oct 17, 2010
  1. Allow requests to files with non-ascii characters

    (with URL encoded requests)
    committed Oct 17, 2010
Commits on Sep 20, 2010
  1. Fixed parent directory access hole.

    The parent directory regex was not strict enough.
    Added unit test.
    psanford committed Sep 20, 2010
Commits on Aug 20, 2010
Commits on Aug 11, 2010
  1. redirect '/folder' requests to '/folder/'

    So the browser requests images in the page relative to the folder, not
    the root
    committed Aug 11, 2010
Commits on Jul 28, 2010
Commits on Jul 26, 2010
  1. Add support for middleware above node

    through the 'preprocess' hook. See the test for details, I'll document
    this when I'm happy it's stable
    committed Jul 26, 2010
  2. make all the tests pass again

    committed Jul 26, 2010
  3. Bugfix: Responses closed before sending's finished

    Premature closing of response was causing corruption transferring photos
    over slow connections
    committed Jul 26, 2010
  4. new test picture

    committed Jul 26, 2010
  5. Merge branch 'master' of

    committed Jul 26, 2010
Commits on Jul 14, 2010
  1. typecheck safety

    Davis committed Jul 14, 2010
Commits on Jul 10, 2010
  1. move execute_sjs out of closure

    committed Jul 10, 2010
Commits on Jun 22, 2010
  1. Fixes #6

    committed Jun 22, 2010
Commits on Jun 21, 2010
  1. Remove readStream.destroy() call on timeout

    It's causing a lot of errors on closing the fd, even after
    I started checking the fd before destroying it. I suppose it's the
    underlying stream implementation trying to destroy() a stream twice.
    Error: EBADF, Bad file descriptor
        at closeFD (net:231:3)
        at Stream.destroy (net:999:17)
        at Stream.<anonymous> (http:731:12)
        at Stream.emit (events:42:20)
        at Timer.callback (net:151:19)
        at node.js:221:9
    Will have to look at the Stream source code to see if I can find the
    problem. Till then, the file descriptors are automatically closed when
    the readStream reaches the end, so antinode shouldn't leak file
    committed Jun 21, 2010
  2. Remove unused setting

    committed Jun 21, 2010
Commits on Jun 20, 2010
  1. tests for HTTP HEAD

    committed Jun 20, 2010
  2. dont crash on HEAD server errors

    committed Jun 20, 2010
  3. bump version

    committed Jun 20, 2010
  4. dont die on HEAD requests

    committed Jun 20, 2010
  5. Stream and Buffer based read/write loop.

    - We moved to sendfile before node.JS had binary buffers. A read write
      loop is a lot faster now than back when node was converting everything
      to UTF-8 strings. Sendfile isn't needed.
    Sendfile(2) was causing all sorts of hassles
    - Connections would timeout, then sendfile would try and send out a null
      file descriptor
    - Sendfile(2) has crap error messages for when the shit hits the fan.
      'bad argument'
    committed Jun 20, 2010
  6. default timeout was too short

    committed Jun 20, 2010
Commits on Jun 16, 2010
  1. tidy up source (into 80 columns)

    committed Jun 16, 2010
  2. Refactor test suite

    committed Jun 16, 2010