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: request context is not propagating deadlines #19562
Consider the following program:
The output of this program is:
Instead, I expected to see a non-zero deadline and "done" written to the response body after 5 seconds.
Any plans to inject the deadline in a preserved header to the outgoing requests, so the handler can automatically extract them and construct the incoming request context from there.