It's possible that the problem is not having a data handler defined?
In pretty much all my tests (and most people's use-cases) the data from the HTTP request is used, and I wonder if not having the handler causes the socket data not to be freed.
It'd be worth a try - it's an easy thing to work around if so
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
It's possible that the problem is not having a
data
handler defined?In pretty much all my tests (and most people's use-cases) the data from the HTTP request is used, and I wonder if not having the handler causes the socket data not to be freed.
It'd be worth a try - it's an easy thing to work around if so