Commit 292ce626 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

httpd: handle Connection header in redirections

parent a8100018
......@@ -551,6 +551,9 @@ static int httpd_RedirectCallBack(httpd_callback_sys_t *p_sys,
httpd_MsgAdd(answer, "Content-Length", "%d", answer->i_body);
if (httpd_MsgGet(&cl->query, "Connection") != NULL)
httpd_MsgAdd(answer, "Connection", "close");
return VLC_SUCCESS;
}
......
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