-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Signaller HTTP-client more configurable (#100)
This commit introduces additional options for tweaking Signaller HTTP-client: * adjusting MaxConnsPerHost, MaxIdleConns, MaxIdleConnsPerHost on http.Transport fields if they are different from the default value of an according command-line argument, but with the possibility to set them to 0, because 0 is a valid value for them; * setting a timeout on Signaller HTTP-requests towards upstream; Also this commit adds draining of a response body from Signaler's upstream for improving connection reuse. Co-authored-by: mqmr <me@mqmr.com> Co-authored-by: Martin Helmich <m.helmich@mittwald.de>
- Loading branch information
1 parent
adc2210
commit 783b501
Showing
4 changed files
with
86 additions
and
27 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