cURL / Mailing Lists / curl-library / Single Mail

curl-library

Question about CURLOPT_FORBID_REUSE not work!!

From: ภ่ะกปิ <lixiaohui9219_at_126.com>
Date: Tue, 14 Aug 2012 15:23:59 +0800 (CST)

Hi all,
 
Why collection:close not be sent to the server when my app used "curl_easy_setopt(fileData->curl, CURLOPT_FORBID_REUSE, 1)" ?
 
The following is the client's request infos and server's anwser infos of my app: GET / HTTP/1.1

Authorization: Basic c3BvcjU6MjIyNA==

Range: bytes=0-

User-Agent: HbbTV1.1.1(;;;;;); CE-HTML; SPARK

Host: iptv.tjurk.com:5953

Accept: */*

transferMode.dlna.org: Interactive

HTTP/1.1 200 OK

Server: nginx

Date: Tue, 14 Aug 2012 06:45:00 GMT

Content-Type: application/octet-stream

Transfer-Encoding: chunked

Connection: keep-alive // why the value is not "close"

Keep-Alive: timeout=2

Cache-Control: no-cache
 ---------------------------------------------------------------
 
And VLC player is ok ,below is VLC player's request infos and server's anwser infos:GET / HTTP/1.1

Host: iptv.tjurk.com:5953

User-Agent: VLC/2.0.3 LibVLC/2.0.3

Range: bytes=0-

Connection: close

Authorization: Basic c3BvcjU6MjIyNA==

Icy-MetaData: 1

HTTP/1.1 200 OK

Server: nginx

Date: Tue, 14 Aug 2012 06:47:06 GMT

Content-Type: application/octet-stream

Transfer-Encoding: chunked

Connection: close // value is "close"

Cache-Control: no-cache
---------------------------------------------------------Thank you!

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-14