93 Commits (9c70bf356be1a66d0abf70662f2894a97f7ad148)

Author SHA1 Message Date
Ryan 9c70bf356b HTTP Server: check the ready state of the connection before each send. 16 years ago
Ryan 310eed03e0 Clean up readyState handling. Add test. 16 years ago
Ryan 69ab87ca53 Fix crash in oi_socket; add ready state reader to Connection objects. 16 years ago
Ryan 478e45a32f Change request handler to take two parameters: req, res. 16 years ago
Ryan 9a63d8ec28 Remove v8 prefix from function template callbacks. 16 years ago
Ryan 175223d5d7 Remove HTTP parser callbacks for fragment, query_string, path. 16 years ago
Ryan 91bd3124ad Add sendUtf8 method to socket objects. 16 years ago
Ryan 2cb81113ec Slightly better buffer allocation. (Probably not worth it.) 16 years ago
Ryan fb96f07ece Commit partial work in http.js. Comment out V8::Dispose(); in node.cc 16 years ago
Ryan baed9d514d Inform V8 of external allocations. 16 years ago
Ryan 81691c7dc5 Fixes to get HTTP working with new TCP API. 16 years ago
Ryan 589d8af5d4 Wrap NewInstance with TryCatch. (Was still missing the error.) 16 years ago
Ryan febbf75302 Wrap calls in TryCatch; Check return values after UNWRAP. 16 years ago
Ryan 73fb24f48d Relatively large update to TCP API. No more "protocol". 16 years ago
Ryan 31ba3cde17 Rename TCP classes to sit in node hierarchy. 16 years ago
Ryan de6036669d Add p() like in Ruby. 16 years ago
Ryan 427e3f5dcb Introduce NODE_SET_PROTOTYPE_METHOD which properly sets the signature. 16 years ago
Ryan 8d00691f78 Was not properly passing the host parameter to Acceptor::Listen. 16 years ago
Ryan 740139408d Fix memory leak in timer. 16 years ago
Ryan 3212b31ea1 Rename main.js to node.js. 16 years ago
Ryan f6c955b7f4 Move Timer class into node namespace. 16 years ago
Ryan 4d39a3586c Path, URI, Fragment, etc were not getting passed to RequestHandler. 16 years ago
Ryan 15c1e0b007 Random clean-ups to the web server. 16 years ago
Ryan 7869ed6681 Add keep-alive handling. 16 years ago
Ryan 918c71856a Add status code reasons to server API. 16 years ago
Ryan 421b955888 change the http server response api slightly 16 years ago
Ryan 55d840ea96 Add profile window around socket on_read. 16 years ago
Ryan 43531093a3 don't die on EPIPE 16 years ago
Ryan ba17940551 Add accessor File#encoding 16 years ago
Ryan 103a8800c7 Binary HTTP bodies for both requests and responses. 16 years ago
Ryan 62a1465332 get chunked responses working 16 years ago
Ryan 9f2938b713 node.http.Server was not getting req.path, etc. 16 years ago
Ryan a80591aff6 Create node.http.Server and node.http.LowLevelServer 16 years ago
Ryan 0bb12be660 link to google profiler 16 years ago
Ryan ae7c6314ca Various fixes to make the web server not give off so many errors. 16 years ago
Ryan cfd61622ae Reference counting. Network bugs. 16 years ago
Ryan 30450388d6 update oi_socket - modify node code to match 16 years ago
Ryan 2e5b85a13b Some fixes to allow HTTPServer to begin listening. 16 years ago
Ryan 9c3770d999 Implement HTTPServer (untested!) 16 years ago
Ryan b763ee0ad4 Make onError work for TCPConnection. 16 years ago
Ryan 6149c6c49a Fix HTTPConnection javascript inheritance. 16 years ago
Ryan 38726e7272 various clean ups; HTTPConnection (js side) inherits from TCPConnection 16 years ago
Ryan 09c2ae5c3e Slight change in tcp connection constructor 16 years ago
Ryan 4860f1c92c add onMessageComplete and onBody handlers. 16 years ago
Ryan be6b3acf0e extract headers, status_code, path, http version from http messages. 16 years ago
Ryan 5a071ad72f Begin refactor of http.cc. Remove libebb add http_parser. 16 years ago
Ryan bb6057d9ad rename Connection.disconnect -> Connection.close 16 years ago
Ryan 13062832d8 cleanup: rename some of the callbacks 16 years ago
Ryan 1713386580 add Connection::SendEOF. modify test accordingly. 16 years ago
Ryan 15d24d8002 Major refactor of network code 16 years ago