[Libwebsockets] choked before able to send whole file

John Harrison john at h-agtec.com
Mon Dec 9 04:02:51 CET 2013



I just downloaded libWebSockets and would like to use it with Samsung Note
II tablets to inspect and diagnose industrial ARM controllers.  


I managed to get the library and examples built on a computer with Ubuntu
12.04.  The test server works great for any PC that has the Chrome browser.
However, when I try to use my 10.1" Samsung Note II tablet with Mobile
Chrome Version 31.0.1650.59 I get an error on the console: "choked before
able to send whole file (post)".  The full listing of the console follows.
Have I built the library incorrectly?


John Harrison




>>libwebsockets-test-server --resource_path

Setting resource path to "/home/john/Software/WebSocket/WebSockets/res"

lwsts[1633]: libwebsockets test server - (C) Copyright 2010-2013 Andy Green
<andy at warmcat.com> - licensed under LGPL2.1

lwsts[1633]: Initial logging level 7

lwsts[1633]: Library version: 1.3 944a78d

lwsts[1633]:  Started with daemon pid 0

lwsts[1633]:  static allocation: 4436 + (12 x 1024 fds) = 16724 bytes

lwsts[1633]:  canonical_hostname = vm-hagtec

lwsts[1633]:  Compiled without SSL support

lwsts[1633]:  per-conn mem: 112 + 1554 headers + protocol rx buf

lwsts[1633]:  Listening on port 7681

    GET URI = /

    Host =

    Connection = keep-alive

    Accept: =

    Accept-Encoding: = gzip,deflate,sdch

    Accept-Language: = en-US,en;q=0.8

    Cache-Control: = max-age=0

    Cookie: = test=LWS_1386456117_321415_COOKIE

lwsts[1633]: choked before able to send whole file (post)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20131208/62001c93/attachment.html>

More information about the Libwebsockets mailing list