trac 18 deal with service connection timing out 32/3132/1
authorAndy Green <andy.green@linaro.org>
Wed, 20 Feb 2013 11:11:31 +0000 (19:11 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:37 +0000 (13:01 -0800)
commit05989adebd9b14188c3f890a5e99df9b709e82e0
tree967a51d9094a9cd25ed0960193cd59b4b998df08
parenta7d43711b28fff0900ec40b338c0cc5423e0c389
trac 18 deal with service connection timing out

While looking at http://libwebsockets.org/trac/ticket/18
noticed the flow for timeout in service_fd will do bad things
if the fd we came to service has timed out.  It gets freed and
then "serviced'.

Reported-by: Joakim Soderberg <joakim.soderberg@gmail.com>
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.c
lib/private-libwebsockets.h