ip_version: moved to connection struct
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Nov 2010 13:51:39 +0000 (14:51 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Nov 2010 14:16:21 +0000 (15:16 +0100)
commita1f32ffee540bcef046dc499938585c5da9d0aa8
treeb4eab16b09769defe5ebc40805d330ff36d9e120
parentfec5f03e22c815c485d6381b2d5a83579a72996c
ip_version: moved to connection struct

The IP version choice was previously only in the UserDefined struct
within the SessionHandle, but since we sometimes alter that option
during a request we need to have it on a per-connection basis.

I also moved more "init conn" code into the allocate_conn() function
which is designed for that purpose more or less.
lib/connect.c
lib/hostares.c
lib/hostip.c
lib/hostip.h
lib/hostip4.c
lib/hostip6.c
lib/hostthre.c
lib/url.c
lib/urldata.h