Commit b0247e59 authored by Ilkka Ollakka's avatar Ilkka Ollakka

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

parent b2c48abb
...@@ -1287,6 +1287,7 @@ static int Request( access_t *p_access, uint64_t i_tell ) ...@@ -1287,6 +1287,7 @@ static int Request( access_t *p_access, uint64_t i_tell )
p_sys->b_persist = true; p_sys->b_persist = true;
net_Printf( p_access, p_sys->fd, pvs, net_Printf( p_access, p_sys->fd, pvs,
"Range: bytes=%"PRIu64"-\r\n", i_tell ); "Range: bytes=%"PRIu64"-\r\n", i_tell );
net_Printf( p_access, p_sys->fd, pvs, "Connection: close\r\n" );
} }
/* Cookies */ /* Cookies */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment