Commit 5833007
http2: reinject data received before http2 is attached
Reinject the data already received from the TLS
socket when the HTTP2 client is attached with a
delay
Fixes: #35475
PR-URL: #35678
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Alba Mendez <me@alba.sh>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Ricky Zhou <0x19951125@gmail.com>1 parent 883ed4b commit 5833007Copy full SHA for 5833007
File tree
Expand file treeCollapse file tree
4 files changed
+106
-2
lines changedOpen diff view settings
Filter options
- lib/internal/http2
- src
- test/parallel
Expand file treeCollapse file tree
4 files changed
+106
-2
lines changedOpen diff view settings
Collapse file
+13-2Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1037 | 1037 | |
1038 | 1038 | |
1039 | 1039 | |
1040 | | - |
| 1040 | + |
1041 | 1041 | |
1042 | 1042 | |
1043 | 1043 | |
| ||
1055 | 1055 | |
1056 | 1056 | |
1057 | 1057 | |
1058 | | - |
| 1058 | + |
1059 | 1059 | |
1060 | 1060 | |
1061 | 1061 | |
| ||
3140 | 3140 | |
3141 | 3141 | |
3142 | 3142 | |
| 3143 | + |
| 3144 | + |
| 3145 | + |
| 3146 | + |
| 3147 | + |
| 3148 | + |
| 3149 | + |
| 3150 | + |
| 3151 | + |
| 3152 | + |
| 3153 | + |
3143 | 3154 | |
3144 | 3155 | |
3145 | 3156 | |
|
Collapse file
+28Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1829 | 1829 | |
1830 | 1830 | |
1831 | 1831 | |
| 1832 | + |
| 1833 | + |
| 1834 | + |
| 1835 | + |
| 1836 | + |
| 1837 | + |
| 1838 | + |
| 1839 | + |
| 1840 | + |
| 1841 | + |
| 1842 | + |
| 1843 | + |
| 1844 | + |
| 1845 | + |
| 1846 | + |
| 1847 | + |
| 1848 | + |
| 1849 | + |
| 1850 | + |
| 1851 | + |
| 1852 | + |
| 1853 | + |
| 1854 | + |
| 1855 | + |
| 1856 | + |
| 1857 | + |
| 1858 | + |
1832 | 1859 | |
1833 | 1860 | |
1834 | 1861 | |
| ||
3054 | 3081 | |
3055 | 3082 | |
3056 | 3083 | |
| 3084 | + |
3057 | 3085 | |
3058 | 3086 | |
3059 | 3087 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
694 | 694 | |
695 | 695 | |
696 | 696 | |
| 697 | + |
697 | 698 | |
698 | 699 | |
699 | 700 | |
|
Collapse file
test/parallel/test-http2-connect-tls-with-delay.js
Copy file name to clipboard+64Lines changed: 64 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 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
0 commit comments