Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Crash for incomplete close of TCP connection. #166

Closed
vitotai opened this issue Apr 30, 2017 · 2 comments
Closed

Crash for incomplete close of TCP connection. #166

vitotai opened this issue Apr 30, 2017 · 2 comments
Labels

Comments

@vitotai
Copy link

vitotai commented Apr 30, 2017

This is the same issue as this one.
esp8266/Arduino#2750

If the client doesn't have a chance to terminate TCP connection, in this case, ESP8266 goes to deep sleep, then the TCP is left in Established state.

I've tried to abort the TCP when timeout happens, but it doesn't work.
void AsyncWebServerRequest::_onTimeout(uint32_t time){
os_printf("TIMEOUT: %u, state: %s, abort\n", time, _client->stateToString());
_client->abort();
}

Any opinion?

@stale
Copy link

stale bot commented Sep 21, 2019

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 21, 2019
@stale
Copy link

stale bot commented Oct 5, 2019

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Oct 5, 2019
vortigont added a commit to vortigont/ESPAsyncWebServer that referenced this issue Dec 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant