Ryan
916b9ca715
Add Request objects on the HTTP server can be interrupted.
2009-06-12 17:37:43 +02:00
Ryan
825d7a8be8
Remove unused HTTPConnection destructor
2009-06-12 17:30:37 +02:00
Ryan
fd83e1d7d8
Upgrade http parser
2009-06-12 17:27:44 +02:00
Ryan
3a0de007aa
onBodyComplete was not getting called in HTTP server
2009-06-12 15:26:06 +02:00
Ryan
1ec9f821e1
fix typo
2009-06-12 15:23:36 +02:00
Ryan
4cfc982c77
bump version
2009-06-11 13:54:03 +02:00
Ryan
1a1406c80e
Add 'localhost' to connect() to test for issue 3
2009-06-11 13:43:00 +02:00
Ryan
728af1faa8
add note about python versions
2009-06-11 13:40:25 +02:00
Ryan
452d3f1418
comment out gnutls check in wscript until it's used
2009-06-11 13:40:14 +02:00
Ryan
f657a6324a
Fix comment/test for Mac getaddinfo() bug.
...
Note: the test case was broken because on Macintosh the client connects
synchronously. This is undesirable but ok for now.
2009-06-11 11:42:43 +02:00
Ryan
2a7a2f671a
add todo list
2009-06-11 02:34:04 +02:00
Ryan
6bfcfa7d74
remove unnecessary pthread header
2009-06-10 19:05:54 +02:00
Ryan
4624906e2a
upgrade http_parser
2009-06-10 18:56:37 +02:00
Ryan
080fa54a85
fix for issue 3; but now experiencing segfault on linux
2009-06-10 18:29:59 +02:00
Ryan
00868b9565
upgrade liboi
2009-06-10 15:24:28 +02:00
Ryan
0d780fe6b8
Free pointer with delete, since created with new
2009-06-10 15:24:14 +02:00
Ryan
2641582399
Extra header to work with freebsd
2009-06-09 17:47:42 +02:00
Ryan
44dc6735e3
Add waf to LICENSE
2009-06-09 15:20:10 +02:00
Ryan
4bd63d35fb
Upgrade http_parser - protects against buffer overflows now
2009-06-09 15:18:12 +02:00
Ryan
88c04e74c9
Add HTTP proxy test. Fix bug in http.Server.
...
was not properly inheriting http.Server from http.LowLevelServer.
2009-06-09 14:10:53 +02:00
Ryan
90d584129d
Add mongrel and parseUri references to LICENSE file
2009-06-09 13:59:13 +02:00
Ryan
dca7f7bada
Add http server / http client test.
2009-06-09 10:28:59 +02:00
Ryan
ddac43f4ba
Allow for absolute paths to specify root module
2009-06-09 10:06:04 +02:00
Ryan
8c146dfa0b
Don't use AI_NUMERICSERV. Doesn't work on mac.
2009-06-08 23:56:09 +02:00
Ryan
8b49cef10b
Modify the tests to use onExit hook.
...
No need to rely on stdout output now.
onExit callbacks should print stack trace from onExit failure
2009-06-08 19:10:36 +02:00
Ryan
696f024557
Upgrade to v8 1.2.7
2009-06-08 18:34:06 +02:00
Ryan
f6a7fe2657
Implement onExit() hook for modules.
...
onExit() is similar to the onLoad() callback. onExit() is called on each
module just before the process exits. This can be used to check state in
unit tests, but not to perform I/O. The process will forcibly exit as soon
as all of the onExit callbacks are made.
2009-06-08 16:17:33 +02:00
Ryan
b6fe4aec50
Module system refactor
...
There is one major API change in the refactor: filename extensions are now
required when requiring or including modules.
Added extra test to test-module-loading.js.
2009-06-08 15:34:15 +02:00
Ryan
887f056923
Do not assume transfer-encoding: chunked as default on requests.
...
If users do not send transfer-encoding or content-length headers, then I
will not add any additional. Content-Length: 0 is assumed if there aren't
other headers and chunked encoding is rare.
2009-06-06 23:57:15 +02:00
Ryan
5558bc4e6e
Add connection.remoteAddress for server-side node.tcp.Connections.
2009-06-05 20:15:54 +02:00
Ryan
5170823572
Documentation for connection.connect()
2009-06-05 15:18:05 +02:00
Ryan
6e4e228665
Don't use AI_PASSIVE in getaddrinfo() for client connections.
2009-06-05 15:10:46 +02:00
Ryan
1614f51047
Merge branch 'ujh/master'
...
Conflicts:
website/index.html
2009-06-05 14:32:53 +02:00
Urban Hafner
d04ef89758
Mention node_chat
2009-06-05 13:28:56 +03:00
Ryan
bee7ef90bd
Add link to chat room demo
2009-06-05 12:27:09 +02:00
Urban Hafner
565becb8ad
XHTML compliant HTML and a few spelling fixes
2009-06-05 13:23:51 +03:00
Urban Hafner
9e6603476a
Mentioning the google group in the README and documentation.
2009-06-05 11:38:41 +03:00
Ryan
c226f81768
Fix HTTP client output bug.
2009-06-04 15:44:38 +02:00
Ryan
c457b829e2
If http.Client has an error, do not continue to reconnect.
2009-06-04 12:39:19 +02:00
Ryan
8cfdd326a8
Add "had_error" argument to the "onDisconnect" in node.tcp.Client
...
This is a boolean value which allows one to detect if the socket was closed
due to errors. There is not yet a way to look up the actual error code.
2009-06-04 12:33:19 +02:00
Ryan
b933743d83
status_code -> statusCode in test_client.js
2009-06-04 10:49:01 +02:00
Ryan
d0988da515
Website: correct typos.
2009-06-03 11:43:54 +02:00
Ryan
8bf2a2fa55
Rename req.uri.queryKey to req.uri.params. More familar to rails users.
2009-06-01 20:59:33 +02:00
Ryan
ed283dc280
Fix bug: catting non-existent files
2009-06-01 12:56:28 +02:00
Ryan
4fbe15f065
bump version to v0.0.2
2009-05-31 14:25:07 +02:00
Ryan
739276b3a5
work on About on webpage
2009-05-31 14:24:10 +02:00
Ryan
d13d06467a
Add audience to website
2009-05-30 19:36:41 +02:00
Ryan
7bd2282a9f
Fix up description on web page
2009-05-30 18:14:26 +02:00
Ryan
272c4167da
changes to website
2009-05-29 18:59:18 +02:00
Ryan
aceb1987ed
Remove complex string appending in http's send() method.
...
That seems to churn the garbage collector like mad.
Before: http://s3.amazonaws.com/four.livejournal/20090529/timeseries6.png
After: http://s3.amazonaws.com/four.livejournal/20090529/timeseries11.png
Got a nice tight side profile for this benchmark now:
http://s3.amazonaws.com/four.livejournal/20090529/hist10.png
2009-05-29 17:05:03 +02:00