[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #57734] MQTT broken with muti-segments data

From: David Bourgeois
Subject: [lwip-devel] [bug #57734] MQTT broken with muti-segments data
Date: Wed, 5 Feb 2020 03:36:13 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.78 Safari/537.36

Follow-up Comment #2, bug #57734 (project lwip):

[comment #1 comment #1:]
> I can't find the code you mention in git head. Could you send a proposed
patch of how to fix this?

That has been changed in commit #2cc420e, at the bottom of this page: #2cc420e

-      pbuf_copy_partial(p, client->rx_buffer + cpy_start, cpy_len,
+      pbuf_copy_partial(p, client->rx_buffer + fixed_hdr_len, cpy_len,

I have not been able to grasp all the inner workings to patch it and there are
multiple changes after this commit for the zero-copy part. So it might be
better if I can reproduce the problem in master with a simple example.

What could I use as an example to reproduce this use case? We're using STM32
but the platform is irrelevant, so I better try with what are you using for


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]