Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v11.10.0 proposal #26098

Merged
merged 223 commits into from
Feb 14, 2019
Merged
Changes from 1 commit
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
6967407
inspector, trace_events: make sure messages are sent on a main thread
eugeneo Dec 3, 2018
99bc0df
lib: refactor ERR_SYNTHETIC
cjihrig Jan 28, 2019
cc22fd7
report: split up osVersion and machine values
cjihrig Jan 28, 2019
d463181
report: use consistent format for dumpEventTime
addaleax Jan 28, 2019
d9c2690
src: turn ROUND_UP into an inline function
addaleax Jan 27, 2019
0949039
src: add handle scope to `OnFatalError()`
addaleax Jan 28, 2019
3f080d1
src: add debug check for inspector uv_async_t
addaleax Jan 28, 2019
35454e0
src: fix indentation in a few node_http2 enums
danbev Jan 28, 2019
be499c3
src: simplify SlicedArguments
addaleax Jan 27, 2019
b9289f4
tools: bump cpplint.py to 3d8f6f876d
refack Jan 28, 2019
454278a
tools: refloat Node.js patches to cpplint.py
refack Jan 28, 2019
cc253b5
process: simplify report uncaught exception logic
cjihrig Jan 27, 2019
fd98d62
doc: revise style guide
Trott Jan 28, 2019
accb8ae
doc: revise inspect security info in cli.md
Trott Jan 29, 2019
f5db509
doc: remove outdated COLLABORATOR_GUIDE sentence about breaking changes
Trott Jan 29, 2019
0b014d5
src: make deleted functions public in node.h
gengjiawen Jan 28, 2019
b779c07
src: make `StreamPipe::Unpipe()` more resilient
addaleax Jan 25, 2019
25c19eb
http: make timeout event work with agent timeout
lpinca Jan 14, 2019
5792208
test: pull html/webappapis/timers WPT
joyeecheung Jan 21, 2019
5bffcf6
test: run html/webappapis/timers WPT
joyeecheung Jan 21, 2019
f6c8820
report: fix typo in error message
cjihrig Jan 29, 2019
b1e0c43
report: disambiguate glibc versions
cjihrig Jan 29, 2019
998cea5
src: workaround MSVC compiler bug
refack Dec 18, 2018
7a1f166
doc: add documentation for request.path
gjbkz Jan 29, 2019
40398fd
benchmark: refactor _http-benchmarkers.js
Trott Jan 29, 2019
18b344c
benchmark: refactor benchmark/common.js
Trott Jan 29, 2019
da46be2
crypto: fix public key encoding name in comment
davidben Jan 27, 2019
d683da7
test, tools: suppress addon function cast warnings
danbev Jan 23, 2019
55c2702
worker: throw for duplicates in transfer list
addaleax Jan 30, 2019
411f6fe
deps: cherry-pick c736883 from upstream V8
hashseed Jan 10, 2019
673e434
deps: v8, cherry-pick 9365d09, aac2f8c, 47d34a3
bcoe Jan 26, 2019
704a440
test: allow coverage threshold to be enforced
bcoe Jan 30, 2019
1007416
report: separate release metadata
richardlau Jan 30, 2019
cdf3e84
test: exclude additional test for coverage
mhdawson Jan 30, 2019
882902c
src: pass along errors from PromiseWrap instantiation
addaleax Jan 27, 2019
7556994
src: remove unused method in js_stream.h
gengjiawen Jan 29, 2019
8a8c178
src: remove unused AsyncResource constructor in node.h
gengjiawen Jan 29, 2019
9f1bcd4
tools: make test.py Python 3 compatible
thefourtheye Jan 28, 2019
9d2ea18
tools: add test-all-suites to Makefile
Trott Jan 29, 2019
7cb9439
test: refactor test-http-agent-timeout-option
lpinca Jan 31, 2019
f395728
tools: exclude benchmark code from coverage report
Trott Jan 31, 2019
618f641
doc: remove redundant LTS/Current information in Collaborator Guide
Trott Jan 31, 2019
699d161
doc: fix machine field in example report
cjihrig Jan 31, 2019
988c714
tools: improve prerequisites for test-all-suites
Trott Feb 2, 2019
c4e2bbb
benchmark: use consistent coding style in assert/*
Trott Feb 1, 2019
1f6acbb
doc: document os.userInfo() throwing SystemError
raido Jan 26, 2019
f027290
src: use struct as arguments to node::Assert
addaleax Feb 1, 2019
84358b5
src: handle errors while printing error objects
addaleax Jan 30, 2019
d02ad40
inspector,vm: remove --eval wrapper
addaleax Jan 30, 2019
7656d58
tls: introduce client 'session' event
sam-github Jan 30, 2019
059d30e
test: add hasCrypto to worker-cleanexit-with-moduleload
danbev Jan 30, 2019
00f8e86
src: use nullptr in node_buffer.cc
gengjiawen Jan 30, 2019
bd771d9
src: remove unimplemented method in node_http2.h
gengjiawen Jan 27, 2019
025a7c3
test: do not fail SLOW tests if they are not slow
hashseed Feb 1, 2019
e28d891
src: fix race condition in `~NodeTraceBuffer`
addaleax Feb 2, 2019
8b71464
deps: remove OpenSSL git and travis configuration
sam-github Jan 24, 2019
cc4ae20
doc: improve doc on unintended breaking changes
Trott Feb 2, 2019
2e80b91
src: use `visibility("default")` exports on POSIX
nornagon Oct 15, 2018
ee3165d
test: relax expectations in test-icu-transcode
hashseed Feb 1, 2019
3e010af
crypto: fix malloc mixing in X509ToObject
davidben Jan 25, 2019
baa0865
crypto: don't crash X509ToObject on error
davidben Jan 29, 2019
6d39a54
report: use libuv calls for OS and machine info
cjihrig Feb 2, 2019
c959d60
worker,etw: only enable ETW on the main thread
addaleax Feb 3, 2019
30a4e89
report: print libuv handle addresses as hex
cjihrig Feb 3, 2019
7035496
src: add PrintLibuvHandleInformation debug helper
addaleax Feb 3, 2019
2009f18
test,tracing: use close event to wait for stdio
addaleax Feb 2, 2019
e70aa30
worker: add mutex lock to MessagePort ctor
addaleax Feb 3, 2019
0772ce3
src: remove unused TLWrap::EnableTrace()
sam-github Jan 31, 2019
b5a8376
src: organize TLSWrap declarations by parent
sam-github Jan 31, 2019
4d0b56f
tls: don't shadow the tls global with a local
sam-github Jan 31, 2019
d4c4f77
src: const_cast is necessary for 1.1.1, not 0.9.7
sam-github Jan 31, 2019
5a66e38
src: fix data type in node_crypto.cc
gengjiawen Feb 2, 2019
44655e9
src: delete unreachable code in node_perf.h
gengjiawen Jan 31, 2019
015ed0b
src: remove redundant method in node_worker.h
gengjiawen Jan 31, 2019
a6c8e40
deps: patch to fix *.onion MX query on c-ares
XadillaX Jan 31, 2019
1c6fade
meta: clarify EoL platform support
joaocgreis Jan 30, 2019
e66cb58
repl: simplify and improve completion
BridgeAR Jan 25, 2019
5aaeb01
repl: fix eval return value
BridgeAR Jan 27, 2019
2c737a8
repl: remove obsolete buffer clearing
BridgeAR Jan 27, 2019
c866b52
test: remove obsolete code
BridgeAR Jan 27, 2019
197efb7
child_process: close pipe ends that are re-piped
gireeshpunathil Jun 8, 2018
6c51ec3
report: include information about event loop itself
addaleax Feb 3, 2019
353de0f
doc: fix err_synthetic issue on v11.x
sreepurnajasti Jan 28, 2019
0b302e4
lib: fix a few minor issues flagged by lgtm
rneatherway Jan 30, 2019
52d4b7a
worker: remove undocumented .onclose property
Trott Feb 3, 2019
b7fb49e
http: remove redundant call to socket.setTimeout()
lpinca Feb 4, 2019
e81c6c8
perf_hooks: only enable GC tracking when it's requested
joyeecheung Jan 31, 2019
8d14870
tools: update dmn in update-estlint.sh
Trott Feb 1, 2019
e13c185
tools: update ESLint to 5.13.0
Trott Feb 1, 2019
c55d662
tools: replace deprecated ESLint configuration
Trott Feb 1, 2019
baa10ae
test: add BigInt test for isDeepStrictEqual
Trott Feb 4, 2019
1f8991f
test: add util.isDeepStrictEqual edge case tests
Trott Feb 5, 2019
c17a37d
test: wait for TCP connect, not TLS handshake
sam-github Feb 1, 2019
cc6b30f
test: do not assume server gets secure connection
sam-github Feb 1, 2019
639dc07
test: do not assume tls handshake order
sam-github Jan 8, 2019
ace267b
test: do not race connection and rejection
sam-github Jan 9, 2019
898cf78
test: send a bad record only after connection done
sam-github Feb 1, 2019
1b542e8
test: use mustCall in ephemeralkeyinfo test
sam-github Feb 1, 2019
50d2c8e
test: use common.mustCall(), and log the events
sam-github Feb 1, 2019
1be8676
test: use mustCall(), not global state checks
sam-github Feb 1, 2019
c457d00
test: clarify confusion over "client" in comment
sam-github Feb 1, 2019
3b74cc6
doc: revise Collaborator Guide on reverting
Trott Feb 5, 2019
f516f68
doc: add a sentence about REPLACEME in code changes
lance Feb 6, 2019
2d57504
src: fix compiler warnings in node_buffer.cc
danbev Jan 23, 2019
c4d16e8
benchmark: refactor for consistent style
Trott Feb 5, 2019
6ca8d26
tools: apply more stringent lint rules for benchmark code
Trott Feb 5, 2019
f5d5034
src: clean unused code in agent.h
gengjiawen Feb 3, 2019
1b9a608
test: refactor test-http-agent-timeout-option
lpinca Feb 2, 2019
8cedfb8
src: refactor to nullptr in cpp code
gengjiawen Feb 2, 2019
620d429
src: use bool instead of integer literal in connection_wrap.cc
gengjiawen Feb 4, 2019
2b1f881
benchmark: remove unreachable return
ZYSzys Feb 2, 2019
7e9f5ea
test: pin regression test for #8074 to TLS 1.2
sam-github Jan 15, 2019
ef9139e
test: end tls gracefully, rather than destroy
sam-github Feb 1, 2019
b06f2fa
lib: use `internal/options` to query `--abort-on-uncaught-exception`
joyeecheung Feb 1, 2019
4dca3ab
test: exit sequence sanity tests
gireeshpunathil Dec 17, 2018
de9f37d
src: make deleted function public in agent.h
gengjiawen Feb 3, 2019
55a313b
src: make watchdog async callback a lambda
gireeshpunathil Feb 5, 2019
37d207c
assert: refactor internal assert.js
Trott Feb 6, 2019
0b4055e
assert: create internal/assert micro-module
Trott Feb 6, 2019
7cf484c
src: refactor SSLError case statement
sam-github Jan 31, 2019
fb83f84
tls: in-line comments and other cleanups
sam-github Jan 31, 2019
de587ba
test: refactor to block-scope
LakshmiSwethaG Jan 16, 2019
e6a2548
src: allow --perf-basic-prof-only-functions in NODE_OPTIONS
tomgco Jan 18, 2019
c72c4b0
src: allow --perf-prof-unwinding-info in NODE_OPTIONS
tomgco Jan 18, 2019
1b8d2ca
lib: remove dollar symbol for private function
Jan 20, 2019
e0af205
src: nullcheck on trace controller
gireeshpunathil Feb 5, 2019
7443288
report: remove empty string stream insertion
cjihrig Feb 6, 2019
8494a61
report: remove unnecessary case block scopes
cjihrig Feb 6, 2019
3f40031
report: widen scope of #ifndef
cjihrig Feb 6, 2019
c01bbc5
deps: update acorn to 6.0.7
targos Jan 31, 2019
afb2d17
report: use uv_getnameinfo() for socket endpoints
cjihrig Feb 6, 2019
2cbb7a8
perf_hooks: implement histogram based api
jasnell Jan 7, 2019
823fd5b
deps: float fix for building HdrHistogram on Win x86
jasnell Feb 8, 2019
e3fd752
src: pass along errors from tls object creation
addaleax Jan 30, 2019
0672c24
src: pass along errors from http2 object creation
addaleax Jan 30, 2019
d6f3b87
src: pass along errors from fs object creations
addaleax Jan 30, 2019
469cdac
src: pass along errors from StreamBase req obj creations
addaleax Jan 30, 2019
508a2e7
worker: use correct ctor for error serialization
addaleax Feb 5, 2019
b280d90
src: simplify NativeModule caching and remove redundant data
joyeecheung Jan 4, 2019
76687de
src: remove unused variable
cjihrig Jan 13, 2019
f4cfbf4
process: move setup of process warnings into node.js
antsmartian Feb 10, 2019
a225f99
doc: revise Introducing New Modules
Trott Feb 7, 2019
eb4b5ea
doc: clarify http timeouts
inversion Jan 27, 2019
3f8c22b
deps: update llhttp to 1.1.1
indutny Jan 28, 2019
9420a73
doc: edit process.report related documentation
cjihrig Feb 7, 2019
a5247cc
http: makes response.writeHead return the response
qubyte Feb 6, 2019
237b5e6
http2: makes response.writeHead return the response
qubyte Feb 6, 2019
779a577
src: refactor macro to std::min in node_buffer.cc
gengjiawen Feb 9, 2019
85d5f67
src: fix return type in Hash
gengjiawen Feb 5, 2019
8c9800c
crypto: include 'Buffer' in error output of Hash.update method
amitzur Jan 16, 2019
5d2e064
worker: no throw on property access/postMessage after termination
chjj Feb 1, 2019
29c195e
fs: remove useless internalFS
ZYSzys Dec 21, 2018
d123f94
test: remove extraneous report validation argument
cjihrig Feb 7, 2019
2b48a38
fs: remove redundant callback check
ZYSzys Dec 21, 2018
7565586
src: pass cli options to bootstrap/loaders.js lexically
joyeecheung Jan 12, 2019
d342707
src: remove unused `internalBinding('config')` properties
joyeecheung Jan 12, 2019
e6a4fb6
process: split execution into main scripts
joyeecheung Jan 15, 2019
8db6b8a
worker: move worker thread setup code into the main script
joyeecheung Jan 15, 2019
0a154ff
src: move v8_platform implementation into node_v8_platform-inl.h
joyeecheung Jan 16, 2019
b72ec23
src: move public C++ APIs into src/api/*.cc
joyeecheung Jan 16, 2019
f63817f
worker: refactor thread id management
addaleax Jan 29, 2019
92ca506
lib: save primordials during bootstrap and use it in builtins
joyeecheung Jan 30, 2019
1d76ba1
process: expose process.features.inspector
joyeecheung Jan 30, 2019
c8bf432
process: move process mutation into bootstrap/node.js
joyeecheung Jan 30, 2019
fd6ce53
src: remove main_isolate
addaleax Jan 30, 2019
01bb7b7
src: split ownsProcessState off isMainThread
addaleax Feb 1, 2019
d7ed125
process: stub unsupported worker methods
cjihrig Jan 15, 2019
c47eb93
src: move process.reallyExit impl into node_process_methods.cc
joyeecheung Feb 1, 2019
5de1034
src: use NULL check macros to check nullptr
ZYSzys Feb 4, 2019
8ade433
lib: move signal event handling into bootstrap/node.js
joyeecheung Jan 31, 2019
f40e0fc
lib: replace 'assert' with 'internal/assert' for many built-ins
Trott Feb 6, 2019
c8ceece
report: refactor report option validation
cjihrig Feb 7, 2019
88019b0
report: rename setDiagnosticReportOptions()
cjihrig Feb 7, 2019
d7bf070
process: move deprecation warning initialization into pre_execution.js
joyeecheung Jan 30, 2019
9a7e883
process: group main thread execution preparation code
joyeecheung Jan 31, 2019
614bb9f
process: normalize process.argv before user code execution
joyeecheung Feb 8, 2019
24d9e9c
src: remove redundant void
gengjiawen Feb 8, 2019
3cd134c
src,lib: remove dead `process.binding()` code
addaleax Jan 30, 2019
3eb6f61
test: capture stderr from child processes
gireeshpunathil Feb 8, 2019
6c6e678
src: remove unused class in node_errors.h
gengjiawen Feb 7, 2019
90c9f1d
http: reduce multiple output arrays into one
starkwang Feb 8, 2019
d7ae105
src: remove redundant cast in node_file.cc
gengjiawen Feb 7, 2019
d5d163d
build: export deprecated OpenSSL symbols on Windows
richardlau Feb 7, 2019
0899c8b
http2: improve compat performance
mcollina Jan 18, 2019
7ab34ae
src: remove unused method in class Http2Stream
gengjiawen Feb 7, 2019
1764aae
worker: pre-allocate thread id
addaleax Feb 8, 2019
6c1e928
worker: set up child Isolate inside Worker thread
addaleax Feb 8, 2019
896962f
test: add `Worker` + `--prof` regression test
addaleax Feb 8, 2019
4c22d6e
repl: add repl.setupHistory for programmatic repl
lance Feb 1, 2019
03ffcf7
n-api: finalize during second-pass callback
Feb 7, 2019
23868ba
worker: keep stdio after exit
addaleax Feb 9, 2019
dfd47aa
report: make more items programmatically accessible
addaleax Feb 9, 2019
ae21fca
process: normalize process.execPath in CreateProcessObject()
joyeecheung Feb 8, 2019
663b625
doc: fix some nits in perf_hooks
vsemozhetbyt Feb 10, 2019
731c273
src: add WeakReference utility
addaleax Feb 7, 2019
60c5099
domain: avoid circular memory references
addaleax Feb 7, 2019
adaa2ae
src: add lock to inspector `MainThreadHandle` dtor
addaleax Feb 8, 2019
61330b2
test: add assert test for position indicator
Trott Feb 10, 2019
6323a9f
test: refactor two http client timeout tests
lpinca Jan 13, 2019
1c5fbea
deps: upgrade npm to 6.7.0
zkat Jan 29, 2019
e629afa
doc: fix minor typo in dgram.md
danbev Feb 12, 2019
bd932a3
lib: move per_context.js under lib/internal/bootstrap
joyeecheung Feb 10, 2019
85bc64a
process: document the bootstrap process in node.js
joyeecheung Feb 10, 2019
d5f4a1f
lib: save a copy of Symbol in primordials
joyeecheung Feb 10, 2019
8d3eb47
process: use primordials in bootstrap/node.js
joyeecheung Feb 10, 2019
b1a8927
lib: fix the typo error
Feb 10, 2019
b2b37c6
lib: simplify 'umask'
Feb 10, 2019
8b5a2c4
deps: upgrade to libuv 1.26.0
cjihrig Feb 10, 2019
9c9aefe
worker: set stack size for worker threads
addaleax Feb 5, 2019
5198297
http: improve performance for incoming headers
starkwang Feb 11, 2019
8495a78
tls: renegotiate should take care of its own state
sam-github Feb 7, 2019
5f6a710
os,report: use UV_MAXHOSTNAMESIZE
cjihrig Feb 10, 2019
9d6291a
process: refactor lib/internal/bootstrap/node.js
joyeecheung Feb 10, 2019
21e6d35
doc: renamed remote's name
thangktran Feb 11, 2019
ccf60bb
assert: add internal assert.fail()
Trott Feb 13, 2019
f873523
cluster: migrate round_robin_handle to internal assert
Trott Feb 11, 2019
32e6bb3
lib: merge 'undefined' into one 'break' branch
Feb 10, 2019
64cc234
test: use emitter.listenerCount() in test-http-connect
lpinca Feb 10, 2019
cb86357
test: replaced anonymous fn with arrow syntax
pushkalb123 Feb 10, 2019
f71d676
src: remove redundant cast in node_http2.h
gengjiawen Feb 7, 2019
44fc2f6
doc: clarify effect of stream.destroy() on write()
sam-github Feb 6, 2019
4a254a6
doc: edit N-API introductory material in Collaborator Guide
Trott Feb 12, 2019
6e56771
2018-02-14, Version 11.10.0 (Current)
targos Feb 14, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: pin regression test for #8074 to TLS 1.2
This test has a dependency on the order in which the TCP connection is
made, and TLS server handshake completes. It assumes those server side
events occur before the client side write callback, which is not
guaranteed by the TLS API. It usually passes with TLS1.3, but TLS1.3
didn't exist at the time the bug existed.

Pin the test to TLS1.2, since the test shouldn't be changed in a way that
doesn't trigger a segfault in 7.7.3:
- #13184 (comment)

PR-URL: #25508
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
sam-github authored and addaleax committed Feb 8, 2019
commit 7e9f5ea29594f52b82b1e1769058da2d775f5772
13 changes: 13 additions & 0 deletions test/parallel/test-tls-socket-close.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ const tls = require('tls');
const net = require('net');
const fixtures = require('../common/fixtures');

// Regression test for https://github.com/nodejs/node/issues/8074
//
// This test has a dependency on the order in which the TCP connection is made,
// and TLS server handshake completes. It assumes those server side events occur
// before the client side write callback, which is not guaranteed by the TLS
// API. It usally passes with TLS1.3, but TLS1.3 didn't exist at the time the
// bug existed.
//
// Pin the test to TLS1.2, since the test shouldn't be changed in a way that
// doesn't trigger a segfault in Node.js 7.7.3:
// https://github.com/nodejs/node/issues/13184#issuecomment-303700377
tls.DEFAULT_MAX_VERSION = 'TLSv1.2';

const key = fixtures.readKey('agent2-key.pem');
const cert = fixtures.readKey('agent2-cert.pem');

Expand Down