cURL / Mailing Lists / curl-users / Single Mail

curl-users

http GET response is not received by curl where as it is received by the kernel

From: Guru Prasad <bgurup.ndk_at_gmail.com>
Date: Sat, 24 May 2014 16:01:41 +0530

Hello,

I am not sure about the query I am asking here is already discussed in this
forum. If yes, can you please provide me the pointer where I can refer. If
not, please help me in this regard.

I am using libcurl version 7.19.5 and running on a embedded platform. The
strange behaviour I am observing here is the http GET response packet is
received by the kernel (packet capture tool shows this), but not received
by curl. Curl is waiting on poll(). I have used select() as well, by
disabling the poll related macros. Still, no luck in receiving the http
response packet.
Interesting part is: during this stage, if 'iptables -L' command is issued,
poll() or select() in curl returns indicating about the data.

I am not able to detect where exactly the response packet is blocked. Had
anyone faced this issue? Please shed some lights on this issue.

Best Regards,
bgurup

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-24