Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close connection in notFound callback #1768

Merged
merged 2 commits into from
Jun 23, 2019
Merged

Close connection in notFound callback #1768

merged 2 commits into from
Jun 23, 2019

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented Jun 10, 2019

resolve #1660
also, see https://github.com/tzapu/WiFiManager/blob/740005b21e5f5e5c6092dbd4d3037e4edee19113/WiFiManager.cpp#L749

as described in the issue, device receives a lot of simultaneous requests in very short amount of time.
this solves the original test-case example with Android 9 connecting to the AP with captive portal on.
the connecting device continues to send requests, but heap is no longer exhausted by keeping track on old connections.

@mcspr mcspr merged commit 0f0d0b1 into dev Jun 23, 2019
@mcspr mcspr deleted the mcspr-patch-1 branch June 23, 2019 21:15
@mcspr mcspr added this to the 1.13.6 milestone Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Captive portal feature causes memory leak
1 participant