[Libwebsockets] [libwebsockets] #22: How to use websocket.close() close the connection

Trac trac at libwebsockets.org
Thu Feb 28 10:16:09 CET 2013


#22: How to use websocket.close() close the connection
-------------------------------------+-------------------------------
  Reporter:  巫书轶                  |      Owner:  agreen
      Type:  defect                  |     Status:  new
  Priority:  major                   |  Milestone:
 Component:  libwebsocket test apps  |    Version:
Resolution:                          |   Keywords:  websocket.close()
-------------------------------------+-------------------------------

Comment (by agreen):

 You are right.

 The problem is the library doesn't deal with zero-length frames properly.

 This should fix it

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

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



More information about the Libwebsockets mailing list