]> granicus.if.org Git - curl/commit
Peter Sylvester found a flaw in the connect code for ipv6-enabled hosts.
authorDaniel Stenberg <daniel@haxx.se>
Thu, 13 Nov 2003 13:28:40 +0000 (13:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 13 Nov 2003 13:28:40 +0000 (13:28 +0000)
commit43bb20461fd5fa000eaf6bb7a321c7c92a996ab4
tree8b603800272e150ede0471aded33c4cecadc1b5b
parentb9d3c7117820e509609293e8b47ec5937d5e30cc
Peter Sylvester found a flaw in the connect code for ipv6-enabled hosts.
I guess it seldomly happens on linux and that's why it wasn't found before.
He used Solaris to notice it.

I took the opportunity to rewrite the Curl_connecthost() slightly to feature
less duplicate code in the two different versions (ipv4/ipv6).
CHANGES
lib/connect.c