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

hugo serve hangs on shutdown if a tab is open in Firefox #12686

Open
hkoosha opened this issue Jul 29, 2024 · 1 comment
Open

hugo serve hangs on shutdown if a tab is open in Firefox #12686

hkoosha opened this issue Jul 29, 2024 · 1 comment
Labels
Milestone

Comments

@hkoosha
Copy link

hkoosha commented Jul 29, 2024

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.129.0+extended linux/amd64 BuildDate=unknown

Does this issue reproduce with the latest release?

Yes

The issue

When running Hugo's builtin web-server and visiting localhost:1313 with Firefox, then after clicking any link and navigating through the website, apparently FF keeps a connection to Hugo open. Then, switching back to Hugo and trying to shut it down via CTRL+C, it takes a very long time until Hugo finally shuts down (almost forever). Other browsers do not do this.

One solution is to chase every Hugo tab in FF and close them, then it shuts down quickly; but it's disrupting a bit.

Does it make sense to ignore open connections on CTRL+c?

@bep bep removed the NeedsTriage label Jul 29, 2024
@bep bep added this to the v0.130.0 milestone Jul 29, 2024
@bep
Copy link
Member

bep commented Jul 29, 2024

Does it make sense to ignore open connections on CTRL+c?

Yes it does. I vaguely remember a similar issue, but not the details ...

@bep bep modified the milestones: v0.130.0, v0.131.0 Jul 30, 2024
@bep bep modified the milestones: v0.131.0, v0.133.0 Aug 9, 2024
@bep bep modified the milestones: v0.133.0, Unscheduled Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants