Ben Noordhuis
58a5bc1ec7
doc: fs: clarfify fs.watch() documentation
fs.watch() is implemented on all supported platforms but, depending on the
object being watched, doesn't always work reliably (or at all).
Fixes #4005 .
12 years ago
Ben Noordhuis
4870a4e3da
doc: http: expand request.headers documentation
12 years ago
isaacs
1c2982b94f
Update doc and test for sunos/solaris switch
12 years ago
Nathan Rajlich
dba47aefa5
docs: fix typo in Buffer#toJSON() docs
12 years ago
Nathan Rajlich
a4ef01df07
buffer: implement Buffer.prototype.toJSON()
Returns an Array-representation of the Buffer.
Closes #3905 .
12 years ago
Pooya Karimian
0087bc6370
cluster.worker description and examples ere missing from the top level of docs
12 years ago
Fedor Indutny
8e0c830cd0
tls: async session storage
12 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
12 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 .
12 years ago
isaacs
05282588e0
Buffer.isEncoding(enc)
Re: #3918
12 years ago
Nathan Rajlich
2d0c1da975
docs: fix syntax error in "https" example
12 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 .
12 years ago
Bert Belder
99ad52ecbe
doc: remote the "recommended modules" section
12 years ago
Ron Korving
2e1f2b535e
doc: fix typo in cluster example code
12 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 .
12 years ago
Ben Noordhuis
7c75ca7182
doc: cluster: setupMaster() can be called only once
12 years ago
Ben Noordhuis
de32b38992
addon: remove node-waf, superseded by node-gyp
12 years ago
Kyle Robinson Young
4ef808ec0a
doc: remove unused util from child_process
12 years ago
Timothy J Fontaine
382f22f229
timers: implement setImmediate
12 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 .
12 years ago
isaacs
168a555780
fs: fix naming of truncate/ftruncate functions
For backwards compatibility, fs.truncate(<number>) will proxy to
fs.ftruncate.
Fix #3805
12 years ago
isaacs
0414e14702
doc: util.pump is deprecated. Use Stream.pipe
Conflicts:
doc/api/util.markdown
12 years ago
Kyle Robinson Young
bc7479d232
doc: fix typos in child_process
12 years ago
isaacs
4ff56aa15e
doc: util.pump is deprecated. Use Stream.pipe
12 years ago
Ben Noordhuis
3219616f43
util: mark util.pump() as deprecated
12 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
12 years ago
Ben Noordhuis
9315377693
doc: improve cluster.workers documentation
12 years ago
Eugen Dueck
af699c47d1
doc: http: document res.write() `drain` return value
12 years ago
Bert Belder
9e2319f977
docs: remove unused require from example
Closes GH-3801
12 years ago
Ben Noordhuis
2eb6a62f4f
doc: document child_process.fork() limitation
12 years ago
isaacs
f8dab6acb6
doc: Remove timeout arg in child_process.fork
Fix #3784
12 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
12 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 .
12 years ago
Timothy J Fontaine
bdd1a740cb
add docs for socket/server/timer unref and ref
12 years ago
koichik
bc30c90af6
doc: remove duplicate section
Fixes #3750 .
12 years ago
Ben Noordhuis
e8af340557
doc: advise *strongly* against uncaughtException
12 years ago
isaacs
a52a44e072
doc: nextTick semantics and justification
12 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.
12 years ago
Mike Morearty
19aa05fab8
doc: fix bug in child_process.spawn() sample code
12 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 .
12 years ago
isaacs
559a98f0d7
doc: Formatting and grammar on stream api doc
12 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