Permalink
Commits on Jun 16, 2010
  1. Lots of linting

    committed Jun 16, 2010
Commits on Jun 14, 2010
  1. Timeout idle connections, and close idle fd's

    So antinode doesn't leak sockets or file descriptors when a lot of idle
    connections are made.
    committed Jun 14, 2010
  2. Revert "Remove timeout on connections"

    Reinstate timeouts so that erroneous/malicious clients can't bring
    down the server by opening thousands of connections then never close
    them.
    And add fixes so that the timeout is incremented every time there
    is data outgoing on the socket, so that large files can be sent
    without timing out.
    
    This reverts commit 558a63f.
    committed Jun 14, 2010
  3. Cleanup

    committed Jun 14, 2010
  4. Use process.cwd() instead of './'

    The path library had trouble with joining
     './' with '', it would return '' instead of '.'.
    committed Jun 14, 2010
Commits on Jun 13, 2010
  1. Remove timeout on connections

    It made it impossible to send large files over a slow connection,
    and it looks like it's not necessary (to clean up forgotten connections)
    any more.
    committed Jun 13, 2010
Commits on Jun 7, 2010
  1. add a test for serverside js

    committed Jun 7, 2010
Commits on Jun 6, 2010
  1. Add demo server-side JS script

    Tweak logging
    Make settings-less operation work again
    hanshuebner committed Jun 6, 2010
  2. Add support for server-side Javascript files that are executed

    rather than sent to the client.  Not yet cached.
    Tweak logging so that log level info logs one line per request.
    hanshuebner committed Jun 6, 2010
Commits on May 26, 2010
Commits on May 21, 2010
  1. Add watchr script

    committed May 21, 2010
  2. Remove unused underscore.js dependency

    Since I discovered V8 has native implementations of forEach, map,
    reduce, and filter, I don't need underscore any more. It was only used
    in one place, to convert `arguments` to an array. You can do that with
    Array.prototyle.slice.call(arguments), and it's not worth the whole
    dependency to make that one line shorter.
    committed May 21, 2010
  3. Export log levels enum so we don't have to use arbitary numbers for l…

    …og levels in tests.
    committed May 21, 2010
  4. stat(2) just once per request if you can

    Refactor find_local_file_path to not use the stat(2) call. It's now a synchronous function. - it doesn't need a callback.
    committed May 21, 2010
Commits on May 19, 2010
  1. refactor http test code

    committed May 19, 2010
  2. clean up 304 tests

    committed May 19, 2010
Commits on May 16, 2010
Commits on May 14, 2010
  1. ignore vims .swp files

    committed May 14, 2010
  2. Update test to take advantage of new 'server ready' hooks, and stop s…

    …erver when test is done.
    committed May 14, 2010
  3. Add hooks to stop the server, and callbacks so I know when it's ready…

    … to connect to the server (in the tests)
    committed May 14, 2010
  4. first tests for antinode

    committed May 14, 2010
  5. Clean up error logger for stat()

    committed May 14, 2010