http icon indicating copy to clipboard operation
http copied to clipboard

Timeout workflow is not well-documented

Open csuhta opened this issue 5 years ago • 1 comments

I only recently started using this gem, and the documentation on how to handle request timeouts isn't very clear. I'm happy to update the wiki but I wanted to make sure this is correct:

If you are using HTTP.timeout(10).get(…) is the proper workflow to catch the HTTP::Timeout exception? Or is HTTP::Timeout only raised in default/internal code circumstances?

https://github.com/httprb/http/wiki/Timeouts

csuhta avatar Sep 01 '20 06:09 csuhta

I'd love to see some illumination on this, particularly as regards thread safety.

uberllama avatar Aug 30 '21 20:08 uberllama