[vlc-commits] commit: access_http: add connection: close to headers, we close the connection anyway when seeking (Ilkka Ollakka )

git at videolan.org git at videolan.org
Thu May 20 12:14:21 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed May 19 12:32:57 2010 +0300| [b0247e59d5b2b3556f44295f6276a00d222f9277] | committer: Ilkka Ollakka 

access_http: add connection: close to headers, we close the connection anyway when seeking

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0247e59d5b2b3556f44295f6276a00d222f9277
---

 modules/access/http.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 9fc2a74..23dc4ec 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -1287,6 +1287,7 @@ static int Request( access_t *p_access, uint64_t i_tell )
         p_sys->b_persist = true;
         net_Printf( p_access, p_sys->fd, pvs,
                     "Range: bytes=%"PRIu64"-\r\n", i_tell );
+        net_Printf( p_access, p_sys->fd, pvs, "Connection: close\r\n" );
     }
 
     /* Cookies */



More information about the vlc-commits mailing list