[Libwebsockets] [libwebsockets] #20: Sending HTTP content fails when pipe is choked

Trac trac at libwebsockets.org
Sat Feb 23 12:34:20 CET 2013


#20: Sending HTTP content fails when pipe is choked
------------------------------------+--------------------
  Reporter:  luc_h                  |      Owner:  agreen
      Type:  defect                 |     Status:  new
  Priority:  critical               |  Milestone:
 Component:  libwebsockets library  |    Version:
Resolution:                         |   Keywords:
------------------------------------+--------------------

Comment (by luc_h):

 Replying to [comment:1 agreen]:
 > Please see if that helps the situation.

 It definitely does, I can't reproduce the loading errors and data
 corruption with any of my tests anymore.

 Another possible way to make it fail which I did not mention initially was
 to increase the size of the read buffer (in `callback_http` in `test-
 server.c`) from the current 4K to something like 32K or 64K. That seems to
 work fine now too.

 Thanks :)

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



More information about the Libwebsockets mailing list