Re: HTTP request timeout and multi interface

2021-03-15 Thread Andrei Bica via curl-library
The suggested fix works. Now, the runtime interval is as expected, about 1000 ms. On Mon, Mar 15, 2021 at 3:01 PM Daniel Stenberg wrote: > On Sun, 14 Mar 2021, Daniel Stenberg via curl-library wrote: > > > I filed it as an issue for you: https://github.com/curl/curl/issues/6744 > > It'd be very

Re: HTTP request timeout and multi interface

2021-03-12 Thread Andrei Bica via curl-library
rg wrote: > On Mon, 8 Mar 2021, Andrei Bica via curl-library wrote: > > > By using CURLOPT_TIMEOUT we can only set the transfer timeout, which > doesn't > > include the time it waits for the transfer to begin. > > I believe this is wrong. > > CURLOPT_TIMEOUT

HTTP request timeout and multi interface

2021-03-08 Thread Andrei Bica via curl-library
Trying to make multiple HTTP requests using multi interface with CURLMOPT_MAX_TOTAL_CONNECTIONS set to 1 will result in the requests being serialized, one at a time. Is there a way (API feature) to limit how long the request will take, including the time it waits in the internal queue of multi hand