You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't find in the repository's issues section similar bug.
I understand, this is Open Source and not-for-profit product.
This is not about third-party project, framework, package or technology.
My environment:
OS (uname -a): Darwin us2-al-004.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64 (macOS Monterey 12.0.1 (21A559))
Golang (go version): go version go1.17.2 darwin/amd64
Describe the bug:
Steps to reproduce the behavior:
Run App with StartServerWithGracefulShutdown
Get few requests
Press Ctrl+C
App does not exit
Expected behavior:
App should respond to Ctrl+C
Screenshots:
Additional context:
If I run Ctrl+C before any requests are served, it works as expected
The text was updated successfully, but these errors were encountered:
After some experiments around ab and curl, i have idea that connection is holding by browser. After I close a browser server immediately exit. More then, time is different between firefox and chrome browsers. Firefox closing connection faster.
So I think you can close this issue, because gracefull exit works as expected.
Required check list:
My environment:
uname -a
):Darwin us2-al-004.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64 (macOS Monterey 12.0.1 (21A559))
go version
):go version go1.17.2 darwin/amd64
Describe the bug:
Steps to reproduce the behavior:
StartServerWithGracefulShutdown
Expected behavior:
App should respond to Ctrl+C
Screenshots:
![Screen Shot 2021-11-24 at 11 52 00](https://user-images.githubusercontent.com/1939783/143290892-0d5450fd-149a-411e-b403-cb4508808e8f.png)
Additional context:
![Screen Shot 2021-11-24 at 11 52 21](https://user-images.githubusercontent.com/1939783/143290964-87eea78e-16ba-4f6a-8941-97a499ff0977.png)
If I run Ctrl+C before any requests are served, it works as expected
The text was updated successfully, but these errors were encountered: