Commit f10d5fa
committed
Wait for HTTP/2 server to enable connect protocol (Mint 1.5.0+)
This is a consequence of updating Mint to 1.5.0+ - the SETTINGS frame is
now handled asynchronously (for the sake of latency) and Mint returns
default values until it arrives. So we need to wait for that frame to
arrive and be processed before upgrading an HTTP/2 WebSocket.1 parent 5d12245 commit f10d5fa
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
122 | 139 | | |
123 | 140 | | |
124 | 141 | | |
125 | 142 | | |
| 143 | + | |
| 144 | + | |
126 | 145 | | |
127 | 146 | | |
128 | 147 | | |
| |||
0 commit comments