We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d2ff79 + eec1e8a commit 531811fCopy full SHA for 531811f
core/httpd-nonos.c
@@ -22,7 +22,12 @@ void ICACHE_FLASH_ATTR httpdPlatUnlock() {
22
23
24
static void ICACHE_FLASH_ATTR platReconCb(void *arg, sint8 err) {
25
- //Yeah, this is pretty useless...
+ //From ESP8266 SDK
26
+ //If still no response, considers it as TCP connection broke, goes into espconn_reconnect_callback.
27
+
28
+ ConnTypePtr conn=arg;
29
+ //Just call disconnect to clean up pool and close connection.
30
+ httpdDisconCb(conn, (char*)conn->proto.tcp->remote_ip, conn->proto.tcp->remote_port);
31
}
32
33
static void ICACHE_FLASH_ATTR platDisconCb(void *arg) {
0 commit comments