Jeroen88 opened this issue 4 years ago · 1 comments
Here the connection might already by closed but there may still be data available in the client's buffer. To work correctly, it should be changed to
return c->read(buf, len);
Could you please provide a PR?
@pennam - we might need to copy this over to ArduinoIoTCloud.