cURL / Mailing Lists / curl-library / Single Mail

curl-library

Need urgent input: HTTP GET going twice

From: amit paliwal <amit.ambitions_at_gmail.com>
Date: Thu, 11 Aug 2011 11:17:31 -0400

Hi All,

I have this piece of code:

while(1)
        {

            /*Perform initial transaction to fetch URL of DAS*/
            res = curl_easy_perform(pCtx);

            if (res == CURLE_OK)
            {

                break;
            }
            else
            {

                return -1;
            }

        }

This will send HTTP GET and wait for HTTP 200 OK response to come. I am
seeing in wireshark that this is done, but I see that immediately after some
time another GET request is sent on a different TCP port. What can be the
reason for this?

-- 
Regards,
Amit


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2011-08-11