-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FFM-11006 Add Connection close header (#141)
* FFM-11006 Add Connection close header **What** - Adds a connection close header to the http requests to prevent connections being re-used **Why** - We were seeing every other POST /metrics request fail with an EOF error but when we ran with the debugger this didn't happen. After some research it seems like this can happen due to the way the http client tries to re-use connections. Adding this header means we'll close the connection once the request has completed **Testing** - Tested this fix out locally Co-authored-by: Erdi Rowlands <erdirowlands@gmail.com>
- Loading branch information
1 parent
7d99c9a
commit 5546ef7
Showing
3 changed files
with
18 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