Skip to content
Snippets Groups Projects
Unverified Commit bc30298f authored by Stijn Tintel's avatar Stijn Tintel Committed by Rosen Penev
Browse files

motion: fix streaming


Streaming was broken since version 4.2. Backport upstream fix.

Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
(cherry-picked from 34718f5c)
parent 77d230b5
No related branches found
No related tags found
No related merge requests found
From c9bef916853c709fbf7f305da36da33ac4881660 Mon Sep 17 00:00:00 2001
From: Mr-DaveDev <MotionMrDaveDev@gmail.com>
Date: Sun, 1 Dec 2019 14:30:10 -0700
Subject: [PATCH] Remove poll option for mhd
closes #1063
---
webu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/webu.c
+++ b/webu.c
@@ -1828,7 +1828,7 @@ static void webu_mhd_opts(struct mhdstar
static void webu_mhd_flags(struct mhdstart_ctx *mhdst){
/* This sets the MHD startup flags based upon what user put into configuration */
- mhdst->mhd_flags = MHD_USE_THREAD_PER_CONNECTION | MHD_USE_POLL| MHD_USE_SELECT_INTERNALLY;
+ mhdst->mhd_flags = MHD_USE_THREAD_PER_CONNECTION;
if (mhdst->ipv6) mhdst->mhd_flags = mhdst->mhd_flags | MHD_USE_DUAL_STACK;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment