Commit 96db1d57 authored by Sébastien Escudier's avatar Sébastien Escudier Committed by Rémi Denis-Courmont

Correctly handle multiple clients in httpd

Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent d7c5e805
......@@ -2474,6 +2474,7 @@ retry:
if( cl->fd != pufd->fd )
continue; // we were not waiting for this client
++nfd;
if( pufd->revents == 0 )
continue; // no event received
......@@ -2502,8 +2503,6 @@ retry:
{
cl->b_read_waiting = true;
}
++nfd;
}
vlc_mutex_unlock( &host->lock );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment