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

+1 -1
View File
@@ -88,7 +88,7 @@ static int ev_handler(struct mg_connection *conn, enum mg_event ev) {
}
// Not a CONNECT request, serve HTML file.
mg_send_file(conn, "ws_ssl.html");
mg_send_file(conn, "ws_ssl.html", NULL);
return MG_MORE;
default: