mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-18 19:31:02 +00:00
Added mjpg example
This commit is contained in:
1 parent
ed8168e8a1
commit
b77532ea3f
3 files changed
+10
-2
No files matched your search
@@ -4783,6 +4783,10 @@ static void mg_ev_handler(struct ns_connection *nc, enum ns_event ev, void *p) {
|
||||
break;
|
||||
|
||||
case NS_POLL:
|
||||
if (call_user(conn, MG_POLL) == MG_TRUE) {
|
||||
nc->flags |= NSF_FINISHED_SENDING_DATA;
|
||||
}
|
||||
|
||||
if (conn != NULL && conn->endpoint_type == EP_FILE) {
|
||||
transfer_file_data(conn);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user