Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: make Transport ignore 408 timeout messages from server #32310
Apparently HTTP 408 is a thing:
I learned of this because I just saw this in some logs from our ppc64 buildlet. I suspect the TCP connection was to Google's GFE to Google Cloud Storage.
We should silently ignore those.
…err on server 408 reply HTTP 408 responses now exist and are seen in the wild (e.g. from Google's GFE), so make Go's HTTP client not spam about them when seen. They're normal (now). Fixes #32367 Updates #32310 Change-Id: I558eb4654960c74cf20db1902ccaae13d03310f6 Reviewed-on: https://go-review.googlesource.com/c/go/+/179457 Run-TryBot: Brad Fitzpatrick <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Dmitri Shuralyov <firstname.lastname@example.org> (cherry picked from commit ba66d89) Reviewed-on: https://go-review.googlesource.com/c/go/+/181239 Run-TryBot: Dmitri Shuralyov <email@example.com> Reviewed-by: Brad Fitzpatrick <firstname.lastname@example.org>