Commit 7c0ae26a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

httpd: handle Connection header in OPTIONS requests

parent 64462809
......@@ -1795,6 +1795,9 @@ static void httpdLoop(httpd_host_t *host)
if (httpd_MsgGet(&cl->query, "Connection") != NULL)
httpd_MsgAdd(answer, "Connection", "close");
cl->i_buffer = -1; /* Force the creation of the answer in
* httpd_ClientSend */
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