Why would I receive 2 unlinked netbufs for one packet transmission?
I am putting a Webserver in a STM32F407. I have static and dynamic pages working and am now working on a file upload function. The browser sends me a single packet that is 887 bytes long according to Wireshark. I am using Netconn with LWIP so when I call netconn_recv, I only get 536 bytes in the first call then 297 bytes in the second call. It's clear that these are supposed to be connected together (printed them in the debugger).
There is no way to see that these should be connected to each other. With both packets the Len and Tot_Len are the same! Also they are not linked to each other...two separate netbufs!
Any ideas?
