0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 12:10:08 +01:00
Commit Graph

47 Commits

Author SHA1 Message Date
Ryan
fd52fa7c16 a few more todo items 2009-03-15 12:51:51 +01:00
Ryan
742b221e4b add todo list 2009-03-15 12:31:35 +01:00
Ryan
55097bb572 remove 'respond' from Request object in HTTPServer when connection is dead 2009-03-15 11:11:51 +01:00
Ryan
adf18d84af header fields should be symbols. enable fatal error messages.
how do i get a stack trace on a fatal error?
http://groups.google.com/group/v8-users/browse_thread/thread/b70c70d568c332e1
2009-03-15 09:44:26 +01:00
Ryan
1e5de42a75 allow null host parameter to listen on localhost 2009-03-13 12:22:35 +01:00
Ryan
5b08b827f9 report errors from loaded files 2009-03-09 18:21:59 +01:00
Ryan
7b45c911ef with great performance hit, a patch to handle binary
(need to get the v8 people to produce something that doesn't require copying
buffers 20 times.)
2009-03-09 17:26:46 +01:00
Ryan
a8ac42384d change HTTPServer constructor. Now: HTTPServer(host, port, onrequest); 2009-03-09 14:09:09 +01:00
Ryan
e78917b3b0 better reporting on fatal exceptions 2009-03-09 14:08:31 +01:00
Ryan
5131e0a1ef better error messages 2009-03-09 01:23:41 +01:00
Ryan
64ac9efb3d fixed bug in HTTPServer. wasn't properly destroying requests. 2009-03-07 17:08:35 +01:00
Ryan
b4985d1a6e working towards working keep-alive. need tests 2009-03-06 19:49:52 +01:00
Ryan
16ef5029de add blockingFileRead to tide me over until I can get a proper file interface. 2009-03-05 18:17:36 +01:00
Ryan
ea728d35ef add some information about http request objects 2009-03-05 14:46:40 +01:00
Ryan
db618cb708 add minimal amount about HTTPServer to spec 2009-03-05 14:36:19 +01:00
Ryan
bc1ebdf5a5 update TCPClient specs 2009-03-05 14:22:09 +01:00
Ryan
e2d20fe293 complete tcp client (for the most part) 2009-03-05 13:57:09 +01:00
Ryan
93c7e88c87 half way implemented the new TCPClient 2009-03-05 13:41:10 +01:00
Ryan
4ea5ab63c1 implement setInterval() 2009-03-04 19:16:07 +01:00
Ryan
02638103f7 add beginnings of a specification doc 2009-03-04 19:15:39 +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
Ryan
559c1987be add command line options 2009-03-04 10:22:37 +01:00
Ryan
dbbd25ae65 rename module load function to Init_modulename(), like ruby 2009-03-04 10:08:33 +01:00
Ryan
e02b71ebe8 exit program on top level exceptions
(also lots of reorg.)
2009-03-04 00:33:55 +01:00
Ryan
a890b67406 Add beginnings of the setTimeout interface 2009-03-03 19:17:33 +01:00
Ryan
f16e50d387 refactor js_request creation into method 2009-03-03 02:36:08 +01:00
Ryan
f9374eeb77 avoid reallocating the same strings every request 2009-03-03 02:15:26 +01:00
Ryan
19478ed4b1 Major refactoring: program name now "node"
Trying to make a more moduler design. Two libraries currently "TCP" and
"HTTP" each have their own file.

Other major feature added here is multiple web servers! excitement.
2009-03-03 01:56:15 +01:00
Ryan
1afe6d26db begin work on the TCP.connect interface 2009-03-02 15:49:24 +01:00
Ryan
bd136fae40 update example.js 2009-03-01 12:15:27 +01:00
Ryan
2ee65b8ea2 add headers to request object 2009-02-24 19:13:58 +01:00
Ryan
1a71a3c9d4 fix bug in count-hosts.js was closing the chunked encoding before request ended 2009-02-23 22:43:50 +01:00
Ryan
aa72b99917 upload/download works seemingly 2009-02-23 21:53:03 +01:00
Ryan
f6b541bc37 trying to implement streamed upload. not working. 2009-02-23 21:04:30 +01:00
Ryan
d945ba68a2 compactify the code into a single file. will abstract later. 2009-02-23 13:48:34 +01:00
Ryan
90ea571602 request.respond(null) sends eof 2009-02-22 18:17:02 +01:00
Ryan
096384ad58 gitignore 2009-02-22 17:50:43 +01:00
Ryan
cc1a61c1e7 request.respond works 2009-02-22 17:46:11 +01:00
Ryan
74f4eb9a2e add http method access 2009-02-21 21:00:40 +01:00
Ryan
b518ed9db2 add some printfs.. 2009-02-20 17:49:47 +01:00
Ryan
7b7ceea4ec first compile 2009-02-20 17:06:07 +01:00
Ryan
4a5bab8ef6 intermediate commit. nothing works. 2009-02-20 16:34:18 +01:00
Ryan
6ded7fec5f ... 2009-02-20 16:18:44 +01:00
Ryan
61890720c8 add readme and initial code 2009-02-16 01:34:45 +01:00
Ryan
9d7895c567 add dependencies 2009-02-16 01:02:00 +01:00