Commit c9acca9
fix(H2 Client): bind stream 'data' listener only after received 'response' event (#2985)
* fix(fetch): pause stream if data is received before headers in HTTP/2
* Revert "fix(fetch): pause stream if data is received before headers in HTTP/2"
This reverts commit cd2eaf4.
* fix(H2 Client): pause stream if response data is sent before response event
* Revert "fix(H2 Client): pause stream if response data is sent before response event"
This reverts commit 9219ee3.
* fix(H2 Client): bind stream 'data' listener once 'response' is triggered
ref: https://nodejs.org/api/http2.html#clienthttp2sessionrequestheaders-options
---------
Co-authored-by: Stefano <stefano@agaweb.it>1 parent 0ec5a40 commit c9acca9
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
397 | 403 | | |
398 | 404 | | |
399 | 405 | | |
| |||
418 | 424 | | |
419 | 425 | | |
420 | 426 | | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
0 commit comments