-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #5152 - HttpClient should handle unsolicited responses.
Now closing the connection if an unsolicited response is detected, no matter what response status code, or whether it has a Connection: close header, or whether it's just random bytes from the server, and also no matter whether the client read -1. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
- Loading branch information
Showing
2 changed files
with
76 additions
and
7 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