Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
bc4f565
meta: add additional gitignore entries
jasnell May 12, 2026
f5c6ed4
quic: improve backend quic packet processing
jasnell May 12, 2026
5c6d75e
test: fixup quic tests
jasnell May 12, 2026
6b0ebe3
quic: improve batching of packet sending
jasnell May 12, 2026
bbb75cf
quic: add support for future ECN marking
jasnell May 12, 2026
614f9ab
quic: cache the timestamp on send and receive
jasnell May 12, 2026
4159d6b
quic: eliminate per-received datagram allocation
jasnell May 12, 2026
6aa1690
quic: fix crash in early handshake failure
jasnell May 12, 2026
4fbdb55
quic: fixup linting issue after other changes
jasnell May 12, 2026
61d57d7
quic: implement rate limiting for version nego and immediate close
jasnell May 12, 2026
6baa778
quic: add handshake timeout and default connection limits
jasnell May 12, 2026
d8e60c2
quic: add aliased struct arenas
jasnell May 13, 2026
e19e8d5
quic: improve internal structure of QuicStream
jasnell May 13, 2026
1f308b0
quic: improve the quic js structure
jasnell May 14, 2026
a8e1e81
quic: fix UAF in Application::OnTimeout()
jasnell May 14, 2026
dd9fea3
quic: fixup UAFs in bindingdata, streams, and app
jasnell May 14, 2026
256c099
quic: fix premature unref of endpoint when listening
jasnell May 14, 2026
5c78124
quic: fixup some v8:: qualifiers
jasnell May 14, 2026
d589c1f
quic: fix tests that are missing serverEndpoint close
jasnell May 14, 2026
663021c
quic: apply multiple additional minor improvements
jasnell May 15, 2026
c9c714e
quic: coalesce received data into fewer buffers
jasnell May 15, 2026
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
/tags
/tags.*
/doc/api.xml
/docs/
/node
/node_g
/gon-config.json
Expand Down
28 changes: 28 additions & 0 deletions doc/api/quic.md
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,20 @@ added: v23.8.0

* Type: {bigint}

### `streamStats.bytesAccumulated`

<!-- YAML
added: REPLACEME
-->

* Type: {bigint}

The current number of bytes sitting in the stream's receive accumulation
buffer, awaiting delivery to the application. A value near zero indicates
the reader is keeping up with incoming data. A value near the stream's
flow control window indicates the application is not consuming data fast
enough.

### `streamStats.bytesReceived`

<!-- YAML
Expand Down Expand Up @@ -2142,6 +2156,20 @@ added: v23.8.0

* Type: {bigint}

### `streamStats.maxBytesAccumulated`

<!-- YAML
added: REPLACEME
-->

* Type: {bigint}

The peak number of bytes that were accumulated in the stream's receive
buffer at any point during the stream's lifetime. This value only
increases monotonically. It is useful for diagnosing whether a stream
experienced backpressure episodes and whether the accumulation buffer
sizing is appropriate for the workload.

### `streamStats.maxOffset`

<!-- YAML
Expand Down
6 changes: 6 additions & 0 deletions lib/internal/fs/promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ function handleErrorFromBinding(error) {
}

class FileHandle extends EventEmitter {
#brandCheck = undefined;

static isFileHandle(value) {
return (value != null && typeof value === 'object' && #brandCheck in value);
}

/**
* @param {InternalFSBinding.FileHandle | undefined} filehandle
*/
Expand Down
Loading
Loading