cURL / Mailing Lists / curl-library / Single Mail

curl-library

"Timeout was reached" error

From: amit paliwal <amit.ambitions_at_gmail.com>
Date: Thu, 18 Aug 2011 20:38:24 -0400

Hi,

I am trying following scenario:

1) Use CONNECT_ONLY option to connect to the server
2) Once connection happens, I am manually constructing a HTTP GET and
sending it to Server
3) Server is replying with HTTP 200 OK with subheader transfer-encoding:
chunked
4) Disabling CONNECT_ONLY option
5) Receiving a chunk from Server, which has some meaning for my application
6) preparing HTTP POST and sending it to server by calling easy_perform(),
immediate return type of this perform is "Timeout was reached"

I am not able to understand why this is happening??

What is going wrong here?

-- 
Regards,
Amit

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-19