Commit 980617d
committed
doc: clarify QUIC stream state wording
When the `body` option is omitted, no FIN is sent immediately and the
writable side remains open, so the stream can still be written later via
`stream.setBody()` or the writer.
Per reviewer feedback, describe this state as "half-closed" rather than
"half-open": in networking "half-open" implies a failure case (one peer
crashed or vanished), whereas "half-closed" reflects the intentional
one-direction-open semantics here. Update both
`createBidirectionalStream()` and `createUnidirectionalStream()`
accordingly and explicitly note that no FIN is sent immediately.
Fixes: #63655
Signed-off-by: Eduard Fischer-Szava <fischer_eduard@yahoo.com>1 parent 003be60 commit 980617d
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1281 | 1281 | | |
1282 | 1282 | | |
1283 | 1283 | | |
1284 | | - | |
| 1284 | + | |
1285 | 1285 | | |
1286 | 1286 | | |
1287 | 1287 | | |
| |||
1308 | 1308 | | |
1309 | 1309 | | |
1310 | 1310 | | |
1311 | | - | |
| 1311 | + | |
| 1312 | + | |
1312 | 1313 | | |
1313 | 1314 | | |
1314 | 1315 | | |
| |||
1323 | 1324 | | |
1324 | 1325 | | |
1325 | 1326 | | |
1326 | | - | |
| 1327 | + | |
| 1328 | + | |
1327 | 1329 | | |
1328 | 1330 | | |
1329 | 1331 | | |
| |||
1345 | 1347 | | |
1346 | 1348 | | |
1347 | 1349 | | |
1348 | | - | |
| 1350 | + | |
| 1351 | + | |
1349 | 1352 | | |
1350 | 1353 | | |
1351 | 1354 | | |
| |||
0 commit comments