0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Luigi Pinca 18d4ee97d8 http: make request.abort() destroy the socket
`request.abort()` did not destroy the socket if it was called
before a socket was assigned to the request and the request
did not use an `Agent` or a Unix Domain Socket was used.

Fixes: https://github.com/nodejs/node/issues/10812
PR-URL: https://github.com/nodejs/node/pull/10818
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2017-01-28 18:04:29 +01:00
..
internal url: define @@toStringTag as a data property 2017-01-28 08:27:15 -08:00
_debug_agent.js debugger: use arrow function for lexical this 2016-08-18 16:44:38 -07:00
_debugger.js debugger: call this.resume() after this.run() 2016-12-05 14:25:39 -05:00
_http_agent.js http: eliminate capture of ClientRequest in Agent 2017-01-06 10:07:32 -08:00
_http_client.js http: make request.abort() destroy the socket 2017-01-28 18:04:29 +01:00
_http_common.js http: optimize default method case 2017-01-13 16:11:18 -05:00
_http_incoming.js http: try to avoid lowercasing incoming headers 2017-01-11 12:54:41 -05:00
_http_outgoing.js http: optimize default method case 2017-01-13 16:11:18 -05:00
_http_server.js http: misc optimizations and style fixes 2017-01-11 12:54:45 -05:00
_linklist.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js tools: enforce linebreak after ternary operators 2016-12-22 20:27:59 -08:00
_stream_transform.js src: fixes misplaced comment 2016-09-30 09:47:09 -07:00
_stream_wrap.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_stream_writable.js stream: avoid instanceof 2017-01-11 12:55:04 -05:00
_tls_common.js crypto: freelist_max_len is gone in OpenSSL 1.1.0 2017-01-23 15:17:07 +09:00
_tls_legacy.js lib: remove unnecessary parameter for assertCrypto() 2017-01-18 11:13:18 +08:00
_tls_wrap.js lib: remove unnecessary parameter for assertCrypto() 2017-01-18 11:13:18 +08:00
.eslintrc.yaml tools: rename eslintrc to an undeprecated format 2017-01-18 09:48:52 +05:30
assert.js assert, tools: enforce strict (not)equal in eslint 2017-01-11 14:19:29 +00:00
buffer.js buffer: improve compare() performance 2017-01-25 01:42:42 -05:00
child_process.js child_process: add string shortcut for fork stdio 2017-01-27 12:06:48 -08:00
cluster.js cluster: refactor module into multiple files 2017-01-13 17:01:07 -05:00
console.js console: name anonymous functions 2016-10-16 22:01:02 +02:00
constants.js constants: errors -> errno 2016-11-29 07:33:24 -05:00
crypto.js lib: remove unnecessary parameter for assertCrypto() 2017-01-18 11:13:18 +08:00
dgram.js dgram: use Buffer.alloc(0) for zero-size buffers 2016-10-06 15:27:52 -07:00
dns.js dns: implement {ttl: true} for dns.resolve4() 2016-11-18 22:01:11 +01:00
domain.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
events.js events: avoid emit() eager deopt 2017-01-05 12:33:10 -08:00
fs.js fs: remove unused parameter for encodeRealpathResult 2017-01-18 22:26:44 +08:00
http.js http: name anonymous functions in http 2016-10-18 15:38:43 -07:00
https.js lib: remove unnecessary parameter for assertCrypto() 2017-01-18 11:13:18 +08:00
module.js fs: export realpathCacheKey from internal/fs 2016-11-16 20:22:18 +01:00
net.js test,net: add tests for server.connections 2017-01-14 20:57:26 -08:00
os.js benchmark,lib,test: adjust for linting 2017-01-06 14:36:01 -08:00
path.js path: fallback to process cwd when resolving drive cwd 2016-09-24 01:14:56 +03:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
querystring.js querystring: improve unescapeBuffer performance 2017-01-25 02:22:26 -05:00
readline.js readline: refactor construct Interface 2017-01-13 22:49:35 +08:00
repl.js repl: remove workaround for function redefinition 2017-01-26 22:46:18 +01:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js string_decoder: align UTF-8 handling with V8 2017-01-26 22:46:18 +01:00
sys.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
timers.js timers: fix handling of cleared immediates 2016-12-14 10:10:22 -05:00
tls.js lib: remove unnecessary parameter for assertCrypto() 2017-01-18 11:13:18 +08:00
tty.js tty: set the handle to blocking mode 2016-08-10 23:41:28 +02:00
url.js url: stop exporting originFor() 2017-01-27 07:35:36 -08:00
util.js test,util: remove lint workarounds 2017-01-16 10:40:26 -08:00
v8.js lib,src: support values > 4GB in heap statistics 2016-12-11 14:45:52 +01:00
vm.js vm: improve performance of vm.runIn*() 2017-01-18 08:27:10 -08:00
zlib.js zlib: be strict about what strategies are accepted 2017-01-25 14:07:43 -08:00