[Libwebsockets] [libwebsockets] #76: Wrong timing in test-server.c

Trac trac at libwebsockets.org
Sat Jul 5 05:53:36 CEST 2014


#76: Wrong timing in test-server.c
-------------------------------------+-----------------------------
  Reporter:  tiko                    |      Owner:
      Type:  defect                  |     Status:  new
  Priority:  major                   |  Milestone:
 Component:  libwebsocket test apps  |    Version:  1.0
Resolution:                          |   Keywords:  timing, polling
-------------------------------------+-----------------------------

Comment (by agreen):

 I see, you're right.

 It doesn't make a big problem because when it meets the big number from
 the overflow, it resets oldus.  But it'll cause it to send more often than
 supposed.

 I fixed it here...

 http://git.libwebsockets.org/cgi-
 bin/cgit/libwebsockets/commit/?id=51dca9a527f2670d96df2c4e5d04cef09920948e

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



More information about the Libwebsockets mailing list