Commit b22266c
http2: force through RST_STREAM in destroy
If still needed, force through RST_STREAM in Http2Stream#destroy
calls, so that nghttp2 can wrap up properly and doesn't continue
trying to read & write data to the stream.
Backport-PR-URL: #22850
PR-URL: #21016
Fixes: #21008
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 91be1dc commit b22266cCopy full SHA for b22266c
File tree
Expand file treeCollapse file tree
4 files changed
+59
-5
lines changedOpen diff view settings
Filter options
- lib/internal/http2
- src
- test/parallel
Expand file treeCollapse file tree
4 files changed
+59
-5
lines changedOpen diff view settings
Collapse file
+10-5Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
286 | 286 | |
287 | 287 | |
288 | 288 | |
289 | | - |
| 289 | + |
290 | 290 | |
291 | 291 | |
292 | 292 | |
| ||
1458 | 1458 | |
1459 | 1459 | |
1460 | 1460 | |
1461 | | - |
| 1461 | + |
| 1462 | + |
| 1463 | + |
| 1464 | + |
| 1465 | + |
1462 | 1466 | |
1463 | 1467 | |
1464 | 1468 | |
| ||
1481 | 1485 | |
1482 | 1486 | |
1483 | 1487 | |
1484 | | - |
| 1488 | + |
1485 | 1489 | |
1486 | | - |
| 1490 | + |
| 1491 | + |
1487 | 1492 | |
1488 | 1493 | |
1489 | 1494 | |
| ||
1845 | 1850 | |
1846 | 1851 | |
1847 | 1852 | |
1848 | | - |
| 1853 | + |
1849 | 1854 | |
1850 | 1855 | |
1851 | 1856 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1839 | 1839 | |
1840 | 1840 | |
1841 | 1841 | |
| 1842 | + |
| 1843 | + |
1842 | 1844 | |
1843 | 1845 | |
1844 | 1846 | |
|
Collapse file
+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
| 12 | + |
12 | 13 | |
13 | 14 | |
14 | 15 | |
| ||
880 | 881 | |
881 | 882 | |
882 | 883 | |
| 884 | + |
| 885 | + |
| 886 | + |
| 887 | + |
| 888 | + |
| 889 | + |
883 | 890 | |
884 | 891 | |
885 | 892 | |
|
Collapse file
test/parallel/test-http2-large-write-destroy.js
Copy file name to clipboard+40Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
0 commit comments