[Libwebsockets] [libwebsockets] #9: Loss of network connection not detected

Trac trac at libwebsockets.org
Tue Feb 12 03:29:54 CET 2013

#9: Loss of network connection not detected
  Reporter:  Joakim                 |      Owner:  agreen
      Type:  defect                 |     Status:  closed
  Priority:  major                  |  Milestone:
 Component:  libwebsockets library  |    Version:
Resolution:  fixed                  |   Keywords:
Changes (by agreen):

 * status:  new => closed
 * resolution:   => fixed


 Great... thanks a lot for the testing + cleanup on Windows.

 I added your patch as-is but added one on top to change the two snprintf
 to sprintf... in those two cases it can easily be made that there is no
 chance of buffer overrun, so we can avoid taking care about snprintf.

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

More information about the Libwebsockets mailing list