Skip to content

Crash when fast reloading web-site #177

Open

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

Activity

  1. trullock commented on Jan 16, 2024

    @trullock

    @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

  2. trlink commented on Jan 16, 2024

    @trlink
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions