1. Jun 29, 2009
    • Ryan's avatar
      Use events for all HTTP messages. · 70fe920f
      Ryan authored
      This is a rather large refactor! Mostly for the better side. I've had to
      remove some functionality like req.interrupt(). A lot of other work is left
      messy or incomplete.
      70fe920f
    • Ryan's avatar
      events for http.Server · 20c0e1fd
      Ryan authored
      20c0e1fd
    • Ryan's avatar
      Further expand EventEmitter to TCP and HTTP · ed3d6a63
      Ryan authored
      The constructor for TCP servers can no longer take a connection handler for
      purely technical reasons. (The constructor for EventEmitter is implemented
      in C++ but addListener is in javascript, and I don't want to make too many
      C++ -> Javascript references.) Thus I introduce new constructor methods to
      ease the creation of the servers:
      
        node.tcp.createServer()
        node.http.createServer()
      
      These work almost the same as the old constructors.
      
      In general we're working towards a future where no constructors are
      publicly exposed or take arguments.
      
      The HTTP events like "on_uri" are not yet using the event interface.
      onMessage still is a constructor - but this will change soon.
      ed3d6a63
    • Ryan's avatar
      Timers on Events · b4af3b9f
      Ryan authored
      b4af3b9f
    • Ryan's avatar
      in the middle putting in event code. broken. · 2ecd7ffe
      Ryan authored
      2ecd7ffe
  2. Jun 28, 2009
  3. Jun 27, 2009
  4. Jun 24, 2009
    • Ryan's avatar
      bump version · fbe0be19
      Ryan authored
      fbe0be19
    • Ryan's avatar
      test-process-kill: start process after onLoad · bdad5e73
      Ryan authored
      bdad5e73
    • Ryan's avatar
      bugfix: Properly exit a process. · 7363ccd2
      Ryan authored
      This requires that onExit() is not called immediately upon receiving a
      SIGCHLD. There could still be data in the pipez. So, instead just set a
      flag and invoke the pipe watchers.
      
      Sometimes one will not receive an EOF from pipes because the process was
      killed by a SIGTERM, or something. If SIGCHLD has been recved but we are
      getting EAGAIN, the pipez need to be closed too.
      7363ccd2
  5. Jun 23, 2009
  6. Jun 22, 2009
  7. Jun 21, 2009
  8. Jun 20, 2009