-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support backoff between retries in udp_proxy (#37912)
Commit Message: support backoff between retries in udp_proxy Additional Description: This feature also fixes a bug in the retry mechanism in udp proxy in the following situation: 1. We are tunneling UDP over HTTP. 2. A new stream is created on existing upstream connection (multiplexing) and waiting for response headers. 3. The upstream connection is closed. 4. During the close process, all streams created on this connection will be reset. 5. The udp_proxy receives a callback on the stream reset. 6. They retry to connect. 7. The closed connection is picked as it is still in the connection pool (we are still in the process of the close). 8. The new stream that is created on the second attempt will be reset immediately. 9. The same process will happen (step 5 - step 8) until we reach the max_connect_attepts. 10. This means that we are doing only one real attempt in this situation. Risk Level: medium Testing: unit tests, integration tests Docs Changes: added Release Notes: added --------- Signed-off-by: Issa Abu Kalbein <[email protected]> Co-authored-by: Issa Abu Kalbein <[email protected]>
- Loading branch information
1 parent
2bacbc4
commit 2425431
Showing
9 changed files
with
308 additions
and
11 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
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
Oops, something went wrong.