4 months, 2 weeks ago.
mbed OS - http_mbed - Cannot http PUT payload larger then 1000 bytes?
I have been uploading JPG images (100K+) using HTTP PUT with older mbed using httpclient and cell modem
With Mbed OS and http_mbed and same modem but using generic PPP/LWIP it fails immediately after about 1400 bytes. I have lots of RAM and tried changing the send function to small blocks but no success.
Thought it might be related to LWIP heap size which may mean it is impossible to send large payloads using generic PPP/LWIP?
3 months, 3 weeks ago.
The underlying issue has now been fixed in Mbed OS 5.7. For earlier versions of Mbed OS a fix has been pushed to mbed-http (here).
I can now successfully send very large buffers to httpbin.
Update: Mbed-http now supports chunked requests, so you can stream large requests without loading them into memory. See the mbed-http readme.
To post an answer, please log in.