libwebsockets/lib
Graham Newton b1aa1d3389 handle HUP on any mode socket
I am using libwebsockets on Windows 7 in external poll mode.
I am finding that if I present a socket fd on a normal HTTP connection
(LWS_CONNMODE_HTTP_SERVING:) to libwebsocket_service_fd with just a HUP
event, the event doesn't get handled but revents gets cleared indicating
that the event has been handled.  Should it be handled in the same way
as LWS_CONNMODE_WS_SERVING?

(Modified by AG to apply to all sockets)

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Graham Newton <gnewton@peavey-eu.com>
2013-11-04 09:47:06 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
base64-decode.c remove bae64 decode and selftest 2013-09-18 20:57:59 +08:00
client-handshake.c make header protection unique remove __prefix 2013-10-26 20:23:00 +08:00
client-parser.c reflect send completeness in lws_write return 2013-02-23 10:50:10 +08:00
client.c make header protection unique remove __prefix 2013-10-26 20:23:00 +08:00
daemonize.c Hide private library symbols 2013-03-30 09:52:21 +08:00
extension-deflate-frame.c style cleanup 2013-02-11 17:13:32 +08:00
extension-deflate-frame.h Separate compression levels for server and client, 2013-01-10 12:45:54 +08:00
extension-deflate-stream.c style cleanup 2013-02-11 17:13:32 +08:00
extension-deflate-stream.h remove fixed rx buffer allow definition per protocol 2013-02-08 13:16:07 +08:00
extension.c Hide private library symbols 2013-03-30 09:52:21 +08:00
getifaddrs.c style cleanup 2013-02-11 17:13:32 +08:00
getifaddrs.h make header protection unique remove __prefix 2013-10-26 20:23:00 +08:00
handshake.c change LWS_CALLBACK_FILTER_PROTOCOL_CONNECTION user param usage 2013-09-18 08:32:55 +08:00
libwebsockets.c handle HUP on any mode socket 2013-11-04 09:47:06 +08:00
libwebsockets.h make header protection unique remove __prefix 2013-10-26 20:23:00 +08:00
minilex.c add lexical parser for headers 2013-01-18 01:55:48 +08:00
output.c fix clean return path user code handle 2013-10-18 19:23:06 +08:00
parsers.c Hide private library symbols 2013-03-30 09:52:21 +08:00
private-libwebsockets.h trac41 WIN32 add wsockcompat.h 2013-10-26 21:18:44 +08:00
server-handshake.c reflect send completeness in lws_write return 2013-02-23 10:50:10 +08:00
server.c trac 28 - differentiate between http serving and accepted http connection 2013-05-19 14:04:10 +08:00
sha-1.c Declare "sha1_init" statically to avoid naming conflicts if linked statically with other libraries providing a method with the same name (e.g. OpenSSL). 2013-06-23 14:45:15 +08:00