Skip to content

How to know whether or not the client has closed the HTTP connection? #1581

@ShigeruOta

Description

@ShigeruOta

Hi.

Please teach me.

How to detect HTTP connection closed by the client before sending a response?
If I detect it, I want to notify it to subsequent application that work with the echo server.

I want to check the status of the HTTP connection from middleware function code, but ican't do it well.

Thank you.

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