Ryan
0727fcc9ed
Speed up test-tcp-throttle.js
2009-08-24 21:11:02 +02:00
Ryan
69a9f66b07
Add sha1 hashes to ChangeLog
2009-08-24 13:02:55 +02:00
Ryan
4fab9dfc36
Remove outdated todo list
2009-08-24 13:00:45 +02:00
Ryan
1bbd5c6d55
Add node node_g to gitignore.
2009-08-24 12:59:17 +02:00
Ryan
316e2833f0
Use flat object instead of array-of-arrays for HTTP headers.
...
E.G. { "Content-Length": 10, "Content-Type": "text/html" } instead of
[["Content-Length", 10], ["Content-Type", "text/html"]].
The main reason for this change is object-creation efficiency.
This still needs testing and some further changes (like when receiving
multiple header lines with the same field-name, they are concatenated with a
comma but some headers ("Content-Length") should not be concatenated ; the
new header line should replace the old value).
Various thoughts on this subject:
http://groups.google.com/group/nodejs/browse_thread/thread/9a67bb32706d9efc#
http://four.livejournal.com/979640.html
http://mail.gnome.org/archives/libsoup-list/2009-March/msg00015.html
2009-08-23 12:32:49 +02:00
Ryan
9c97b1db30
bump version
2009-08-22 13:07:31 +02:00
Ryan
a8813fcdf5
evcom upgrade - ignore sigpipe. remove error output.
2009-08-22 12:04:45 +02:00
Ryan
a73998d6f4
bump version
2009-08-21 18:03:15 +02:00
Kevin van Zonneveld
8489bdbaeb
Buggy connections could crash node.js. Now check connection before sending data every time
...
http://groups.google.com/group/nodejs/browse_thread/thread/16abfa87c32408f3
We have our node.js server monitored by monit, however it seems monit is pretty
agressive / quick about closing its connection and thus we've gotten into a
loop of errors like this:
at #<a ServerResponse>.flush
at #<a ServerResponse>.sendBody
at [object Object].json
at [object Object].[anonymous]
at [object Object].[anonymous]
at [object Object].[anonymous]
http.js:353: Socket is not open for writing
connection.send(out, out.encoding);
^
Below is a patch that basically cause flushMessageQueue to check the connection
state for each item in the queue rather than just a single time in the
beginning.
2009-08-21 17:54:10 +02:00
Ryan
ed3602dddc
Sync evcom
2009-08-21 14:53:58 +02:00
Ryan
f7f11352b7
Don't Close TCP Connection/Server on destruction.
...
If the connection is open when the destructor is called it's a bug! Don't
want to try to compensate for bugs.
2009-08-21 14:47:33 +02:00
Ryan
048a1b8b9e
Upgrade v8 to 1.3.6
2009-08-21 13:13:04 +02:00
Ryan
90ac9ab078
Remove connnection.fullClose() from documentation.
...
This function was removed in 368ea93bfe
.
2009-08-19 17:46:44 +02:00
Ryan
368ea93bfe
Upgrade evcom - fix API issues.
2009-08-19 17:41:32 +02:00
Ryan
0cec74d03d
Upgrade v8 to 1.3.5
2009-08-19 16:37:15 +02:00
Ryan
b590a45849
Return the EventEmitter from addListener for chaining.
...
http://groups.google.com/group/nodejs/browse_thread/thread/13708eacedb40b36
2009-08-19 13:29:22 +02:00
Abe Fettig
53b3d6be35
Bugfix: stdin fd (0) being ignored by node.File.
...
In the case of stdin options.fd is 0, which is considered false, therefore fd
gets set to null intead of 0.
http://groups.google.com/group/nodejs/msg/80849f6aa0b0eaa0
2009-08-19 12:58:02 +02:00
Ryan
7aaab320b3
API: tcp.Connection "disconnect" event renamed to "close".
...
More semantic, since the event will be emitted on connection error,
when the connection was ever established.
2009-08-14 12:51:46 +02:00
Ryan
95f9209966
Clarify some of the TCP API documentation.
2009-08-14 12:43:46 +02:00
Ryan
0f888ed6de
bump version
2009-08-13 15:52:55 +02:00
Ryan
b41ea5289e
Upgrade libev to 3.8
2009-08-13 15:07:37 +02:00
Ryan
9dc621f83a
Upgrade v8 to 1.3.4
2009-08-13 15:06:34 +02:00
Ryan
dd5ae3183b
Enable test-tcp-many-clients.
2009-08-13 15:05:02 +02:00
Ryan
af40ae6b8f
Remove debugging messages in HTTP client
2009-08-13 15:03:28 +02:00
Ryan
79ff085c4a
Upgrade v8 to 1.3.3
2009-08-13 13:52:47 +02:00
Ryan
3b0408ec1c
Sync evcom after refactor; fix binding issues
2009-08-13 13:47:16 +02:00
Ryan
4253baf4ab
Sync evcom.
2009-08-10 12:54:57 +02:00
Ryan
ca0dda797a
(evcom) SOL_SOCKET got renamed in socket,stream renaming
...
This was breaking the build on Macintosh.
2009-08-10 12:46:22 +02:00
Ryan
738d20f6f0
(evcom) Add fix for pausing against big buffers.
...
discussion:
http://groups.google.com/group/nodejs/browse_thread/thread/11a920da4d0ed21d
2009-08-10 12:32:54 +02:00
Ryan
0638a3a3ab
Add IncomingMessage.prototype.pause() and resume().
2009-08-09 19:16:25 +02:00
Ryan
94e8721771
Add connection.readPause() and connection.readResume()
2009-08-09 19:12:12 +02:00
Ryan
7d60998ee1
Upgrade evcom
...
Made API changes in evcom and had to make minor change src/net.cc to comply.
2009-08-09 18:42:06 +02:00
Ryan
ed8c43d2f3
Bugfix: Negative ints in HTTP's on_body and node.fs.read()
...
Similar to the error fixed in
9d3ed1bb92
.
Reported by Felix Geisendörfer.
2009-08-09 18:10:16 +02:00
Ryan
75fc21537a
Bugfix: response.setBodyEncoding("ascii") not working.
...
This is same error that was fixed in 216fb3b9b2
.
Reported by Felix Geisendörfer.
2009-08-09 18:04:10 +02:00
Ryan
65ec2d5db4
Fix http benchmark. Wasn't correctly dispatching.
2009-08-08 21:51:28 +02:00
Ryan
abaab2ce9b
Add -m32 gcc flag to udns build.
...
This is a temporary fix until V8 supports 64bit systems natively.
2009-08-08 16:58:06 +02:00
Ryan
d8226af7f5
Upgrade http_parser to v0.2
2009-08-07 18:25:25 +02:00
Ryan
6ffe389c97
Add SHA1 hash values to ChangeLog and fix formating.
2009-08-07 15:45:11 +02:00
Ryan
78024fa689
Remove extra ev_timer_stop() in src/dns.cc
2009-08-07 14:10:40 +02:00
Ryan
0486c091e1
(evcom) Increase recv buffer from 4 bytes (!!!) to 8192
2009-08-06 15:08:07 +02:00
Ryan
7464d42310
bump version
2009-08-06 14:01:26 +02:00
Ryan
7946e98c1f
Delete v8 file that was removed in 1.3.2
2009-08-06 13:59:09 +02:00
Ryan
8bb8b4b570
Upgrade v8 to 1.3.2
2009-08-06 13:36:45 +02:00
Ryan
b849d50288
Remove unused symbols.
2009-08-06 13:33:42 +02:00
Ryan
216fb3b9b2
Bugfix: node.http.ServerRequest.setBodyEncoding('ascii') not working
...
Pointed out by Felix Geisendörfer.
http://groups.google.com/group/nodejs/browse_thread/thread/d061fe62eba6d3b3#
2009-08-06 13:29:24 +02:00
Ryan
9b3baf3d50
Bugfix: node.encodeUtf8 was broken. (Connor Dunn)
...
http://groups.google.com/group/nodejs/browse_thread/thread/5ad0660a0959d885#
2009-08-06 13:17:30 +02:00
Ryan
fb7dd02929
Add ranlib to udns Makefile
...
Thanks to Urban Hafner.
http://groups.google.com/group/nodejs/browse_thread/thread/25867dba9db11d8
2009-08-06 13:03:57 +02:00
Ryan
e111ccc014
Add Felix Geisendörfer's HTTP stress test.
...
Does not pass on Macintosh and FreeBSD.
2009-08-05 11:17:26 +02:00
Ryan
396ed96b2d
Upgrade evcom - fix accepting too many connections issue
2009-08-04 14:51:41 +02:00
Ryan
2312ff4b23
Apply patch for V8 bug 414
...
http://groups.google.com/group/nodejs/browse_thread/thread/25867dba9db11d8
http://code.google.com/p/v8/issues/detail?id=414
http://codereview.chromium.org/159659
2009-08-04 12:05:59 +02:00