Skip to content

Crash when fast reloading web-site #177

@trlink

Description

@trlink

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions