-
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
fix small bugs that are found in issue #579 #598
Conversation
fix #579 |
// and would be available in Go1.3 | ||
// More: https://codereview.appspot.com/69280043/ | ||
ConnectTimeout: dialTimeout, | ||
ReadWriteTimeout: responseHeaderTimeout, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still suggest explicitly setting RequestTimeout
, for clarity (rather than relying on default)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mreiferson That makes sense.
…cked Currently this is a workaround. And it should be fixed in Go1.3.
Setting request timeout is covered by go-httpclient now.
@xiangli-cmu |
lgtm |
fix bugs that are found in issue #579
fix #579