[Libwebsockets] [libwebsockets] #18: Crash on SSL_connect

Trac trac at libwebsockets.org
Wed Feb 20 12:19:55 CET 2013


#18: Crash on SSL_connect
-------------------------------------+--------------------
  Reporter:  Joakim                  |      Owner:  agreen
      Type:  defect                  |     Status:  new
  Priority:  major                   |  Milestone:
 Component:  libwebsocket test apps  |    Version:
Resolution:                          |   Keywords:
-------------------------------------+--------------------

Comment (by agreen):

 Not sure if this the problem, but see if

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

 helps.  If it's the same problem, the wsi is freed and closed, and then
 "serviced"; the patch fixes that.  The data should be intact for a little
 while but ssl lib won't be fooled since it will have freed its own
 internal allocations.

 It's not calling back CLOSED because the timeout happened at SSL Connect
 time - it never got far enough to call back with ESTABLISHED.  That's how
 it should be.

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



More information about the Libwebsockets mailing list