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

Crash when fast reloading web-site #177

Open
trlink opened this issue Dec 4, 2023 · 2 comments
Open

Crash when fast reloading web-site #177

trlink opened this issue Dec 4, 2023 · 2 comments

Comments

@trlink
Copy link

trlink commented Dec 4, 2023

Hi all,

I ran into a problem, when I had a client fast refreshing the loading of the web-site hosted on an ESP:

The connection was opened and then the client closed the connection (due to the refresh). This was written into the log ("An receive error occured, FID="), but in the HTTPConnection::loop(), this was not checked, the request still was answered:

So i changed the line before the switch to:

if (!isError() && _clientState != CSTATE_CLOSED)

Which solved the crashes...

@trullock
Copy link

@trlink I see you've got an active fork of this, can I help contribute? we seem to be in about the same place bug-finding wise. Your repo doesn't allow issues directly

@trlink
Copy link
Author

trlink commented Jan 16, 2024 via email

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

No branches or pull requests

2 participants