Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Set read timeout separately from connect timeout #107

Open
FGasper opened this issue Aug 10, 2017 · 0 comments
Open

Set read timeout separately from connect timeout #107

FGasper opened this issue Aug 10, 2017 · 0 comments
Labels

Comments

@FGasper
Copy link
Contributor

FGasper commented Aug 10, 2017

Would it be feasible to introduce either of two changes:

  1. A read_timeout setting that defaults to the regular timeout but is used as an override when HTTP::Tiny::Handle is instantiated

  2. The ability to specify a class to use in place of HTTP::Tiny::Handle (which would allow implementors to subclass H::T::Handle to achieve a custom tiemout)

Right now the same timeout length is always used for the connect as for reads, though H::T::Handle accepts its own timeout and thus could accommodate a distinct value.

@xdg xdg added the Wishlist label Jul 20, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants