node-libcurl icon indicating copy to clipboard operation
node-libcurl copied to clipboard

Parallel requests with the same curl instance

Open iamoskvin opened this issue 1 year ago • 1 comments

It looks like currently it is impossible because of this check: ""The last request is sending; don't send one more request on one instance!"" Is it because of restrictions on the underlying library? What could be the best workaround? Why do I need this? In the app that I try to mimic Chrome, it makes two requests in parallel, and ideally I would like to achieve the same. Are there any ways other than using two separate curl instances instead of a common one? 

Thanks.

iamoskvin avatar Oct 24 '24 14:10 iamoskvin

Concurrent requests on the same instance can be implemented, but there is currently no code to implement it.

Ossianaa avatar Oct 25 '24 11:10 Ossianaa