Skip to content

Gracefully close connections on server shutdown #306

@djones6

Description

@djones6

See Kitura/SwiftyRequest#69

The analysis of an issue involving failures from a shared URLSession when the server is repeatedly stopped/started concluded that the issue relates to when the HTTPServer is stopped, and any open connections are abruptly closed. Curl doesn't seem to handle this well.

This was resolved for Kitura-NIO under Kitura/Kitura-NIO#216 where we concluded that connections should be closed gracefully on server stop. The same should be applied to Kitura-net.

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