isaacs
1930772693
Move test-fs-largefile into pummel
It's too slow.
13 years ago
Ben Noordhuis
11770bf5e2
test: move pummel/test-tls-fragmentation to benchmark/
Said test takes over 90 seconds on my Core 2 Duo which is too long, even for
the pummel tests.
13 years ago
Yosef Dinerstein
d7c96cf289
tls: reduce memory overhead, reuse buffer
Instead of allocating a new 64KB buffer each time when checking if there is
something to transform, continue to use the same buffer. Once the buffer is
exhausted, allocate a new buffer. This solves the problem of huge allocations
when small fragments of data are processed, but will also continue to work
well with big pieces of data.
13 years ago
Ben Noordhuis
daa6b95b08
test: move simple/test-crypto-dh to pummel/
The test is too slow / CPU intensive for the main test harness.
13 years ago
Ben Noordhuis
8c02f9b7c8
buffer: throw from constructor if length > kMaxLength
Throw, don't abort. `new Buffer(0x3fffffff + 1)` used to bring down the process
with the following error message:
FATAL ERROR: v8::Object::SetIndexedPropertiesToExternalArrayData() length
exceeds max acceptable value
Fixes #2280 .
13 years ago
Nathan Rajlich
07c886f944
process: add `process.hrtime()`
This commit adds a high-resolution timer function.
13 years ago
Igor Zinkovsky
61be6844aa
disable fs.watchFile tests on windows
13 years ago
Ben Noordhuis
7f4aba91d3
test: include common.js in all tests
13 years ago
isaacs
0cdf85e28d
Lint all the JavaScripts.
13 years ago
Ben Noordhuis
3415427dbf
tls: mitigate session renegotiation attacks
The TLS protocol allows (and sometimes requires) clients to renegotiate the
session. However, renegotiation requires a disproportional amount of server-side
resources, particularly CPU time, which makes it a potential vector for
denial-of-service attacks.
To mitigate this issue, we keep track of and limit the number of renegotiation
requests over time, emitting an error if the threshold is exceeded.
13 years ago
Ben Noordhuis
81d18398a8
test: add --debug-brk regression test
13 years ago
Andreas Madsen
4865063924
Tests: fix jslint issues
13 years ago
Ben Noordhuis
fd29448be0
test: add missing copyright headers
13 years ago
Bert Belder
b480cfaf34
Make the pummel test runner not crash on windows when a directory is locked
13 years ago
Ryan Dahl
4a8088a603
Socket.write should reset timeout timer.
Fixes #2002 .
13 years ago
Ryan Dahl
850609ea2d
Remove separation of libuv tests
13 years ago
Igor Zinkovsky
cc92234068
fix pummel/test-net-throttle on windows
13 years ago
Maciej Małecki
fc61134b1a
doc: fix links
Changes:
* 'http://github.com ' => 'https://github.com '
* 'https://github.com/ry/node ' => 'https://github.com/joyent/node '
* 'https://github.com/ry/http-parser ' =>
'https://github.com/joyent/http-parser '
* old issue links
* wiki link
13 years ago
Igor Zinkovsky
6d7aa65399
fix pummel/test-child-process-spawn-loop.js on windows
13 years ago
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
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
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ryan Dahl
007ddcd2cd
Move test-net-write-callbacks to pummel
Runs in 3 seconds.
13 years ago
Ryan Dahl
49806864e4
Add test from v0.4 dea49e3
Note this test completes in 3 seconds on v0.4 and 7 minutes on master. NOT
GOOD.
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
14 years ago
koichik
8293bb8a32
test: refactored http test.
Many http tests had used legacy http.Client.
This refactored it to use modern API.
Fixes #1528 .
14 years ago
Mikeal Rogers
48dcb905f6
Update tests for http2.
14 years ago
Ryan Dahl
9c77169112
make test-process-uptime fail less often
14 years ago
Ryan Dahl
4d22405f0f
TimerWrap: mimic libev ref count semantics
14 years ago
Ryan Dahl
9d1bad8960
Implement new wrap for uv timer
14 years ago
Jorge Chamorro Bieling
e7604b1ea7
Retain buffers in fs.read/write()
Closes GH-814.
Closes GH-827.
14 years ago
Ryan Dahl
3c0dd8196a
Fix test-process-uptime.js test
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Ryan Dahl
1f50d711b2
Fix memleak in vm.runInNewContext
Closes GH-704.
14 years ago
Ryan Dahl
26e580bbc4
Use console.error in test-timers
In attempt to understand buildbot failures.
14 years ago
Ryan Dahl
7f78e5857f
Move test-tls-throttle to pummel
14 years ago
Ryan Dahl
e0e52f930e
Remove artificial timeout from test-https-large-response
14 years ago
Ryan Dahl
60ad3aa917
Disable test-tls-large-push, taking too long
14 years ago
Ryan Dahl
97f7c06451
TLS: fix throttling
Re-enable test-https-large-response.js
Closes GH-614.
14 years ago
Ryan Dahl
41b4ec7952
TLS: flush buffer before destroy
Also disable test-https-large-response.js. Covered by
test/simple/test-tls-throttle.js
14 years ago
Ryan Dahl
6ede26cb9c
Add socket.bufferSize
14 years ago
Ryan Dahl
286389202f
Fix pummel/text-exec
14 years ago
Ryan Dahl
a86747603c
Fix test-http-upload-timeout
Cannot just close the connection or client will error.
14 years ago
Ryan Dahl
7a16e2a2a0
test-http-client-reconnect-bug: hang up should be error.
14 years ago
Ryan Dahl
39535d74df
move test-exec to pummel - too slow
14 years ago
Jorge Chamorro Bieling
e530507cb1
Add failing test for GH-511
14 years ago
Oleg Efimov
093dfaf801
GJSLint all tests, only 3 long lines left in test-url.js
test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).
14 years ago
Ryan Dahl
92789b16e5
Fix global leaks
14 years ago