[Libwebsockets] [libwebsockets] #15: Removal of public close...
Trac
trac at libwebsockets.org
Fri Feb 15 15:50:17 CET 2013
#15: Removal of public close...
------------------------------------+--------------------
Reporter: Joakim | Owner: agreen
Type: defect | Status: new
Priority: major | Milestone:
Component: libwebsockets library | Version:
Resolution: | Keywords:
------------------------------------+--------------------
Comment (by agreen):
OK I pushed the extpoll parameter change.
I looked at what happens to -1 return from writable callback. It does try
to close, but it tries to close politely. Even if your connection is dead
though, it should be subject then to a lws timeout
(libwebsocket_set_timeout) for 1s. I added patches to just close under
those conditions, and a patch that should make it always just close on the
second try if it had tried to close politely: please see if that improves
the response.
--
Ticket URL: <http://libwebsockets.org/trac/ticket/15#comment:13>
libwebsockets <http://libwebsockets.org>
libwebsockets C library
More information about the Libwebsockets
mailing list