cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 2 Feb 2004 23:14:06 +0100 (CET)

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
Received on 2004-02-02