https requests with different SNI values should not be sent over the
same connection, even if the host is the same. Server may want to
present different certificate or route the incoming TLS connection
differently, depending on the …
This http code allows us to provide a fair reason when we can't return some data to the client by legal issues.
IETF https://datatracker.ietf.org/doc/draft-ietf-httpbis-legally-restricted-status/
Fixes: #4376
This PR adds support for:
socket.send(buf, port, host, [, callback])socket.send([buf1, buf2, ... ], port, host, [, callback])Fixes https://github.com/nodejs/node/issues/4302.
This is probably missing some benchmarks, …
nodejs/website isn't up to speed anymore, there's nodejs/nodejs.org now!
Improves the performance when moving small buffers by 5%, and it adds a benchmark to avoid regression in that area. In all other cases it is equally performant current master. Some cases turns out to be faster with this patch, especially…
Based on the conversation in #4243 this implements a way to increase
and decrease the size of the thread pool used in v8. Which is defaulted
to 4.
Do not emit upgrade if the server is just advertising its protocols
support as per RFC 7230 Section 6.7.
A server MAY send an Upgrade header field in any other response
to advertise that it implements support for upgrading...
WrapperInfo casts pointer in JS object's internal field to
AsyncWrap. This approach fails miserably for TLSWrap because it was
inhereted from the StreamBase first, creating different kind of
vtable for the whole class.
Re…
Original commit message:
[heap] fix crash during the scavenge of ArrayBuffer
Scavenger should not attempt to visit ArrayBuffer's storage, it is a
user-supplied pointer that may have any alignment. Visiting it, may
r...
Not sure if the could be any other description.
cc @nodejs/crypto
Add secureContext option to tls.connect. It is useful for caching
client certificates, key, and CA certificates.
cc @nodejs/crypto
By passing const int thread_pool_size = 0 to CreateDefaultPlatform
we allow v8 to choose sensible defaults based on the currently online
processors.
Benchmarking on my local machine saw no performance regressions; however it is …
The docs and _debugger.js are currently linking to the now non-existing v8 wiki on the issue tracker; Instead it has now been moved to https://github.com/v8/v8/wiki
Fix incorrect slicing of cleartext buffer in TLSWrap::ClearOut.
Some API doc referenced Node.js with "node" or "node.js". This commit replaces these references.
test-cluster-shared-leak.js was flaky because a worker can emit EPIPE.
This error event is expected.