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

Add support for timeouts in HTTP package #10411

Closed
DartBot opened this issue May 3, 2013 · 7 comments
Closed

Add support for timeouts in HTTP package #10411

DartBot opened this issue May 3, 2013 · 7 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-duplicate Closed in favor of an existing report P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented May 3, 2013

This issue was originally filed by [email protected]


Some sort of timeout support for HTTP package would be very useful.

Example:

  http.read('http://google.com', timeout: const Duration(seconds: 5));

@DartBot
Copy link
Author

DartBot commented May 3, 2013

This comment was originally written by @seaneagan


this is very similar to issue #10119, which would allow you to do:

http.read('http://google.com').withTimeout(const Duration(seconds: 5));

@DartBot
Copy link
Author

DartBot commented May 3, 2013

This comment was originally written by [email protected]


I see. I tried to search "http timeout" and didn't see that one.

Starred the other issue, it's a good generic approach indeed.

@madsager
Copy link
Contributor

madsager commented May 6, 2013

cc @sgjesse.
Added Area-Pkg, Triaged labels.

@sethladd
Copy link
Contributor

Is this still valid? Does the http package handle this now?


cc @munificent.
Removed Type-Defect, Priority-Medium labels.
Added Type-Enhancement, Priority-Low, Pkg-Http labels.

@munificent
Copy link
Member

Punting to @­nweiz.


cc @nex3.

@nex3
Copy link
Member

nex3 commented Jul 17, 2014

Added Duplicate label.
Marked as being merged into #19831.

@DartBot DartBot added Type-Enhancement P3 A lower priority bug or feature request area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-duplicate Closed in favor of an existing report labels Jul 17, 2014
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/http#10.

@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-duplicate Closed in favor of an existing report P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

6 participants