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: TimeoutHandler is incompatible with a ReverseProxy that has a negative FlushInterval #34198
What version of Go are you using (
@hochhaus, the incorrect return code problem should be fixed in 4faf8a8.
Leaving implementation difficulties aside, a
Unfortunately there is still no way to set different write timeouts for different endpoints, nor to (re)set the timeout from a running handler, see #16100.
Also note that your repro program is racy; you should at least introduce a delay before the