curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

How is --parallel handled when --proxy is set ?

From: Markur Sens via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 29 May 2023 11:28:11 +0300

Hello,

Can someone explain how the cli handles —parallel transfers along with —proxy is set ?

So in the following scenario and assuming —keep alive is kept true.

 curl —proxy \
        —parallel \
        —parallel-max 10
        —retry \
        —retry-delay 60 \
        —retry

Are the following assumptions correct?

- At any given moment there are max 10 conns to the proxy = end host. Is this correct ?

- The —retry applies to what host exactly? There are cases where the end host errors (e.g. connect refused or similar) or proxy errors (e.g. socks server timeouts / user refused etc.) . If the end host throw an error, is the proxy connection kept open, or the complete connection local-proxy-end host is reset completely ?





-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-05-29