curl-library
Re: getinfo CURLINFO_LOCAL* broken (reused connections)
From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 30 Nov 2010 06:29:14 +0100
Date: Tue, 30 Nov 2010 06:29:14 +0100
2010/11/29 Frank Meier wrote:
> After looking at the code, I think the problem is that in Curl_initinfo()
> the ip/port info is reset. Maybe it's possible to skip this code there, if
> we can asure ip/port info is initialized once. But on the other hand this
> function seems to explicitly reset all the data in struct PureInfo, so it's
> maybe not the right approach to change this function.
I committed and pushed some changes a while ago, which I believe fixes
the issue, please get the latest git/snapshot and see how it works for
you!
-- -=[Yang]=- ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-11-30