Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Oct 17, 2010
  1. Allow requests to files with non-ascii characters

    authored
    (with URL encoded requests)
Commits on Sep 20, 2010
  1. @psanford

    Fixed parent directory access hole.

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

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

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

    authored
  3. Bugfix: Responses closed before sending's finished

    authored
    Premature closing of response was causing corruption transferring photos
    over slow connections
  4. new test picture

    authored
  5. Merge branch 'master' of github.com:mhansen/antinode

    authored
    Conflicts:
    	lib/antinode.js
Commits on Jul 14, 2010
  1. typecheck safety

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

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

    authored
    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.
    
    net:231
      close(fd);
      ^
    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
    descriptors.
  2. Remove unused setting

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

    authored
  2. bump version

    authored
  3. dont die on HEAD requests

    authored
  4. Stream and Buffer based read/write loop.

    authored
    - 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'
  5. default timeout was too short

    authored
Commits on Jun 16, 2010
  1. Refactor test suite

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