mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Updated net_skeleton, added extra_headers param to mg_send_file()
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user