-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use http.Request.WithContext instead of Cancel #6953
Comments
@sinsharat Can you help to fix this? We have a bunch of places using our own context to cancel http request. We can use https://golang.org/pkg/net/http/#Request.WithContext directly. This issue might take you some time to finish since we have http related code throughout the codebase. but you can start from rafthttp. |
@xiang90 Sure will start looking into it. |
@sinsharat Thanks a lot for taking care of this! |
@xiang90 you are most welcome :) |
Available as of 1.7
The text was updated successfully, but these errors were encountered: