Commits on Nov 17, 2010
  1. Bump version to 0.2.5

    ry committed Nov 16, 2010
  2. Add ref to buffer during fs.write and

    There was the possibility the buffer could be GCed while the eio_req was
    pending.  Still needs test coverage for the problem.
    ry committed Nov 17, 2010
Commits on Nov 16, 2010
  1. writeFile fixes

    writeFileSync could exhibit pathological behavior when a buffer could
    not be written to the file in a single write() call.
    Also, writeFile was not quite as optimized as it could be.
    isaacs committed with ry Nov 14, 2010
  2. Fix segfault on test-crypto

    Plus random cleanups. This code needs help.
    ry committed Nov 16, 2010
  3. Simplify REPL displayPrompt

    Now that we insert \r into the stream and aren't switching back and forth
    between termios modes, not need to worry about when to display the prompt.
    ry committed Nov 12, 2010
  4. Add writeFilter when in the readline

    Switch \n with \r\n for all strings printed out.
    Necessary for writev patch.
    ry committed Nov 12, 2010
  5. Upgrade http-parser

    ry committed Nov 16, 2010
  6. Set FD_CLOEXEC flag on stdio FDs before spawning.

    With regression test.
    guitt committed with ry Nov 7, 2010
  7. Make sure watcher.set() isn't being called when active

    ry committed Nov 16, 2010
  8. Fix argv[6] comment in node_file

    ry committed Oct 30, 2010
  9. Rewrite libeio After callback to use req->result instead of req->erro…

    …rno for error checking
    ry committed Nov 16, 2010
  10. Abstract out net.Server.prototype._rejectPending

    Does the same timeout action for maxConnections as it does for EMFILE.
    ry committed Nov 16, 2010
  11. Module-level EMFILE handling

    All net servers now share the same dummy socket. The ulimit warning is
    throttled for all servers.
    ry committed Nov 16, 2010
  12. Handle cyclic links smarter in fs.realpath

    Rather than aborting in the face of *any* repeated link in a given path,
    instead only abort if such a cycle actually makes a given path unresolvable.
    Test for this by doing a normal stat.  Still use the seenLinks object to
    cache link contents so as to cut own a little bit on readlink calls.
    Also add a pathological test that fails without the change to fs.js.
    isaacs committed with ry Oct 25, 2010
  13. make "node --eval" eval in the global scope.

    xk committed with ry Oct 23, 2010
  14. Add extra anti-DoS tech to net.Server

    ry committed Nov 16, 2010
  15. Improve idle benchmarks

    ry committed Oct 27, 2010
  16. Gracefully handle EMFILE

    Implementing a tip from Marc Lehmann:
    Keep an extra FD around for every server. When you hit EMFILE, destroy that
    FD, accept a connection, close it; in this way you can clear the connection
    queue and let people know that you're overload.
    No more timeout needed.
    ry committed Nov 16, 2010
Commits on Nov 2, 2010
  1. Fix test-http-buffer-sanity

    Backported from 7e24a05
    Add test/simple/test-http-curl-chunk-problem.js
    ry committed Oct 11, 2010
Commits on Oct 24, 2010
  1. bump version to 0.2.4

    ry committed Oct 24, 2010
  2. Make sure Error object on exec() gets killed member

    Also default to SIGTERM for destruction when exceeding timeout or buffer on
    Back ported from v0.3; original commits:
    ry committed Oct 23, 2010
  3. Add isatty for isaacs

    ry committed Oct 21, 2010
  4. one more 'listening' race condition

    ry committed Oct 23, 2010
  5. Fix a few 'listening' race conditions

    in test-http-client-parse-error
    ry committed Oct 23, 2010
  6. Do not spin on aceept() with EMFILE

    When a server hit EMFILE it would continue to try to accept new connections
    from the queue. This patch introduces a timeout of one second where it will
    stop trying to accept new files. After the second is over it tries again.
    This is a rather serious bug that has been effecting many highly concurrent
    programs. It was introduced in 4593c0, version v0.2.0.
    TODO: A test for this situation. Currently I test it like this
      termA% cd projects/node
      termA% ulimit -n 256
      termA% ./node benchmark/idle_server.js
      termB% cd projects/node
      termB% ./node benchmark/idle_clients.js
    And watch how the server process behaves.
    ry committed Oct 23, 2010
  7. Add signal handlers so we clean up before exiting.

    Add SIGTERM and SIGINT signal handlers so that we run the exit handlers
    before exiting when getting these signals. Fixes an issue where we
    couldn't run vi after CTRL+C'ing node because the stdin fd was left
    Also the test from ceb5331a64e813f3a982c702fea5dcd2db2e7a290
    thughes committed with ry Oct 12, 2010
  8. Fix parsing of linux memory

    If process name contains a space, this parsing fails for no good reason.
    Vitali Lovich committed with ry Jul 16, 2010