Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Kestrel takes 2-3 seconds to shutdown if any connections have been made #247

@AspNetSmurfLab

Description

@AspNetSmurfLab

Kestrel is taking 2-3 seconds to shutdown (e.g. after Ctrl-C) if any connections have been made to it. This is causing the development experience in Visual Studio to be poor due to the long time it takes to get the server going again after making a code change.

Repro steps

  1. Start the server
  2. Immediately Ctrl-C to end it without making a request
  3. It exits immediately
  4. Start the server again
  5. Make a request from a browser then close the browser
  6. Ctrl-C the kestrel server
  7. It takes 2-3 seconds for the process to end

by @DamianEdwards

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions