0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
vitkarpov a2ea1344ea
http: define all used properties in constructors
Adding all used properties in the constructor makes the hidden class
stable and heap snapshots more verbose.

Refs: https://github.com/nodejs/node/issues/8912
PR-URL: https://github.com/nodejs/node/pull/9116
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2017-01-10 01:33:52 -05:00
..
internal url: allow use of URL with http.request and https.request 2017-01-09 09:28:11 -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: define all used properties in constructors 2017-01-10 01:33:52 -05:00
_http_common.js http: improve validation performance 2016-12-29 14:19:00 -05:00
_http_incoming.js http: reuse existing headers array for raw values 2016-12-29 14:18:49 -05:00
_http_outgoing.js http: optimize headers iteration 2016-12-29 14:19:14 -05:00
_http_server.js http: define all used properties in constructors 2017-01-10 01:33:52 -05:00
_linklist.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
_stream_duplex.js
_stream_passthrough.js
_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 additional validation for Buffers 2017-01-05 02:58:05 -05:00
_tls_common.js tls: allow obvious key/passphrase combinations 2016-12-19 13:42:56 -08:00
_tls_legacy.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_tls_wrap.js tls: document and test option-less createServer 2016-12-12 08:15:36 -08:00
.eslintrc tools: avoid let in for loops 2016-10-14 13:37:12 -07:00
assert.js assert: update comments 2017-01-04 11:07:34 -08:00
buffer.js buffer: improve allocation performance 2016-12-27 14:57:06 -08:00
child_process.js child_process: improve input validation 2016-12-25 12:48:46 -05:00
cluster.js test,cluster: add test-cluster-worker-deprecated 2017-01-09 21:46:26 -08: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 crypto: return this in setAuthTag/setAAD 2016-11-20 01:16:26 +01: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: support Uint8Array input to methods 2016-12-26 10:08:42 +01:00
http.js http: name anonymous functions in http 2016-10-18 15:38:43 -07:00
https.js url: allow use of URL with http.request and https.request 2017-01-09 09:28:11 -08:00
module.js fs: export realpathCacheKey from internal/fs 2016-11-16 20:22:18 +01:00
net.js net: name anonymous functions 2016-11-01 23:40:44 +01: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
punycode.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
querystring.js
readline.js readline: use icu based string width calculation 2016-10-25 09:00:45 -07:00
repl.js benchmark,lib,test: adjust for linting 2017-01-06 14:36:01 -08:00
stream.js
string_decoder.js
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 let from for loops 2016-10-04 12:17:32 -04:00
tty.js tty: set the handle to blocking mode 2016-08-10 23:41:28 +02:00
url.js url: move originFor, domainToAscii and domainToUnicode 2016-12-30 10:14:10 -08:00
util.js benchmark,lib,test: adjust for linting 2017-01-06 14:36:01 -08:00
v8.js lib,src: support values > 4GB in heap statistics 2016-12-11 14:45:52 +01:00
vm.js vm: name anonymous functions 2016-11-06 20:18:56 +02:00
zlib.js zlib: fix linting recently-introduced lint error 2016-11-08 16:40:56 -08:00