[Libwebsockets] [libwebsockets] #42: calculates number of actually sent bytes incorrectly in libwebsockets_write

Trac trac at libwebsockets.org
Fri Oct 18 12:33:10 CEST 2013


#42: calculates number of actually sent bytes incorrectly in libwebsockets_write
-------------------------------------+-----------------
  Reporter:  andreaspakulat          |      Owner:
      Type:  defect                  |     Status:  new
  Priority:  major                   |  Milestone:
 Component:  libwebsocket test apps  |    Version:
Resolution:                          |   Keywords:
-------------------------------------+-----------------

Comment (by andreaspakulat):

 Ugh, I'm terribly sorry. Turns out that this was my own fault. I
 initialized the wrong field of the protocol to the wanted buffer size.
 After moving that to the right place sending a few dozen KB of data (but
 less than the rx_buffer_size) work just fine.

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



More information about the Libwebsockets mailing list