Commit Graph

1563 Commits (8752ceef13a3c6478fee54b089fbfea1e3d8313c)

Author SHA1 Message Date
Ryan c8e20fbf81 add file.read only. raw encoding right now. 2009-04-16 21:05:41 +02:00
Ryan e303d950d9 add stdout stderr global file objects. remove node.blocking.print 2009-04-16 13:58:10 +02:00
Ryan c0b90ca763 only store fd in javascript (not in c++) 2009-04-16 13:42:34 +02:00
Ryan 470c6342cc Change symantics of file.open. Now takes a callback argument. 2009-04-16 13:20:35 +02:00
Ryan 7e1350f6e4 add file.write() 2009-04-16 11:37:44 +02:00
Ryan 63a9cd3897 everything is changed. i've waited much too long to commit.
this is awful. i'm sorry for being so messy.
2009-04-15 10:08:28 +02:00
Ryan 1e5de42a75 allow null host parameter to listen on localhost 2009-03-13 12:22:35 +01:00
Ryan a8ac42384d change HTTPServer constructor. Now: HTTPServer(host, port, onrequest); 2009-03-09 14:09:09 +01:00
Ryan b4985d1a6e working towards working keep-alive. need tests 2009-03-06 19:49:52 +01:00
Ryan db618cb708 add minimal amount about HTTPServer to spec 2009-03-05 14:36:19 +01:00
Ryan ab248e8422 add test/test_clearTimeout.rb 2009-03-04 12:04:04 +01:00
Ryan 8b71ba5e68 add test_setTimeout
Had to disable Init_tcp because it starts an oi_async thread pool and
prevents the node loop from exiting when no watchers remain. Not sure how
to deal with this problem in general because eventually we'll need the
thread pool.
2009-03-04 11:54:20 +01:00
Ryan 9e5eff3b27 add test/test_http_server_echo and 'make test' 2009-03-04 11:35:43 +01:00