-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#8215) Now all the logic for completion is in lockedOnComplete(). Avoid throwing in ChannelCallback.succeeded() if HttpChannelState._error != null. This is necessary because HttpChannelState._error may be set asynchronously by some event such as HTTP/2 reset streams or idle timeouts, but if there is a thread dispatched to the application the asynchronous event will not fail the callback, as the failure may be noticed by the application (e.g. via a read() call). Fixed TrailersTest.testHandlerRequestTrailers() by avoid reading again after having read the trailers. Signed-off-by: Lachlan Roberts <[email protected]> Signed-off-by: Simone Bordet <[email protected]> Co-authored-by: Simone Bordet <[email protected]>
- Loading branch information
1 parent
c077bbe
commit e086cab
Showing
3 changed files
with
49 additions
and
13 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