[Libwebsockets] [libwebsockets] #19: Errors in test-server when "sending the hard way"

Trac trac at libwebsockets.org
Fri Feb 22 19:38:42 CET 2013


#19: Errors in test-server when "sending the hard way"
------------------------------------+--------------------
 Reporter:  luc_h                   |      Owner:  agreen
     Type:  defect                  |     Status:  new
 Priority:  major                   |  Milestone:
Component:  libwebsocket test apps  |    Version:
 Keywords:                          |
------------------------------------+--------------------
 1. The content-type of the 'leaf.jpg' file is sent as `image-jpeg`, it
 should probably be `image/jpeg`.
 2. the `LWS_CALLBACK_HTTP_WRITEABLE` writing loop fails too early when the
 pipe is choked and bails instead of rescheduling a writable callback.

 The attached patch fixed both these issues.

-- 
Ticket URL: <http://libwebsockets.org/trac/ticket/19>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list