isaacs
588d885e81
Close #1357 Load json files with require()
Signed off by everybody.
13 years ago
Ben Noordhuis
1b0e054737
url: throw descriptive error if url argument to parse() is not a string
Fixes #568 .
13 years ago
isaacs
ddfc6b78cc
Close #1360 url: Allow _ in hostnames.
13 years ago
isaacs
dcecfc5f1b
Close #1360 url: Allow _ in hostnames.
13 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
13 years ago
Ryan Dahl
061ce7b0ac
net_uv: Fix simple/test-http-expect-continue.js
13 years ago
Ryan Dahl
4ef8f06fe6
Finally remove node::EventEmitter
13 years ago
Ryan Dahl
0a3fc1d9c8
Remove StatWatcher's dep on C++ EventEmitter
13 years ago
isaacs
448eab2587
Close #1349 Delimit NODE_PATH with ; on Windows
13 years ago
Devon Govett
562b469b35
More accurite error messages when writing beyond the length of a Buffer.
Fixes #1336 .
13 years ago
Henry Rawas
f3f3b12364
net_uv: getsockname binding
13 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.
13 years ago
Henry Rawas
3a96469319
connect-timeout callbacks after close
13 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
.
13 years ago
Ryan Dahl
6d8b082eed
net_uv: fix localhost resolution - was defaulting to ::1 on OSX
13 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
13 years ago
Henry Rawas
a13506b48f
net_uv: sockets should be writable during connection
13 years ago
Henry Rawas
8adc6b8921
net_uv: Add maxConnections support
13 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.
13 years ago
Stefan Rusu
901ebed8ff
Fixes #1304 . The Connection instance may be destroyed by abort() when process.nextTick is executed.
13 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
Henry Rawas
fad91d16ea
test-net-reconnect needs socket connect event
14 years ago
koichik
d38fac2230
Fixes #1260
RegExp object is no longer Function.
http://code.google.com/p/v8/issues/detail?id=617
14 years ago
Ryan Dahl
91f1b250ec
mraleph emit hack
14 years ago
Henry Rawas
1018e7d23f
isIP test
14 years ago
Henry Rawas
e81a89b116
fix eaddrinuse bug
14 years ago
Henry Rawas
3c52fd006e
net_uv: fix test-net-eaddrinuse.js
14 years ago
Henry Rawas
b6f6a1ca11
ipv6 node
14 years ago
Ben Noordhuis
b62ecdc5bb
Revert 3e2a2a7
. Always send a HTTP/1.1 status line to the client.
14 years ago
Ben Noordhuis
3e8667d829
Revert 8dc8773
. Always send a HTTP/1.1 status line to the client.
14 years ago
isaacs
87900b14da
url: Don't swallow punycode errors
14 years ago
isaacs
8475e1527d
punycode: Test for integer overflow
14 years ago
Jeremy Selier
2a848fa727
Close #1149 IDNA and Punycode support in url.parse
Using @bnoordhuis's punycode lib.
Close #1174 also
14 years ago
Yoshihiro Kikuchi
82cfdb88fa
fix an broken question.
Fixes #1274 .
14 years ago
Ryan Dahl
d1eba2b18b
Revert "Fixes #1260"
Due to downgrade of V8.
This reverts commit 3e2abd12d3
.
14 years ago
Ryan Dahl
64a06c5ffd
Revert "Error argument for http.ServerRequest 'close'"
Too slow.
This reverts commit e7ac6d8fcd
.
14 years ago
Ryan Dahl
c0d3f1f485
uv: exception.code isntead of exception.errno
14 years ago
Ryan Dahl
ede1acc1ed
Revert "Remove 'connect' event from server side sockets"
Fixes #1276
This reverts commit f0a440d886
.
14 years ago
Ben Noordhuis
f91988979f
Don't send a HTTP/1.1 status line to HTTP/1.0 clients.
Fixes #1234 .
14 years ago
Bert Belder
1037f5c113
Fix bug in timers_uv timeout recomputation
Closes #1209
14 years ago
Ben Noordhuis
8dc87731c7
Don't send a HTTP/1.1 status line to HTTP/1.0 clients.
Fixes #1234 .
14 years ago
Ryan Dahl
24a671a8aa
legacy c-ares binding should use legacy timer
14 years ago
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
14 years ago
Bert Belder
3b16a89b3a
Fix net_uv.isIPv4/6 bug
14 years ago
Adam Luikart
7f30f13543
Update POSIX splitPathRe to allow control chars. Fixes #1230 .
Use [\s\S] instead of . to match any char, including newlines.
14 years ago
Ryan Dahl
38f3bf6610
net_uv: add isIP
Issue #1270 : Doesn't completely pass test/simple/test-net-isip.js yet.
14 years ago