[Libwebsockets] [libwebsockets] #15: Removal of public close...

Trac trac at libwebsockets.org
Fri Feb 15 12:59:27 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):

 I'm not sure this is the right answer... where is the wsi coming from that
 you call this with?

 If it's not getting called from inside the callback, service may have
 invalidated (closed and free()d) your externally-held wsi at any time.

 If it is getting called from inside the callback, the user pointer should
 be there... or am I missing the point?

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



More information about the Libwebsockets mailing list