Ryan
63a9cd3897
everything is changed. i've waited much too long to commit.
this is awful. i'm sorry for being so messy.
16 years ago
Ryan
0e9e927fcb
enable support for the thread pool
16 years ago
Ryan
1a126ed11c
use the WAF build system
16 years ago
Ryan
c518373838
add dependencies: libeio, libev, v8
16 years ago
Ryan
2309196c34
more todo items
16 years ago
Ryan
878ca395b3
a few more todo items
16 years ago
Ryan
fd52fa7c16
a few more todo items
16 years ago
Ryan
742b221e4b
add todo list
16 years ago
Ryan
55097bb572
remove 'respond' from Request object in HTTPServer when connection is dead
16 years ago
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
16 years ago
Ryan
1e5de42a75
allow null host parameter to listen on localhost
16 years ago
Ryan
5b08b827f9
report errors from loaded files
16 years ago
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.)
16 years ago
Ryan
a8ac42384d
change HTTPServer constructor. Now: HTTPServer(host, port, onrequest);
16 years ago
Ryan
e78917b3b0
better reporting on fatal exceptions
16 years ago
Ryan
5131e0a1ef
better error messages
16 years ago
Ryan
64ac9efb3d
fixed bug in HTTPServer. wasn't properly destroying requests.
16 years ago
Ryan
b4985d1a6e
working towards working keep-alive. need tests
16 years ago
Ryan
16ef5029de
add blockingFileRead to tide me over until I can get a proper file interface.
16 years ago
Ryan
ea728d35ef
add some information about http request objects
16 years ago
Ryan
db618cb708
add minimal amount about HTTPServer to spec
16 years ago
Ryan
bc1ebdf5a5
update TCPClient specs
16 years ago
Ryan
e2d20fe293
complete tcp client (for the most part)
16 years ago
Ryan
93c7e88c87
half way implemented the new TCPClient
16 years ago
Ryan
4ea5ab63c1
implement setInterval()
16 years ago
Ryan
02638103f7
add beginnings of a specification doc
16 years ago
Ryan
ab248e8422
add test/test_clearTimeout.rb
16 years ago
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.
16 years ago
Ryan
9e5eff3b27
add test/test_http_server_echo and 'make test'
16 years ago
Ryan
559c1987be
add command line options
16 years ago
Ryan
dbbd25ae65
rename module load function to Init_modulename(), like ruby
16 years ago
Ryan
e02b71ebe8
exit program on top level exceptions
(also lots of reorg.)
16 years ago
Ryan
a890b67406
Add beginnings of the setTimeout interface
16 years ago
Ryan
f16e50d387
refactor js_request creation into method
16 years ago
Ryan
f9374eeb77
avoid reallocating the same strings every request
16 years ago
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.
16 years ago
Ryan
1afe6d26db
begin work on the TCP.connect interface
16 years ago
Ryan
bd136fae40
update example.js
16 years ago
Ryan
2ee65b8ea2
add headers to request object
16 years ago
Ryan
1a71a3c9d4
fix bug in count-hosts.js was closing the chunked encoding before request ended
16 years ago
Ryan
aa72b99917
upload/download works seemingly
16 years ago
Ryan
f6b541bc37
trying to implement streamed upload. not working.
16 years ago
Ryan
d945ba68a2
compactify the code into a single file. will abstract later.
16 years ago
Ryan
90ea571602
request.respond(null) sends eof
16 years ago
Ryan
096384ad58
gitignore
16 years ago
Ryan
cc1a61c1e7
request.respond works
16 years ago
Ryan
74f4eb9a2e
add http method access
16 years ago
Ryan
b518ed9db2
add some printfs..
16 years ago
Ryan
7b7ceea4ec
first compile
16 years ago
Ryan
4a5bab8ef6
intermediate commit. nothing works.
16 years ago