Ben Noordhuis
d7c45ea7d0
deps: upgrade libuv to 47b2cd3
12 years ago
Nathan Rajlich
4eb5399bb2
util: add a "customInspect" option to `util.inspect()`
For disabling calling the custom `inspect()` function when defined on an object
that is being inspected.
12 years ago
Ben Noordhuis
e3ee289cca
Update AUTHORS and .mailmap
12 years ago
Nathan Rajlich
07774e6b95
util: make `inspect()` accept an "options" argument
Consolidates all the formatting options into an "options" object argument.
This is so that we don't have to be constantly remembering the order of
the arguments and so that we can add more formatting options easily.
Closes #4085 .
12 years ago
Ben Noordhuis
5823290390
deps: upgrade libuv to cb03e3b
12 years ago
Ben Noordhuis
0ad005852c
https: fix renegotation attack protection
Listen for the 'clientError' event that is emitted when a renegotation attack
is detected and close the connection.
Fixes test/pummel/test-https-ci-reneg-attack.js
12 years ago
Ben Noordhuis
7394e89ff6
tls: remove dead code
Remove dead code. Forgotten in 76ddf06
.
12 years ago
Aaditya Bhatia
c668185add
cluster: make 'listening' handler see actual port
Make the 'listening' event handler in the master process see the actual port
that the worker bound to when the worker specified port 0, i.e. a random port.
12 years ago
Ricky Ng-Adam
8bd4590a31
buffer: include encoding value in exception when invalid
Encoding failures can be somewhat confusing, especially when they are due to
control flow frameworks auto-filling parameters from the previous step output
values to functions (such as toString and write) that developers don't expect
to take an encoding parameter. By outputting the value as part of the message,
should make it easier to track down these sort of bugs.
12 years ago
Bert Belder
5288ed75be
windows: use USERPROFILE to get the user's home dir
Fixes #3461
Close #3462
Close #4093
12 years ago
Ben Noordhuis
76ddf06f10
tls: don't use a timer to track renegotiations
It makes tls.createSecurePair(null, true) hang until the timer expires.
Using a timer here is silly. Use a timestamp instead.
12 years ago
Ben Noordhuis
16a9dac8ea
deps: upgrade libuv to 40134c3
12 years ago
Ben Noordhuis
da1f48328c
test: write to temp dir, not fixtures dir
12 years ago
Nathan Rajlich
7611c7cd25
repl: dynamically lookup the require extensions for tab complete
Removes 2 TODO items
12 years ago
Ben Noordhuis
621caa7bc5
Update LICENSE file.
12 years ago
Ben Noordhuis
ee77a6a953
deps: upgrade libuv to b9ed1a6
12 years ago
isaacs
836a06fc4f
Revert "http: make http.ServerResponse emit 'end'"
This reverts commit 790d651f0d
.
This makes Duplex streams unworkable, and would only ever be a special
case for HTTP responses, which is not ideal.
Intead, we're going to just bless the 'finish' event for all Writable
streams in 0.10
12 years ago
koichik
016afe21ae
streams: fix pipe is destructed by 'end' from destination
13 years ago
Ben Noordhuis
109f8e2773
node_http_parser: fix whitespace errors
12 years ago
Paul Serby
41e53e5579
path: add platform specific path delimiter
Closes #3728
Closes #4071
12 years ago
isaacs
3053f4d27d
test: Fix stdin message tests
12 years ago
isaacs
5a0056703a
test: Fix simple/test-http-client-timeout-agent
Merge breakage.
12 years ago
isaacs
ae40f1c438
Merge remote-tracking branch 'ry/v0.8' into v0.8-merge
Conflicts:
AUTHORS
ChangeLog
deps/openssl/openssl.gyp
deps/uv/src/unix/linux/linux-core.c
deps/uv/src/unix/process.c
deps/uv/src/unix/stream.c
deps/v8/src/arm/builtins-arm.cc
deps/v8/src/arm/code-stubs-arm.cc
deps/v8/src/arm/full-codegen-arm.cc
lib/tls.js
src/node_version.h
test/simple/test-http-client-timeout-agent.js
12 years ago
Fedor Indutny
d68c02e3fe
debugger: test repeating last command
* debugger: Add NODE_FORCE_READLINE environment variable, handle
`SIGINT`'s sent to process while in this mode.
12 years ago
Alex Kocharin
8ac1a73635
Fixed a bug with last command repeating in debugger
13 years ago
Pavel Lang
b38277be26
http: add response.headersSent property
Boolean property getter. True if headers was sent, false otherwise.
12 years ago
thewilli
33a5c8a814
http: handle multiple Proxy-Authenticate values
Just as the 'WWW-Authenticate' HTTP header the 'Proxy-Authenticate' header might
be received several times as well. Currently only one value is preserved. This
change allows to receive multiple values concatenated by space and comma.
12 years ago
isaacs
c08320c957
doc: Make the CLA more simple/sane
1. Emails should go to @isaacs , not emily.
2. Ask for the electronic signature first, not the printed faxed thing.
12 years ago
isaacs
dcc01df968
blog: Post about 0.8.11
12 years ago
isaacs
9877b8f414
Now working on 0.8.12
12 years ago
isaacs
a9429052c2
Merge branch 'v0.8.11-release' into v0.8
12 years ago
isaacs
e1f39468fa
2012.09.27, Version 0.8.11 (Stable)
* fs: Fix stat() size reporting for large files (Ben Noordhuis)
12 years ago
thewilli
ac17dc1764
http: handle multiple Proxy-Authenticate values
Just as the 'WWW-Authenticate' HTTP header the 'Proxy-Authenticate' header might
be received several times as well. Currently only one value is preserved. This
change allows to receive multiple values concatenated by space and comma.
12 years ago
Bert Belder
b5db5fc9dc
test: pick another CNAME record to test dns queries
Google.com no longer has a CNAME record.
12 years ago
Ben Noordhuis
ec03c47c19
fs: fix stat() reporting for large files
Use Number::New(), not Integer::New(). Large values won't fit in an Integer.
Apply to the size, ino and blocks fields.
12 years ago
isaacs
8ca44f9928
blog: Post about v0.8.10
12 years ago
isaacs
37869f1c9a
Now working on 0.8.11
12 years ago
isaacs
02897bd8de
Merge branch 'v0.8.10-release' into v0.8
12 years ago
isaacs
0bc273da4f
2012.09.25, Version 0.8.10 (Stable)
* npm: Upgrade to 1.1.62
* repl: make invalid RegExps throw in the REPL (Nathan Rajlich)
* v8: loosen artificial mmap constraint (Bryan Cantrill)
* process: fix setuid() and setgid() error reporting (Ben Noordhuis)
* domain: Properly exit() on domain disposal (isaacs)
* fs: fix watchFile() missing deletion events (Ben Noordhuis)
* fs: fix assert in fs.watch() (Ben Noordhuis)
* fs: don't segfault on deeply recursive stat() (Ben Noordhuis)
* http: Remove timeout handler when data arrives (Frédéric Germain)
* http: make the client "res" object gets the same domain as "req" (Nathan Rajlich)
* windows: don't blow up when an invalid FD is used (Bert Belder)
* unix: map EDQUOT to UV_ENOSPC (Charlie McConnell)
* linux: improve /proc/cpuinfo parser (Ben Noordhuis)
* win/tty: reset background brightness when color is set to default (Bert Belder)
* unix: put child process stdio fds in blocking mode (Ben Noordhuis)
* unix: fix EMFILE busy loop (Ben Noordhuis)
* sunos: don't set TCP_KEEPALIVE (Ben Noordhuis)
* tls: Use slab allocator for memory management (Fedor Indutny)
* openssl: Use optimized assembly code for x86 and x64 (Bert Belder)
12 years ago
Bert Belder
d05d6a35b6
openssl: fix compilation issues on SmartOS x64
the SunOS linker is more strict than usual, so we have to be more
correct.
12 years ago
isaacs
ea2ceb731c
test: Fix premature close in test-http-client-timeout-agent
12 years ago
isaacs
411d46087f
tls: lint
cc @indutny >_<
12 years ago
isaacs
2a9a5e2318
domain: Remove stray console.log
12 years ago
Bert Belder
e0e9f0c15a
openssl: use optimized asm code on x86 and x64
12 years ago
Bert Belder
823e807b5b
openssl: add generated asm code
12 years ago
Bert Belder
62c3879cfa
openssl: add 'clean' target to asm Makefile
12 years ago
Ben Noordhuis
202ecbc9c7
openssl: generate asm code with a Makefile
12 years ago
Bert Belder
66638a4435
openssl: disable HT sidechannel attack mitigation
It used to be off before. It's extremely unlikely that such an attack
would be a viable attack against node. And it makes AES much slower.
12 years ago
Bert Belder
d2fb507556
openssl: revert empty_OPENSSL_cpuid_setup.patch
12 years ago
Bert Belder
09ac9d0b2c
openssl: fix perlasm issue
When perlasm generates MASM code it sets the assembler target to 468.
In this mode MASM refuses to assemble the CPUID instruction. Bumping
the target to 586 solves this problem.
12 years ago