multi interface: missed storing connection time
authorDaniel Stenberg <daniel@haxx.se>
Fri, 7 May 2010 21:49:29 +0000 (23:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 May 2010 21:49:29 +0000 (23:49 +0200)
commitadaf87530dc561314a2261fa6d26c38ce999876f
treea261b70cd941fbe8c4986f06f33dd1aeaf71675d
parent8914857092f1c7ceb3342b9c4f5e03587e634f5d
multi interface: missed storing connection time

Dirk Manske reported a regression. When connecting with the multi
interface, there were situations where libcurl wouldn't store
connect time correctly as it used to (and is documented to) do.

Using his fine sample program we could repeat it, and I wrote up
test case 573 using that code. The problem does not easily show
itself using the local test suite though.

The fix, also as suggested by Dirk, is a bit on the ugly side as
it adds yet another call to Curl_verboseconnect() and setting the
TIMER_CONNECT time.  That situation is subject for some closer
inspection in the future.
CHANGES
RELEASE-NOTES
lib/connect.c
lib/url.c
lib/url.h
tests/data/Makefile.am
tests/data/test573 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib573.c [new file with mode: 0644]