Closed diplfranzhoepfinger closed 8 months ago
i fixed the Bug:
4f9bd96b1d333d7d8d48667f5526025fc499f413
working, Gerrit is coming.
@diplfranzhoepfinger If I understand correctly the bug wasn't in IDF (assuming the connection wasn't closed cleanly, for more info please read https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/lwip.html#bsd-sockets-api).
Closing this issue, please reopen if my interpretation was wrong.
Answers checklist.
General issue report
ERROR: T#366378000000: CBSDSocketInterface: TCP-Socket recv() failed: Socket is not connected
Log:
the function recv should return 0 in case of a Shutdown.
see https://man7.org/linux/man-pages/man2/recv.2.html
but here it returns -1 and a errno of ECONNRESET