mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
Added new event, MG_REQUEST_COMPLETE
This commit is contained in:
1 parent
a6678814af
commit
2824ae345d
2 files changed
+3
-1
No files matched your search
@@ -3910,6 +3910,7 @@ static void process_new_connection(struct mg_connection *conn) {
|
||||
conn->content_len = cl == NULL ? -1 : strtoll(cl, NULL, 10);
|
||||
conn->birth_time = time(NULL);
|
||||
handle_request(conn);
|
||||
call_user(conn, MG_REQUEST_COMPLETE);
|
||||
log_access(conn);
|
||||
discard_current_request_from_buffer(conn);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user