Skip to content
Snippets Groups Projects
Commit 9e4c917c authored by Andy Green's avatar Andy Green
Browse files

fix broken listen socket piggybacking

As reported here

http://libwebsockets.org/trac/ticket/11



the code for connection storm handling had rotted, fds[0] is no longer
always related to the listen socket when serving.

This patch updates it to determine the listen socket correctly to stop
infinite recursion here.

Reported-by: amn
Signed-off-by: default avatarAndy Green <andy.green@linaro.org>
parent a690cd06
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment