[Libwebsockets] problem after upgrading

Gernot Tenchio lws at tenchio.de
Fri Jun 18 13:05:49 CEST 2021


Unfortunately, time is on my back and it's not so easy to reduce the
code to a simple example since it's part of a complex workflow. I will
stay with version 3.2.2 for now.

Do you have any ideas what could be causing the swallowed read?

Gernot

Am Wed, 16 Jun 2021 11:27:54 +0100
schrieb Andy Green <andy at warmcat.com>:

> 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
> 




-- 
'The Internet is not for sissies.'

-- Paul Vixie


More information about the Libwebsockets mailing list