Dan VerWeire
f2b1f57f74
dgram: reintroduce setMulticastTTL()
Removed during the early stages of node 0.5 refactoring to libuv.
13 years ago
Dan VerWeire
f749338e1e
dgram: reintroduce setBroadcast()
Removed during the early stages of node 0.5 refactoring to libuv.
13 years ago
Roman Shtylman
a38fd6056c
dgram: reintroduce addMembership() and dropMembership()
Removed during the early stages of node 0.5 refactoring to libuv.
13 years ago
koichik
35fe3eb5c7
http: reduce creating http-parser instances
Fixes #2577 .
13 years ago
Nicolas LaCasse
40c93486e8
Fix #2365 zlib crashing on invalid input
Fix zlib crashes on error due to improper use of removeListener
in the error handler
13 years ago
Andreas Madsen
f9a47debfc
Add cluster.setupMaster
Fixes #2470
13 years ago
Brandon Benvie
f7b612550a
Add missing TTY key translations for F1-F5 on Windows
13 years ago
Bert Belder
d489a01f81
Make path.extname do the right thing when the last path component is . or ..
Closes GH-2526
13 years ago
Ben Noordhuis
d44ce97909
cluster: don't always kill the master on uncaughtException
uncaughtException handlers installed by the user override the default one that
the cluster module installs, the one that kills off the master process.
Fixes #2556 .
13 years ago
Andreas Madsen
70884875c9
Allow calling fork() without args or options
Closes GH-2424
13 years ago
Andreas Madsen
ca6ededbd1
child_process: add errno property to exceptions
In case of a write failure when using fork() an error would be thrown. The
thrown exception was missing the `errno` property.
13 years ago
koichik
534df2f8d2
tls: fix double 'error' events on HTTPS Requests
Fixes #2549 .
13 years ago
Maciej Małecki
d5047f5fe6
http: use `util._deprecationWarning` for deprecation warning
13 years ago
Fedor Indutny
03e689fae4
Revert "util: always display a warning for module in debug mode"
This reverts commit df62005ece
.
13 years ago
Maciej Małecki
df62005ece
util: always display a warning for module in debug mode
13 years ago
Fedor Indutny
23de33968f
querystring: fix maxKeys = 0 is ignored
13 years ago
Fedor Indutny
f1678bfc65
http: do not accept headers if limit is exceeded
* fix limiting when parser was reused
* fix maxHeadersCount = 0 is ignored ( credit to @koichik )
* add test-http-max-headers-count.js ( credit to @koichik )
13 years ago
Fedor Indutny
8a98c2f1d8
http, querystring: added limits to prevent DoS
13 years ago
Ben Noordhuis
f0c1376e07
net: make .write() throw on bad input
Passing a non-buffer or non-string argument to Socket.prototype.write triggered
an assert:
Assertion failed: (Buffer::HasInstance(args[0])), function Write,
file ../src/stream_wrap.cc, line 289.
Fixes #2532 .
13 years ago
koichik
7dffbaf2ce
http: Upgrade/CONNECT request should detach its socket earlier
With Upgrade or CONNECT request, http.ClientRequest emits 'close' event
after its socket is closed. However, after receiving a response, the socket
is not under management by the request.
http.ClientRequest should detach the socket before 'upgrade'/'connect'
event is emitted to pass the socket to a user. After that, it should
emit 'close' event immediately without waiting for closing of the socket.
Fixes #2510 .
13 years ago
Fedor Indutny
71ae175319
zlib: reset() method for deflate/inflate streams
* ammended test-zlib-dictionary to cover reusing streams
13 years ago
Mathias Bynens
8abb73ef58
punycode: Update to v0.3.0
13 years ago
Andreas Madsen
c8108aad83
child_process: fix typo in internal message event name
13 years ago
Maciej Małecki
4d49469d0d
child_process: fix typo in internal message event name
13 years ago
Fedor Indutny
6b2091b58a
debug threads
13 years ago
Ryan Dahl
b28e700ebd
require('sys') now throws
To be removed in v0.9
13 years ago
Ryunosuke SATO
22d7fe1206
events: fix checking max listeners with `1`
Fixes #2490 .
13 years ago
koichik
08a91acd76
http: better support for CONNECT method.
Introduces 'connect' event on both client (http.ClientRequest) and
server (http.Server).
Refs: #2259 , #2474 .
Fixes #1576 .
13 years ago
koichik
c1a63a9e90
tls: Allow establishing secure connection on the existing socket
This is necessary to use SSL over HTTP tunnels.
Refs #2259 , #2474 .
Fixes #2489 .
13 years ago
koichik
70033bd960
net: make connect() accept options
This makes API even with tls.connect().
Refs #1983 .
See also:
http://groups.google.com/group/nodejs-dev/msg/3b6dbcc4a9a82d99
Fixes #2487 .
13 years ago
Maciej Małecki
df0edf5fe6
https: make `https` use new `tls.connect` API
Refs #1983 .
13 years ago
Maciej Małecki
4b4d059791
tls: make `tls.connect` accept port and host in `options`
Previous API used form:
tls.connect(443, "google.com", options, ...)
now it's replaced with:
tls.connect({port: 443, host: "google.com", ...}, ...)
It simplifies argument parsing in `tls.connect` and makes the API
consistent with other parts.
Fixes #1983 .
13 years ago
koichik
dd9593ccc4
http: fix ServerResponse does not emit 'close'
Refs #2453 .
13 years ago
Ben Noordhuis
42281124d4
child_process: add isolates support
Passing an options object with {thread:true} to .fork() or .spawn() will run the
target script in a thread instead of a separate process.
13 years ago
Emerson Macedo
aa67b1f375
fs: add appendFile() and appendFileSync() functions
13 years ago
koichik
baebd30eee
http: use `self` insted of `this`
13 years ago
Andreas Madsen
e2f1e50c60
typos
fixes #2465
13 years ago
Andreas Madsen
5f08c3cfa1
cluster improvements: Worker class and isolate internal messages
Fixes #2388
13 years ago
isaacs
8e57398b20
Fix #2034 repl message for .clear when useGlobal=true
13 years ago
Ben Noordhuis
c24276f008
net: defer net.Server 'close' event to next tick
13 years ago
Damon Oehlman
744ed46970
repl: fix repl.start not passing the `ignoreUndefined` arg to the REPLServer constructor
13 years ago
Ryan Dahl
4428b70cba
Add isolate version of test-child-process-fork
13 years ago
koichik
a848a3efbf
net: fix Socket.pause null reference when called on a closed Stream
Fixes #1980 .
13 years ago
Ryan Dahl
b319699132
Add isolate version of test-child-process-fork
13 years ago
koichik
a337ac7584
http: fix XMLHttpRequest piped in a writable file stream hangs next request
Fixes #2263 .
13 years ago
koichik
b962ff35dd
tls: fix test-https-client-reject fails
Fixes #2417 .
13 years ago
koichik
e6b6075024
http: Avoid 'data'/'end' events after pause()
Fixes #1040 .
13 years ago
koichik
7aa5924dc6
http: fix resource leak
Fixes #2069
13 years ago
Ryan Dahl
48a9a2d355
Add deprecation message for http.Client
13 years ago
Phil Sung
cf2513e1aa
buffer: don't pollute global namespace in buffer.readInt*
13 years ago