curl-library
HTTP 1.0 and multi handle question
Date: Mon, 30 Aug 2004 10:41:35 +0300
Hi,
I am using the 7.12.0 libcurl version and have some strange behavior
when the multi handle is used to proceed some easy handle with few HTTP
1.0 transactions.
I use one easy handle to send these transactions. Since it is HTTP 1.0
(without permanent features) the connection MUST be closed by client
after each of finished transactions. I suppose that Curl_done must be
called on the handle and then on next transaction the connection is
opened again.
But sometimes I see (on the same connection) something like this:
----------------------------------------------------------------------
ET http://www.cnn.com/cnn.rss HTTP/1.0
Host: www.cnn.com
Pragma: no-cache
Accept: */*
HTTP/1.1 200 OK
Proxy-Connection: close
Age: 3563
Accept-Ranges: bytes
Date: Wed, 04 Aug 2004 16:50:23 GMT
Content-Length: 723
Content-Type: text/plain
Server: Netscape-Enterprise/6.1 AOL
DATA ...
GET http://www.cnn.com/cnn.rss HTTP/1.0
Host: www.cnn.com
Pragma: no-cache
Accept: */*
-------------------------------------------------------
Note: Then the connection is closed by the server.
What do I do wrong ?
Tnx
Roma
*****************************
Finjan Software
This e-mail and any attached files are confidential and may be legally
privileged. The unauthorized use, disclosure or copying of this email or
any information contained within it is strictly prohibited. This also
confirms that Finjan Software's Vital Security for E-Mail has scanned this
message for the presence of known viruses and potentially malicious
code.
Finjan Software - Prevention is the Best Cure!
*****************************
Received on 2004-08-30