Mailing Lists
|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:feature-requests] #68 Make CURLOPT_INTERFACE affect DNS requests too (where possible)
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Mon, 30 Sep 2013 06:38:39 +0000
- **status**: open --> closed-accepted
--- ** [feature-requests:#68] Make CURLOPT_INTERFACE affect DNS requests too (where possible)** **Status:** closed-accepted **Created:** Fri Feb 08, 2013 08:58 PM UTC by Kim Vandry **Last Updated:** Fri Feb 08, 2013 08:58 PM UTC **Owner:** Daniel Stenberg I am using curl_easy_setopt(CURLOPT_INTERFACE, "if!something") to force transfers to use a particular interface but this doesn't make DNS requests use that interface. I think most users would expect use of CURLOPT_INTERFACE to affect all network traffic generated by the transfer including DNS requests. If c-ares is in use, this is actually easy to implement. With the attached patch, when using CURLOPT_INTERFACE, DNS requests are also bound to the specified interface. If c-ares is not in use or if the c-ares version is too old to support this, the behaviour is the same as it is now. I could have made it fail with CURLE_NOT_BUILT_IN but I don't think that's a good idea. --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2013-09-30 These mail archives are generated by hypermail. |
Page updated May 06, 2013.
web site info