[Libwebsockets] [libwebsockets] #89: Possible bug with client closing socket

Trac trac at libwebsockets.org
Thu Oct 16 02:27:05 CEST 2014


#89: Possible bug with client closing socket
------------------------------------+-----------------
  Reporter:  panyam                 |      Owner:
      Type:  defect                 |     Status:  new
  Priority:  major                  |  Milestone:
 Component:  libwebsockets library  |    Version:  1.0
Resolution:                         |   Keywords:
------------------------------------+-----------------

Comment (by agreen):

 Sorry I think I misunderstood what you meant by flag, I thought you ment
 pass it into the close function.

 I added a "socket is unusable flag" here that gets set if an attempt to
 send on the socket ever fatally failed, and close uses that to stop trying
 to be gentle about it.

 http://git.libwebsockets.org/cgi-
 bin/cgit/libwebsockets/commit/?id=1e49918a4f1b55fd2d2f6c07de40db2f66df7a92

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/89#comment:2>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list