-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebTransport error handling improvements
Summary: There's three main updates here: 1) Only attempt to decode application error codes when the underlying transport requires it (eg: HTTP) 2) Specify a WebTransport::Exception ctor that takes a string, so we can differentiate the source of the error (eg: RESET_STREAM, STOP_SENDING, other) 3) Set an interrupt handler for the read/write promises so they play with cancellation Reviewed By: mjoras Differential Revision: D67119088 fbshipit-source-id: b6b9ddbb24155ab560015e2945509361e3a05d3a
- Loading branch information
1 parent
31aa878
commit b6168bc
Showing
6 changed files
with
160 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters