cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: TFTP nits

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 6 Sep 2005 12:34:26 +0200 (CEST)

On Mon, 5 Sep 2005, John Kelly wrote:

> There is code in lib/hostip6.c (line 256) that should take care of this.
> When I strace the commands on linux, I am seeing UDP sockets both under 2.4
> and 2.6 kernels. There may be a better way to handle this--being
> not-so-familiar with the code, I was just looking to keep the switch as
> close to the socket() call as possible.

The problem Gisle points out is the code on line 807 in lib/hostthre.c which
sets up the resolving for the IPv6-capable threaded resolver.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-09-06