cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1969808 ] libcurl dont recognize connection close

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 22 May 2008 12:17:48 -0700

Bugs item #1969808, was opened at 2008-05-22 11:51
Message generated for change (Comment added) made by dfandrich
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1969808&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: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Joel Iturra (iturrajoel)
Assigned to: Daniel Stenberg (bagder)
Summary: libcurl dont recognize connection close

Initial Comment:
Hi,
I am using curl 7.18.1 and I have one problem. I think it is confluence of situations

*) HTTP Server: Weblogic Server 8.1 SP2
*) connection is too bad (very remote location)
*) libcurl dont see the connection is closed

Debug lines:

< HTTP/1.1 302 Moved Temporarily
< Date: Thu, 22 May 2008 18:14:52 GMT
< Location: http://URL/psp/finzp/EMPLOYEE/ERP/h/?tab=DEFAULT
< Server: WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
< Content-Type: text/html
< Expires: Thu, 01 Dec 1994 16:00:00 GMT
< Transfer-Encoding: chunked
< Connection: Close
* Issue another request to this URL: 'http://URL/psp/finzp/EMPLOYEE/ERP/h/?tab=DEFAULT'
* Examining connection #0 for reuse
* Re-using existing connection! (#0) with host URL
* Connected to URL (IP) port 80 (#0)
> GET /psp/finzp/EMPLOYEE/ERP/h/?tab=DEFAULT HTTP/1.1

As you can see, the server close the connection, but libcurl dont detect and try to use the same #0.
Result, no data received.

(please forgive my english)

Thank you
Joel

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

>Comment By: Dan Fandrich (dfandrich)
Date: 2008-05-22 12:17

Message:
Logged In: YES
user_id=236775
Originator: NO

This looks a lot like test case 11 in the test suite, which passes fine. I
tried modifying it to more closely match exactly these headers and it still
works fine. What command-line options are you using? What platform is this
on?

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1969808&group_id=976
Received on 2008-05-22

These mail archives are generated by hypermail.

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

File upload with ASP.NET