forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tcp_proxy: fix a crash when h2 tunnel is set (envoyproxy#11401)
Fix a crash following the pattern in TcpUpstream. The upstream handle should not be created if the newStream returns nullptr, regardless on failure or on immediate success. Additional Description: Without the fix, the below backtrace could be detected by the new test case. Risk: low: bugfix with HTTP/2 CONNECT Testing: new integration test Signed-off-by: Yuchen Dai <[email protected]>
- Loading branch information
Showing
2 changed files
with
49 additions
and
2 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