mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-27 05:56:11 +03:00
Fix handling of case when Content-Length is 0.
Change do {} while() loop into while(){} so that we don't wait 1000ms for data in case Content-Length is 0.
Also fix handling of cases when malloc or realloc return null.