2021-10-01 12:28 AM
I have a problem with the mbedtls server (stm32+lwip) send wrong length message. I am using this code in my project.
https://github.com/straight-coding/straight-httpd-lwip-mbedtls-simulator
![Wireshark packet trace. A TLSv1.2 "server hello" packet is selected][1]
Server hello message include 150 byte message but in the packet details this message should be 576 byte.
![Selected packet is showing a red warning: "IPv4 total length exceeds packet length (136 bytes)"][2]
When I checked the low_level_output function I can only see 150 byte data, why the packet length is wrong ? How can I solve the problem ?
2021-10-01 12:29 AM
This is debug output:
2021-10-01 10:57 AM