]> git.sesse.net Git - vlc/blobdiff - modules/access/http.c
access_http: add connection: close to headers, we close the connection anyway when...
[vlc] / 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 */