Updated net_skeleton, added extra_headers param to mg_send_file()

This commit is contained in:
Sergey Lyubka committed 2014-10-09 09:26:45 +01:00
1 parent 0918df1566
commit 4ca4c862a5
14 files changed
+225 -163

No files matched your search

@@ -27,7 +27,7 @@ static int send_reply(struct mg_connection *conn) {
return conn->content_len == 4 && !memcmp(conn->content, "exit", 4) ?
MG_FALSE : MG_TRUE;
} else {
mg_send_file(conn, "index.html");
mg_send_file(conn, "index.html", NULL);
return MG_MORE;
}
}