node/test
Brian White 9bee03aaf2 http: allow async createConnection()
This commit adds support for async createConnection()
implementations and is still backwards compatible with
synchronous createConnection() implementations.

This commit also makes the http client more friendly with
generic stream objects produced by createConnection() by
checking stream.writable instead of stream.destroyed as the
latter is currently a net.Socket-ism and not set by the core
stream implementations.

PR-URL: https://github.com/nodejs/node/pull/4638
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-02-11 12:52:46 -05:00
..
abort src: honor --abort_on_uncaught_exception flag 2015-09-17 15:25:25 -05:00
addons test: remove unused vars 2016-01-05 08:59:58 -08:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
disabled test: replace deprecated util.debug() calls 2015-09-28 11:15:06 -07:00
fixtures test: enable to work pkcs12 test in FIPS mode 2016-02-09 13:05:48 +09:00
gc tools: lint for spacing around unary operators 2016-02-04 10:56:17 -08:00
internet dns: add resolvePtr to query plain DNS PTR records 2016-02-08 17:30:38 +01:00
message node: improve process.nextTick performance 2016-02-09 02:46:43 -07:00
parallel http: allow async createConnection() 2016-02-11 12:52:46 -05:00
pummel test: pummel test fixes 2016-02-01 09:17:55 -08:00
sequential test: fix flaky test-http-regr-gh-2928 2016-02-10 12:23:28 -08:00
testpy test: fix default value for additional param 2015-09-15 19:59:38 +05:30
timers test: remove unused vars 2016-01-05 08:59:58 -08:00
.eslintrc test: make common.js mandatory via linting rule 2015-10-06 15:11:58 -07:00
common.js test: remove unneeded common.indirectInstanceOf() 2016-02-10 09:50:00 -08:00