[freetds] IPv6 patch

Peter Deacon peterd at iea-software.com
Mon Oct 11 12:36:38 EDT 2010


On Mon, 11 Oct 2010, Frediano Ziglio wrote:

> 2010/10/11 Peter Deacon <peterd at iea-software.com>

> Good. It seems your patch support multiple IP addresses too. I don't
> understand why you move code for port.

Hi Freddy,

Was originally trying to get the port labels resolved before doing the 
name lookup so the addrinfo structure would not need to be patched later.

This would have kept from having to use any IPv6 specific structures.. 
Eventually realized it wouldn't work.  The order can be switched back.

> Also you remove timeout code connecting to the server.

Sorry, noticed the timeout was sequenced after connect and didn't realize 
it was doing an NB select for connection completion later :(

I'll send a patch for v6 dynamic ports with a different patch I'm working 
on soon.

regards,
Peter



More information about the FreeTDS mailing list