koichik
86a67f15a0
docs: add example of tls
13 years ago
koichik
68cc173c6d
tls: The TLS API is inconsistent with the TCP API
Add 'secureConnect' event to tls.CleartextStream.
Fixes #1467 .
13 years ago
Ben Noordhuis
0b92fa0e93
net: fix connect queue bugs
This commit fixes two bugs in the handling of write requests when the connect()
call is still in progress.
1. The deferred write request's size was counted twice towards `.bytesWritten`.
2. The callback was not called. After connecting, `Socket.write()` was called
with three arguments (data, encoding, cb) but it ignored the third argument.
Coincidentally fixes test/simple/test-net-connect-buffer.js.
13 years ago
Ben Noordhuis
6df574b744
net: properly account multi-byte chars in .bytesWritten
13 years ago
Igor Zinkovsky
971c3d90eb
win: remove pthread-win32 init code
13 years ago
Igor Zinkovsky
107b05772a
build: fix windows build
13 years ago
Ben Noordhuis
2f8596ee10
test: fix bug in setproctitle test
Output from `ps` may contain trailing whitespace, trim it.
13 years ago
Ben Noordhuis
4908e5bf7a
v8: implement VirtualMemory class on SunOS
Unbreaks build on SunOS. Un-reverts 9bbca99107
.
13 years ago
isaacs
e6f147141e
doc: Add examples of zlib usage with http
13 years ago
Ben Noordhuis
b6a869ef4f
test: check that EventEmitter.on == EventEmitter.addListener
13 years ago
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
13 years ago
Ben Noordhuis
3108a9ee38
uv: upgrade to 456f831
13 years ago
koichik
19a855382c
tls: requestCert unusable with Firefox and Chrome
Fixes #1516 .
13 years ago
koichik
a09b747f30
child_process.fork: don't modify args
Fixes #1888 .
13 years ago
Ben Noordhuis
e0297ca59b
node: fix use of potentially uninitialized variable
13 years ago
Ben Noordhuis
87b34c94fa
timer_wrap: add sanity check assert
13 years ago
Ben Noordhuis
9193062e70
tcp_wrap: add sanity check asserts
13 years ago
Ben Noordhuis
0dc844de17
node_script: remove unused variable
13 years ago
Ben Noordhuis
dc0b7364b5
node: fix arguments to uv_timer_start()
13 years ago
Ben Noordhuis
f1d3ae7753
cares_wrap: make destructor virtual
A class with virtual methods should have a virtual destructor.
13 years ago
Ryan Dahl
33b5f2f779
Upgrade V8 to 3.7.0
13 years ago
isaacs
59a5262041
Fix #1882 zlib Update 'availOutBefore' value, and test
13 years ago
Guglielmo Ferri
66a10b6e58
docs: add API documentation note about UDP datagram size
13 years ago
Maciej Małecki
683c1c6583
docs: document `process.versions`
13 years ago
Simen Brekken
4b0e36810a
net: register net.Server callback only once
Only register once for listening when passing a callback to Server.listen(),
this prevents servers recycled using close() from invoking the callback when
Server.listen() is called later.
13 years ago
Ben Noordhuis
fab68aa1ed
platform: support long process names on linux
13 years ago
Ben Noordhuis
5faff9ebdf
test: test long process name support
On platforms that support it: linux, freebsd, darwin
13 years ago
koichik
1b55010a04
docs: added .json modules.
13 years ago
Brian White
f243ca199b
docs: mention util instead of sys
13 years ago
Ryan Dahl
3a34972672
Fix test-http-conn-reset.js on OSX
13 years ago
Ilya Dmitrichenko
39987cbc80
docs: improved fs.Stats section in API documentation
13 years ago
Arnout Kazemier
e3d2ae0bfd
sys has been moved to util
13 years ago
Ryan Dahl
e911171e03
Move some slow tests to pummel
13 years ago
Ryan Dahl
7b4370e5f8
Fix test/pummel/test-watch-file.js
13 years ago
Ryan Dahl
651b8a06d6
Fix test/pummel/test-exec.js
13 years ago
Karl Skomski
9557020dc1
New win32 platform function: GetCPUInfo
Fixes #1644
13 years ago
Daniel Ennis
59be975322
Improve IPC performance.
Reading of JSON data off the buffer, 10-15% performance increase.
Fixes #1864 .
13 years ago
Ryan Dahl
73b4b86d29
Add cluster.js to node.gyp
13 years ago
Ryan Dahl
de7fb33879
Add some docs for node cluster
13 years ago
Ryan Dahl
08cb8fce67
Remove process.ARGV
Use process.argv instead.
13 years ago
Ryan Dahl
25ff181300
Revert some changes made in 12486a6
Some of the perf improvements from many-writes-fix branch were accidentally
undone in that commit. This puts them back in.
13 years ago
Ryan Dahl
16e1d5b5ce
Remove uname and git-rev detection from http_simple.js
13 years ago
Ryan Dahl
b8966872b3
Upgrade libuv to c903bc3
13 years ago
Ben Noordhuis
6ed8d41ddd
docs: fix child_process.send() example
13 years ago
Ben Noordhuis
bc96302fae
uv: upgrade to 25a177a
Fixes #1869 .
13 years ago
Ben Noordhuis
c82828ec27
test: add test for #1869
fs.readdir() on file should raise ENOTDIR, not UNKNOWN.
13 years ago
Ben Noordhuis
752571c7ba
Remove --use-legacy switch from --help section.
13 years ago
Ryan Dahl
87339a22b1
introduce node cluster
13 years ago
Igor Zinkovsky
99757cbeb2
fix simple/test-fs-utimes.js on windows
13 years ago
Ryan Dahl
2b46959075
Add throughput benchmark
13 years ago