]> git.sesse.net Git - vlc/commitdiff
access_http: add connection: close to headers, we close the connection anyway when...
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 19 May 2010 09:32:57 +0000 (12:32 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 20 May 2010 10:13:29 +0000 (13:13 +0300)
modules/access/http.c

index 9fc2a74b86474784400adcaa76980a04ea651e63..23dc4ec2312af476d38a3e53efb5bf23b0737f57 100644 (file)
@@ -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 */