Commit d4787cf
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.
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 2a9912c commit d4787cfCopy full SHA for d4787cf
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 |
|---|---|---|
| ||
337 | 337 | |
338 | 338 | |
339 | 339 | |
340 | | - |
| 340 | + |
341 | 341 | |
342 | 342 | |
343 | 343 | |
| ||
1476 | 1476 | |
1477 | 1477 | |
1478 | 1478 | |
1479 | | - |
| 1479 | + |
| 1480 | + |
| 1481 | + |
| 1482 | + |
| 1483 | + |
1480 | 1484 | |
1481 | 1485 | |
1482 | 1486 | |
| ||
1499 | 1503 | |
1500 | 1504 | |
1501 | 1505 | |
1502 | | - |
| 1506 | + |
1503 | 1507 | |
1504 | | - |
| 1508 | + |
| 1509 | + |
1505 | 1510 | |
1506 | 1511 | |
1507 | 1512 | |
| ||
1852 | 1857 | |
1853 | 1858 | |
1854 | 1859 | |
1855 | | - |
| 1860 | + |
1856 | 1861 | |
1857 | 1862 | |
1858 | 1863 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1762 | 1762 | |
1763 | 1763 | |
1764 | 1764 | |
| 1765 | + |
| 1766 | + |
1765 | 1767 | |
1766 | 1768 | |
1767 | 1769 | |
|
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 | |
| ||
803 | 804 | |
804 | 805 | |
805 | 806 | |
| 807 | + |
| 808 | + |
| 809 | + |
| 810 | + |
| 811 | + |
| 812 | + |
806 | 813 | |
807 | 814 | |
808 | 815 | |
|
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