We do have some code, that is giving different results, between the peeked and the actual:
https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/9a25860e761036a9eb780799c9db632e3eff60c9/portable/NetworkInterface/MPS2_AN385/NetworkInterface.c#L237
We also have a fix to circumvent the problem by just reading the actual size and omit the peeked bytes.
https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/pull/142
changing the code i pointed locally worked fine, but we can't expect all our users to compile qemu from scratch and apply a patch
Alfred
We do have some code, that is giving different results, between the peeked and the actual:
https:/ /github. com/FreeRTOS/ FreeRTOS- Plus-TCP/ blob/9a25860e76 1036a9eb780799c 9db632e3eff60c9 /portable/ NetworkInterfac e/MPS2_ AN385/NetworkIn terface. c#L237
We also have a fix to circumvent the problem by just reading the actual size and omit the peeked bytes.
https:/ /github. com/FreeRTOS/ FreeRTOS- Plus-TCP/ pull/142
changing the code i pointed locally worked fine, but we can't expect all our users to compile qemu from scratch and apply a patch
Alfred