cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re[2]: dns via socks5 failed?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 18 Dec 2007 23:39:46 +0100 (CET)

On Tue, 18 Dec 2007, Maxim Perenesenko wrote:

> SOCKS5 supports resolving DNS names. SOCKS5 connection packet from client
> (f.e. libcurl) could include IP or string name for SOCKS5 server to resolve
> and connect to. However, as I see from sources 7.17.1 libcurl does not
> support this. Name resolution is performed in libcurl itself, before sending
> SOCKS5 connect ask.
>
> ref: lib/socks.c lines #525 #530
>
> By the way, it is not so hard to add this functionality into libcurl.

Aha!

Any chance you can put together a complete patch for us out of your nice
suggestion?
Received on 2007-12-18