koichik
d3d8f1b972
Add %% escape to util.format()
Fixes #1273 .
14 years ago
Ben Noordhuis
874260b40f
util: add sprintf-like format() function
Fixes #1407 .
14 years ago
Fedor Indutny
9010f5fbab
Add support for TLS SNI
Fixes #1411
14 years ago
Robert Mustacchi
de0b8d601c
jslint cleanup: path.js, readline.js, repl.js, tls.js, tty_win32.js, url.js
14 years ago
isaacs
703a1ffe52
Revert "AMD compatibility for node"
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
14 years ago
koichik
bffb758243
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
14 years ago
koichik
62aaf56d1b
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
14 years ago
Ryan Dahl
8527f00c3c
Lazy load a few modules
14 years ago
Igor Zinkovsky
187fe27a6e
stdio binding + javascript to enable process.stdin.listen()
14 years ago
Ben Noordhuis
2ed23314c3
http: make http and http2 co-exist
http2 is currently disabled pending addition of a --use-http2 switch
14 years ago
Mikeal Rogers
2b929c7f19
http: http2 implementation
14 years ago
Felix Geisendörfer
09ee29318f
Emit 'close' after all connections have closed
Fixes #1383
14 years ago
Alexander Uvarov
14b75a126f
Add Socket::bytesRead, Socket::bytesWritten
14 years ago
isaacs
c050d0fa19
Finish removing require.paths
Fix require() completion bug in repl, and correct man output
14 years ago
koichik
50e147bd03
Add an optional length argument to Buffer.write()
Fixes #243 .
Fixes #1361 .
14 years ago
Daniel Pihlström
fa829b0fd3
convert nonbuffer data to string in fs.writeFile/Sync
Fixes #657 .
14 years ago
Ryan Dahl
daead5f5bb
win: fix simple/test-tls-client-abort.js
14 years ago
Ryan Dahl
8eb1edc8ea
net_uv: Fix test-net-server-bind
14 years ago
Ben Noordhuis
984dc057e3
net_uv: throw if Server.prototype.close() is called twice
Follows net_legacy behaviour.
14 years ago
Ben Noordhuis
8ddb334c2a
net_uv: emit 'close' event in Server.prototype.close()
14 years ago
Ben Noordhuis
07bcdc2f51
net_uv: release uv handle in Socket.prototype.destroy()
14 years ago
Ben Noordhuis
59b04427d3
net_uv: defer handle creation to connect() or bind() time
Fixes #1379 .
14 years ago
Trent Mick
a8f96d3314
http: fix setting ServerResponse.statusCode in writeHead
Fixes #1374 .
14 years ago
Yoshihiro Kikuchi
3c4c36068e
fs: added an argument check in fs.watchFile
Fixes #1324 .
14 years ago
Ben Noordhuis
37cbc355d5
net: add bindings to libuv pipe API
14 years ago
isaacs
588d885e81
Close #1357 Load json files with require()
Signed off by everybody.
14 years ago
Ben Noordhuis
1b0e054737
url: throw descriptive error if url argument to parse() is not a string
Fixes #568 .
14 years ago
isaacs
ddfc6b78cc
Close #1360 url: Allow _ in hostnames.
14 years ago
isaacs
dcecfc5f1b
Close #1360 url: Allow _ in hostnames.
14 years ago
Reid Burke
973153d1cc
Properly respond to HEAD during end(body) hot path
During write(), _hasBody is checked to make sure a body
is allowed -- this is now also checked during end(body)
when write() isn't used.
Concise final chunk for HEAD req's res.end(data).
Instead of simply clearing data, check _hasBody
earlier to avoid sending cruft when chunkedEncoding
is used.
Fixes #1291 .
14 years ago
Ryan Dahl
62f7c7961d
Upgrade libuv to d4563a1
14 years ago
Ryan Dahl
061ce7b0ac
net_uv: Fix simple/test-http-expect-continue.js
14 years ago
Ryan Dahl
4ef8f06fe6
Finally remove node::EventEmitter
14 years ago
Ryan Dahl
0a3fc1d9c8
Remove StatWatcher's dep on C++ EventEmitter
14 years ago
isaacs
448eab2587
Close #1349 Delimit NODE_PATH with ; on Windows
14 years ago
Devon Govett
562b469b35
More accurite error messages when writing beyond the length of a Buffer.
Fixes #1336 .
14 years ago
Henry Rawas
f3f3b12364
net_uv: getsockname binding
14 years ago
isaacs
7f0047c2d5
Close #1348 Remove require.paths
Module.globalPaths is still set to a read-only copy of the global
include paths pulled off of the NODE_PATH environment variable.
It's important to be able to inspect this, but modifying it no longer
has any effect.
14 years ago
Henry Rawas
3a96469319
connect-timeout callbacks after close
14 years ago
Henry Rawas
e70702c620
connect-buffer play back queued write and end
14 years ago
Ryan Dahl
b5e7b7870a
Revert "net_uv: fix localhost resolution - was defaulting to ::1 on OSX"
Breaks test/internet/test-dns.js
This reverts commit 6d8b082eed
.
14 years ago
Ryan Dahl
6d8b082eed
net_uv: fix localhost resolution - was defaulting to ::1 on OSX
14 years ago
Elijah Insua
b722aaa8c5
Close #1303 Stream.pipe returns the destination
Squashed:
* Simple change to make Stream.pipe(destination) return the destination Stream
* Test: ensure Stream.pipe(destination) returns the destination Stream
* updated Stream.pipe() documentation to reflect that it now returns the
destination stream
14 years ago
isaacs
9b5098f509
Close #1281 Make require a public member of module
Reviewed by @felixge
14 years ago
Henry Rawas
a13506b48f
net_uv: sockets should be writable during connection
14 years ago
Henry Rawas
8adc6b8921
net_uv: Add maxConnections support
14 years ago
Stefan Rusu
5b02d564c3
Fixes #1085 . The agent end event may call detachSocket() after the socket is detached and destroyed by abort(). This patch avoids that behavior.
14 years ago
Stefan Rusu
901ebed8ff
Fixes #1304 . The Connection instance may be destroyed by abort() when process.nextTick is executed.
14 years ago
koichik
5f97c9a005
Improvements AssertionError message
Fixes #217 .
14 years ago
Henry Rawas
92057554d5
fix socket-timeout. Also fix makefile test list name net-stream
14 years ago