http_error callback

Allow user to display status code errors
This commit is contained in:
Joe Mucchiello committed 2013-02-10 15:58:06 -05:00
1 parent 1cb094e059
commit 2efc5d9fce
2 files changed
+19 -15

No files matched your search

+1
View File
@@ -67,6 +67,7 @@ struct mg_callbacks {
const char *path, size_t *data_len);
void (*init_lua)(struct mg_connection *, void *lua_context);
void (*upload)(struct mg_connection *, const char *file_name);
int (*http_error)(struct mg_connection *, int status);
};
// Start web server.