Repository navigation
Commit 8784c5a
committed
doc: note quic reset and unidirectional edge cases
The reference added earlier in this pull request described only the
bidirectional happy path. Three behaviours were missing:
* `resetStream()` discards any data still queued for sending. A reset
stream is never acknowledged, so that queue can no longer drain.
* `resetStream()` is a no-op once the stream has already been reset.
* Neither method sends a frame on the unidirectional stream that lacks
the side it aborts — `stopSending()` on a locally-initiated one,
`resetStream()` on a remote-initiated one. Both fail silently there.
The wording for stream directionality follows `stream.destroy()`, which
already states that the readable side exists on bidirectional and
remote-initiated unidirectional streams.
Refs: nodejs#63680
Signed-off-by: Ji Hoon Kang <[email protected]>1 parent 226668f commit 8784c5a
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1964 | 1964 | | |
1965 | 1965 | | |
1966 | 1966 | | |
1967 | | - | |
1968 | | - | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
1969 | 1973 | | |
1970 | 1974 | | |
1971 | 1975 | | |
| |||
1980 | 1984 | | |
1981 | 1985 | | |
1982 | 1986 | | |
1983 | | - | |
1984 | | - | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
1985 | 1990 | | |
1986 | 1991 | | |
1987 | 1992 | | |
| |||
0 commit comments