[Libwebsockets] [libwebsockets] #28: Crash due to file descriptor being accessed from union storing header data

Trac trac at libwebsockets.org
Thu May 2 01:56:30 CEST 2013


#28: Crash due to file descriptor being accessed from union storing header data
------------------------------------+--------------------------------
  Reporter:  simonwulf              |      Owner:  agreen
      Type:  defect                 |     Status:  new
  Priority:  critical               |  Milestone:
 Component:  libwebsockets library  |    Version:
Resolution:                         |   Keywords:  server union crash
------------------------------------+--------------------------------

Comment (by agreen):

 I guess it is something to do with the close stuff trying to do a
 controlled close, ie, tell the remote peer it is closing.  However that is
 not allowed to hang forever, there's a 5s timeout that should force the
 thing closed subsequently even if the peer is unreachable or unresponsive.

 Unfortunately I won't have time to study that until the weekend.

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



More information about the Libwebsockets mailing list