[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.


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