net/http: request not really canceled #32685
Using the code in this snippet: https://play.golang.org/p/oSK66nc3I_S with go1.12 does not have the expected outcome. I have tried my best to find the documentation explaining exactly how request cancelation works all the way from client to server, as well as tried to look at the code, but it was a bit difficult to figure out.
When a request is canceled by the client, and it returns an error that a request was canceled (
Lastly, if the above is not correct, then I'd at least expect a way for the server to tell that the request was canceled.
This seems like a bug to me. If a request has completed, the "canceled" error should never be returned.
The text was updated successfully, but these errors were encountered: