News for hackers. Stuff that matters.
Re:Httpx: A Ruby HTTP library by cranej on Wednesday October 30, 2019 @05:05AM (#21395761)
And I guess it won't return unless all pages are fetched? even worse...
Re:Httpx: A Ruby HTTP library by chucke on Wednesday October 30, 2019 @05:31AM (#21395890)
There are timeouts involved, that is, you'll get error responses. Feel free to try the example scripts.
Re:Httpx: A Ruby HTTP library by cranej on Wednesday October 30, 2019 @09:43PM (#21404915)
> ...while baking in support for concurrent requests...

Timeout does not help here - if the api is for concurrent requests, it's bad that caller cannot do anything before `(the slowest request finished || timeout exceeded)`.