cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Curl not closing control connection after request is completed?

From: David Fells <david_at_turningminds.com>
Date: Tue, 3 Feb 2004 08:35:15 -0600

read(3, "", 5) = 0
getpid() = 1840
read(3, "", 5) = 0
getpid() = 1840
read(3, "", 5) = 0
getpid() = 1840
read(3, "", 5) = 0
getpid() = 1840
read(3, "", 5) = 0
getpid() = 1840
read(3, "", 5) = 0
getpid() = 1840
read(3, "", 5) = 0
getpid() = 1840
read(3, "", 5) = 0
getpid() = 1840
read(3, "", 5) = 0
getpid() = 1840
read(3, "", 5) = 0
getpid() = 1840

It did this for quite some time until I broke.

-----Original Message-----
From: curl-users-admin_at_lists.sourceforge.net
[mailto:curl-users-admin_at_lists.sourceforge.net] On Behalf Of Daniel
Stenberg
Sent: Tuesday, February 03, 2004 4:03 AM
To: Curl Mailinglist
Subject: RE: Curl not closing control connection after request is
completed?

On Mon, 2 Feb 2004, David Fells wrote:

> If I send a GET request, the connection closes normally after I
> receive the data. The Connection: close header is supposed toe tell
> the remote host to close the connection after replying (or so I read
> somewhere) and I threw it in for experimentation sake.

Can you run 'strace curl [options]' and show us the last ~20 lines
(before you press control-c) or so?

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the
breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-02-03