Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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.