mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-18 19:31:02 +00:00
Fix mjpg_streamer example
This commit is contained in:
1 parent
2ff2c369f7
commit
09a80628e6
2 files changed
+7
-1
No files matched your search
@@ -5362,6 +5362,11 @@ static void mg_ev_handler(struct ns_connection *nc, int ev, void *p) {
|
||||
write_terminating_chunk(conn);
|
||||
}
|
||||
close_local_endpoint(conn);
|
||||
/*
|
||||
* MG_POLL callback returned MG_TRUE,
|
||||
* i.e. data is sent, set corresponding flag
|
||||
*/
|
||||
conn->ns_conn->flags |= NSF_FINISHED_SENDING_DATA;
|
||||
}
|
||||
|
||||
if (conn->endpoint_type == EP_FILE) {
|
||||
|
||||
Reference in new issue
Block a user