[Libwebsockets] problem after upgrading

Andy Green andy at warmcat.com
Wed Jun 16 12:27:54 CEST 2021



On 6/16/21 11:25 AM, Gernot Tenchio wrote:
> Hi,
> 
> since I upgraded libwebsockets from version 3.2.2 to version 4.2.0 my
> http client code does not work anymore.
> 
> During a LWS_CALLBACK_RECEIVE_CLIENT_HTTP_READ event a call
> to lws_http_client_read() returns nothing to me (what it did in 3.2.2).
> Instead, the message "N: lws_http_client_read: swallowed read (164)"
> appears in the log. What does this message mean and what can I do
> against it?

Pick a minimal example that's close to what your code wants to do, check 
that works on your platform as it is, and then hack a small patch on the 
example to demonstrate the same problem, and let me have the patch.

-Andy



More information about the Libwebsockets mailing list