mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 21:31:13 +00:00
Should be Connection: close, and not closed.
It has been there since v1.3... Thanks to Jonas Jensen <jbj@knef.dk> to noticed it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12353 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9318af9842
commit
872b23f46d
@ -466,7 +466,7 @@ http_send_request( URL_t *url, off_t pos ) {
|
||||
|
||||
if (network_cookies_enabled) cookies_set( http_hdr, server_url->hostname, server_url->url );
|
||||
|
||||
http_set_field( http_hdr, "Connection: closed");
|
||||
http_set_field( http_hdr, "Connection: close");
|
||||
http_add_basic_authentication( http_hdr, url->username, url->password );
|
||||
if( http_build_request( http_hdr )==NULL ) {
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user