-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
goproxy doesn't hang up the upstream connection when the downstream connection closes. So, it'll read in the next request and then fail to send it downstream. In this case it 502's. It would be nicer if it could close the upstream connection preemtively so the cient could re-dial. Elixir's HTTPoison tries pooling requests over the CONNECT tunnel and this results in 502's bubbling up to the calling app. Setting `Connection: close` prevents this pooling.
- Loading branch information
Showing
2 changed files
with
13 additions
and
6 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