Fedor Indutny
8e0c830cd0
tls: async session storage
13 years ago
Ben Noordhuis
790d651f0d
http: make http.ServerResponse emit 'end'
This used to be the internal 'finish' event. Make it public so API users will
know when the response has been sent completely.
Fixes #3855 .
12 years ago
Atsuya Takagi
9f57e422cf
doc: fix typo in api/cluster
12 years ago
Ankur Oberoi
a57d31595d
doc: fix grammar errors
13 years ago
Ben Noordhuis
e4cef1a083
doc: update assert.doesNotThrow() docs
It takes an optional "expected exception" argument that is not used meaningfully
but is nevertheless documented. Undocument it, it confuses casual readers of the
documentation.
Fixes #3935 .
13 years ago
isaacs
05282588e0
Buffer.isEncoding(enc)
Re: #3918
13 years ago
Nathan Rajlich
2d0c1da975
docs: fix syntax error in "https" example
13 years ago
koichik
752ac320ae
https: make https.get() accept a URL
https.get() now accepts either a URL (as a string) or an options object.
Refs #2859 .
Fixes #3882 .
13 years ago
Bert Belder
99ad52ecbe
doc: remote the "recommended modules" section
13 years ago
Ron Korving
2e1f2b535e
doc: fix typo in cluster example code
13 years ago
Ben Noordhuis
badbd1af27
tls: update default cipher list
Update the default cipher list from RC4-SHA:AES128-SHA:AES256-SHA
to ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
in order to mitigate BEAST attacks.
The documentation suggested AES256-SHA but unfortunately that's a CBC cipher
and therefore susceptible to attacks.
Fixes #3900 .
13 years ago
Ben Noordhuis
7c75ca7182
doc: cluster: setupMaster() can be called only once
13 years ago
Ben Noordhuis
de32b38992
addon: remove node-waf, superseded by node-gyp
13 years ago
Kyle Robinson Young
4ef808ec0a
doc: remove unused util from child_process
13 years ago
Timothy J Fontaine
382f22f229
timers: implement setImmediate
13 years ago
Ben Noordhuis
4c150ca0d0
net: fix listen() regression, revert patches
This commit reverts the following commits (in reverse chronological order):
74d076c
errnoException must be done immediately
ddb02b9
net: support Server.listen(Pipe)
085a098
cluster: do not use internal server API
d138875
net: lazy listen on handler
Commit d138875
introduced a backwards incompatible change that broke the
simple/test-net-socket-timeout and simple/test-net-lazy-listen tests - it
defers listening on the target port until the `net.Server` instance has at
least one 'connection' event listener.
The other patches had to be reverted in order to revert d138875
.
Fixes #3832 .
13 years ago
isaacs
168a555780
fs: fix naming of truncate/ftruncate functions
For backwards compatibility, fs.truncate(<number>) will proxy to
fs.ftruncate.
Fix #3805
13 years ago
isaacs
0414e14702
doc: util.pump is deprecated. Use Stream.pipe
Conflicts:
doc/api/util.markdown
13 years ago
Kyle Robinson Young
bc7479d232
doc: fix typos in child_process
13 years ago
isaacs
4ff56aa15e
doc: util.pump is deprecated. Use Stream.pipe
13 years ago
Ben Noordhuis
3219616f43
util: mark util.pump() as deprecated
13 years ago
Andreas Madsen
d13887512e
net: lazy listen on handler
This allow the server to be shared without the need to handle connection
from master
13 years ago
Ben Noordhuis
9315377693
doc: improve cluster.workers documentation
13 years ago
Eugen Dueck
af699c47d1
doc: http: document res.write() `drain` return value
13 years ago
Bert Belder
9e2319f977
docs: remove unused require from example
Closes GH-3801
13 years ago
Ben Noordhuis
2eb6a62f4f
doc: document child_process.fork() limitation
13 years ago
isaacs
f8dab6acb6
doc: Remove timeout arg in child_process.fork
Fix #3784
13 years ago
Shigeki Ohtsu
5b37da2ac0
doc: fix domains example
Need `utf8` encoding for JSON.parse and fix to avoid JSON.parse error when only
one argument is passed in domain.bind
13 years ago
Joe Andaverde
20e12e4be3
events: make .listeners() return a copy
Make EventEmitter.listeners(event) return a copy of the listeners array instead
of the array itself.
Fixes #3442 .
13 years ago
Timothy J Fontaine
bdd1a740cb
add docs for socket/server/timer unref and ref
13 years ago
koichik
bc30c90af6
doc: remove duplicate section
Fixes #3750 .
13 years ago
Ben Noordhuis
e8af340557
doc: advise *strongly* against uncaughtException
13 years ago
isaacs
a52a44e072
doc: nextTick semantics and justification
13 years ago
Pavel Lang
ff14007573
Enable color customization of `util.inspect`
This is rewrite of #3701 and #3603 before.
This patch introduce `util.inspect.styles`
and `util.inspect.colors` objects, which enables customization
of color sequences.
13 years ago
Mike Morearty
19aa05fab8
doc: fix bug in child_process.spawn() sample code
13 years ago
Ivan Torres
8146f2e607
doc: clarify fs.symlink and fs.symlinkSync parameters
13 years ago
Justin Plock
fba1e48fae
doc: cluster: worker.pid is now worker.process.pid
13 years ago
Ben Noordhuis
5b5362aa8d
fs: make unwatchFile() remove a specific listener
Before this commit, `fs.unwatchFile(path)` removed *all* listeners for `path`.
The function is overloaded now: `fs.unwatchFile(path)` still removes all
listeners, but `fs.unwatchFile(path, cb)` lets you remove a specific listener.
Fixes #3660 .
13 years ago
isaacs
559a98f0d7
doc: Formatting and grammar on stream api doc
13 years ago
Dominic Tarr
7accaeb490
correct documentation of Stream#destroy
13 years ago
Ben Noordhuis
b53cd9798f
doc: document setTimeout / setInterval behavior
13 years ago
Ben Noordhuis
b9abb64fbb
doc: fs.lchmod() is only available on OS X
13 years ago
Ben Noordhuis
be3afd0bec
doc: remove references to deprecated fs api
The string-based versions of fs.read() and fs.write() have been deprecated
since before v0.2.0.
13 years ago
Andreas Madsen
401ff10295
doc: `detached` is a boolean
13 years ago
Andreas Madsen
3d51646c4b
doc: replace references to cluster.autoFork
13 years ago
koichik
d7825b3c1d
docs: add punycode to TOC
Refs #3301 .
13 years ago
Ben Noordhuis
8708bb0280
doc: update fs.watchFile() docs
13 years ago
Ryan Dahl
fe464a2fea
Rename GYP variable node_use_system_openssl to be consistent
13 years ago
Bert Belder
3795d77113
windows: `listen(pipe_name)` is not supported when running cluster
- Added a note to the cluster module documentation.
- Disabled test-cluster-http-pipe.
13 years ago
isaacs
f105f2f2fd
trivial: Doc typo and lint fix
13 years ago