cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [CURL-LIBRARY] getinfo CURLINFO_LOCAL* broken (reused connections)

From: RHYS TWELVES <codemonkey12s_at_btopenworld.com>
Date: Tue, 30 Nov 2010 14:37:01 +0000 (GMT)

Hey there. Sorry to hijack this thread, but wouldn't it make sense to use a subject line such as the one I've used this time, to allow people to filter emails sent to/from the list? cheers, code12smonkey.   ________________________________ From: Frank Meier <frank.meier@ergon.ch> To: curl-library@cool.haxx.se Sent: Tuesday, 30 November, 2010 14:11:26 Subject: Re: getinfo CURLINFO_LOCAL* broken (reused connections) Hi I'm afraid, the problem still exists. Now the ip info of the last request which created (didn't reuse) a connection is returned. if I use my demo code from above like ... performEasyRequest("http://127.0.0.1"); performEasyRequest("http://somehost:8020"); performEasyRequest("http://127.0.0.1"); ... I get lip:127.0.0.1 lport:41451 <---> rip:127.0.0.1 rport:80 ... lip:[myIp] lport:54759 <---> rip:[somehostIp] rport:8020 ... lip:[myIp] lport:54759 <---> rip:[somehostIp] rport:8020 the problem is, in the third request I expect to get the same info as in the first request, but the fields local_ip/port and primary_port are the same as in the second request. ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette:  http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-30