Ryan
82cb1b5acb
API: Remove buffered file object (node.File)
With the addition of non-libeio stdio (17c6a67f15
)
this class is no longer being used internally. It has proved buggy and isn't
full-featured enough to be very useful. Since it's implemented entirely in
javascript it will be easy for someone to extra into their own library if
needed.
15 years ago
Ryan
17c6a67f15
Introduce node.stdio
Remove old stdout, stderr, stdin objects.
15 years ago
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
15 years ago
Ryan
9c97b1db30
bump version
15 years ago
Ryan
a73998d6f4
bump version
15 years ago
Ryan
90ac9ab078
Remove connnection.fullClose() from documentation.
This function was removed in 368ea93bfe
.
15 years ago
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.
15 years ago
Ryan
95f9209966
Clarify some of the TCP API documentation.
15 years ago
Ryan
0f888ed6de
bump version
15 years ago
Ryan
0638a3a3ab
Add IncomingMessage.prototype.pause() and resume().
15 years ago
Ryan
94e8721771
Add connection.readPause() and connection.readResume()
15 years ago
Ryan
7464d42310
bump version
15 years ago
Ryan
e10fbab00f
bump version
15 years ago
Ryan
c745383b31
Add examples of reading a file to documentation.
15 years ago
Ryan
5373c6869a
node.tcp.Server's backlog option is now an argument to listen()
15 years ago
Ryan
4db8bb9375
Simplify the DNS usage example.
15 years ago
Ryan
41d89f611f
Add DNS API.
Missing functional tests. I'm not sure how to do tests because I don't want
to rely on the fact that users have an internet connection.
16 years ago
Ryan
77d407df28
bump version
16 years ago
Ryan
b1588e78d9
Fix utf8 scripts, add test. Thanks Urban.
16 years ago
Ryan
f99fbc61e1
Add 'close' event to tcp.Server
16 years ago
Ryan
996d5ef5f1
Add res.client to ClientResponse
16 years ago
Ryan
813b53938b
bump version
16 years ago
Ryan
7879e7fd25
small cleanups
16 years ago
Ryan
8047b912c0
Change 'new node.tcp.Connection' to 'node.tcp.createConnection'
16 years ago
Ryan
d56552dc66
Remove node.Process constructor from API
16 years ago
Ryan
a3d77ee4e7
Add new documentation (using asciidoc!)
16 years ago