Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delayed shutdown when hitting ctrl-c on terminal #335

Open
1 task done
ms140569 opened this issue Apr 10, 2024 · 1 comment
Open
1 task done

Delayed shutdown when hitting ctrl-c on terminal #335

ms140569 opened this issue Apr 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed v2 v2 release

Comments

@ms140569
Copy link
Collaborator

ms140569 commented Apr 10, 2024

Search for duplicate issues

  • I already searched, and this issue is not a duplicate.

Issue scope

Linux (E.g. Arch Linux, Debian, Alpine, etc)

Describe the bug

When hitting ctrl-c on the controlling which started the server the shutdown sequence takes ~ 1.30 or ends when yet another request is made to the connection.

Might be realated to this hyper issue: hyperium/hyper#1885

How to reproduce it

start server, make one request and hit ctrl-c

Expected behavior

instant shutdown

Complementary information

No response

Build target

amd64-linux

Environment and specs

Ubuntu 22.04.3 amd64

Additional context

No response

@ms140569 ms140569 added bug Something isn't working v2 v2 release labels Apr 10, 2024
@joseluisq
Copy link
Collaborator

As you mentioned, this is an upstream Hyper issue (hyperium/hyper#1885) that unfortunately is not fixed for 0.14 but for 1.0. However, we are not ready for 1.0 and moving to it might take quite a while.

But there are some ideas to workaround this in hyperium/hyper#2386, so we could evaluate them at some point.

@joseluisq joseluisq added the help wanted Extra attention is needed label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed v2 v2 release
Projects
None yet
Development

No branches or pull requests

2 participants