cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3432118 ] curl_exec hangs up

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sat, 12 Nov 2011 14:26:27 -0800

Bugs item #3432118, was opened at 2011-11-01 19:14
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3432118&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: hang
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Daniel Stenberg (bagder)
Summary: curl_exec hangs up

Initial Comment:
I am trying to down load http://www.poway.org/Index.aspx?page=14
I have code that works for http://www.eastmeetswesttack.com/Index.aspx?page=14 using cURL or fsockopen, but neither works for poway.org (or reno.gov)
CURLOPT_VERBOSE, as shown in my test.txt file, shows an indication of success, HTTP/1.1 200 OK, in all cases
From my windows XP computer I can make it work using Telnet by sending either:
GET /Index.aspx?page=14 HTTP/1.1
Host: www.poway.org
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Connection: close
or
GET /Index.aspx?page=14 HTTP/1.1
Host: www.poway.org
Accept-Encoding: gzip, deflate
Connection: close

curl version: libcurl/7.21.6 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
PHP Version 5.2.17
Linux glacier.dns8.net 2.6.18-194.32.1.el5xen #1 SMP Wed Jan 5 18:44:24 EST 2011 x86_64

I attached files with examples

My guess is that this is not a cURL problem but a system problem because, while I dont get any response with my fsocketopen example, it pretty much does the same thing.

Thank you
Kent_at_drdoppler.com

----------------------------------------------------------------------

>Comment By: https://www.google.com/accounts ()
Date: 2011-11-12 14:26

Message:
I got it to work on my Windows XP machine at home using the config
file:below. Now at my ISP the log file says
< HTTP/1.1 200 OK
< Cache-Control: private
< Content-Length: 92918
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/7.5
< X-AspNet-Version: 1.1.4322
< Set-Cookie: ASP.NET_SessionId=c5jsod55sxhkix55mjaomr45; path=/
< X-Powered-By: ASP.NET
< Date: Sat, 12 Nov 2011 22:22:38 GMT
<
* Connection #0 to host www.poway.org left intact
* Closing connection #0

But it times out with no data. I'll see if I can get my ISP to help.
Kent

config filr at home
url="http://poway.org/Index.aspx?page=14"
--header "Host:www.poway.org"
user-agent ="Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3)
Gecko/20041001 Firefox/0.10.1"
referer ="www.powaydays.com"
--progress-bar
--dump-header dumpheader.txt
--output poway.html
--trace trace.txt
--trace-time

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2011-11-11 13:13

Message:
Thanks for reporting this issue and helping us improve curl and libcurl.

We're awaiting feedback in this issue. Due to this, I have set the state of
this issue to pending and it will automatically get closed later on unless
we get further info.

Please consider answering the outstanding questions or providing the
missing info so that we can proceed to resolve this issue!

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2011-11-03 15:03

Message:
Can you please instead use the command line tool curl with "--trace-ascii
logdump.txt" and show us what it saves in the dump? Do notice that this bug
tracker is for curl and libcurl, not the PHP binding for libcurl which is
handled by the PHP project.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3432118&group_id=976
Received on 2011-11-12

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET