curl-users
RE: Curl not closing control connection after request is completed?
Date: Mon, 2 Feb 2004 16:25:51 -0600
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.
-----Original Message-----
From: curl-users-admin_at_lists.sourceforge.net
[mailto:curl-users-admin_at_lists.sourceforge.net] On Behalf Of Daniel
Stenberg
Sent: Monday, February 02, 2004 4:14 PM
To: Curl Mailinglist
Subject: Re: Curl not closing control connection after request is
completed?
On Mon, 2 Feb 2004, David Fells wrote:
> OS: Cobalt Linux 6.0 (RaQ4)
> cURL: curl 7.11.0 (i586-pc-linux-gnu) libcurl/7.11.0 OpenSSL/0.9.7c
> zlib/1.1.3
>
> I'm issuing the following command:
> 'curl -m 10 -H "Connection: close" -d "<xml document in here>"
> https://host.domain.com:port
Why the "Connection: close" ?
> I receive an XML document in reply as expected, but rather than
> returning to a prompt, it sits indefinitely at a cursor. It will not
> terminate until I hit ^C to break.
This isn't normal behavior. Do you have any particular network setup
other than plain fine unrestricted internet access? (Like a NAT,
firewall, IP masq, or similar)
Can you get data fine using curl from other (SSL-using) hosts?
-- 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/osdnReceived on 2004-02-02