mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-23 20:11:49 +00:00
Pass reply status code to MG_REQUEST_COMPLETE
This commit is contained in:
1 parent
5b786a5089
commit
8455742440
2 files changed
+4
-2
No files matched your search
@@ -4826,6 +4826,7 @@ static void process_new_connection(struct mg_connection *conn) {
|
||||
}
|
||||
conn->birth_time = time(NULL);
|
||||
handle_request(conn);
|
||||
conn->request_info.ev_data = (void *) conn->status_code;
|
||||
call_user(conn, MG_REQUEST_COMPLETE);
|
||||
log_access(conn);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user