Skip to content
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

Request timeouts #19

Merged
merged 2 commits into from
Feb 2, 2014
Merged

Request timeouts #19

merged 2 commits into from
Feb 2, 2014

Conversation

tsenart
Copy link
Owner

@tsenart tsenart commented Feb 2, 2014

At the moment requests don't timeout from the client side. For misbehaving servers this can be a problem as the test will hang.
Implementing client side timeouts, I believe, can be done with a custom http.Transport, time.After and http.Transport#CancelRequest.

@peterbourgon
Copy link
Contributor

🆙

@tsenart
Copy link
Owner Author

tsenart commented Jan 30, 2014

This weekend I'll have a Vegeta session.

@peterbourgon
Copy link
Contributor

😎

tsenart added a commit that referenced this pull request Feb 2, 2014
@tsenart tsenart merged commit 7f14c52 into master Feb 2, 2014
@tsenart tsenart deleted the timeouts branch February 2, 2014 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants