0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Anna Henningsen 4863f6a121
net: make holding the buffer in memory more robust
Set the `req.buffer` property, which serves as a way of keeping
a `Buffer` alive that is being written to a stream, on the C++
side instead of the JS side.

This closes a hole where buffers that were temporarily created
in order to write strings with uncommon encodings (e.g. `hex`)
were passed to the native side without being set as `req.buffer`.

Fixes: https://github.com/nodejs/node/issues/8251
PR-URL: https://github.com/nodejs/node/pull/8252
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2016-08-27 16:11:46 +02:00
..
abort
addons test: add an zlib binding addon test 2016-08-17 18:44:00 -07:00
cctest test: fix failing inspector cctest 2016-08-09 17:28:12 -07:00
debugger test: make import common as the first line 2016-07-21 16:39:21 -07:00
disabled test: make import common as the first line 2016-07-21 16:39:21 -07:00
doctool
fixtures util: fix deprecated class prototype 2016-08-17 18:27:22 -07:00
gc test: make import common as the first line 2016-07-21 16:39:21 -07:00
internet test: use common platform helpers everywhere 2016-07-27 08:25:26 +02:00
known_issues test: add known issue test for #7788 2016-07-20 13:01:42 -04:00
message
parallel net: make holding the buffer in memory more robust 2016-08-27 16:11:46 +02:00
pseudo-tty
pummel test: favor === over == in crypto tests 2016-08-21 20:25:08 -07:00
sequential src: make debugger listen on 127.0.0.1 by default 2016-08-23 21:10:34 +02:00
testpy
timers timers: remove unused repeat param in timer_wrap 2016-08-09 12:26:10 -07:00
.eslintrc tools: consistent .eslintrc formatting 2016-07-13 22:10:20 +02:00
common.js test: allow globals to be whitelisted 2016-08-08 11:03:18 -04:00
README.md

Tests

abort

Tests for when the --abort-on-uncaught-exception flag is used.

Runs on CI
No

addons

Tests for addon functionality along with some tests that require an addon to function properly.

Runs on CI
Yes

cctest

C++ test that is run as part of the build process.

Runs on CI
Yes

debugger

Tests for debugger functionality.

Runs on CI
No

disabled

Tests that have been disabled from running for various reasons.

Runs on CI
No

fixtures

Test fixtures used in various tests throughout the test suite.

gc

Tests for garbage collection related functionality.

Runs on CI
No

internet

Tests that make real outbound connections (mainly networking related modules). Tests for networking related modules may also be present in other directories, but those tests do not make outbound connections.

Runs on CI
No

known_issues

Tests reproducing known issues within the system.

Runs on CI
No

message

Tests for messages that are output for various conditions (console.log, error messages etc.)

Runs on CI
Yes

parallel

Various tests that are able to be run in parallel.

Runs on CI
Yes

pummel

Various tests for various modules / system functionality operating under load.

Runs on CI
No

sequential

Various tests that are run sequentially.

Runs on CI
Yes

testpy

Test configuration utility used by various test suites.

timers

Tests for timing utilities (setTimeout and setInterval).

Runs on CI
No