curl / Mailing Lists / curl-library / Single Mail

curl-library

control connections

From: Name via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 19 Dec 2018 00:21:02 +0300

how to send requests via 2 isolated connections through 1 proxy to one host?
example:
host: example.com
proxy:
127.0.0.1:9050

easy1 = curl_easy_create + CURLOPT_PROXY 9050..
easy2 = curl_easy_create + CURLOPT_PROXY 9050..
...
multi_add_handle( ... easy1, easy)

how i pass requests q1, q2 by connection of easy1, and q3,q4 by
connection easy2 ?
can i use for this task:

CURLOPT_FRESH_CONNECT + curl_easy_reset
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-12-18