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

Web server example can't be killed unless you use kill -9 #434

Closed
hoisie opened this issue Dec 16, 2009 · 2 comments
Closed

Web server example can't be killed unless you use kill -9 #434

hoisie opened this issue Dec 16, 2009 · 2 comments

Comments

@hoisie
Copy link
Contributor

hoisie commented Dec 16, 2009

What steps will reproduce the problem?
1. Run the web server code from effective go - 
http://gopaste.org/view/f6O0f
2. Try to kill the program (with ctl+c or sending kill signals like 2 or 
15)
3. It won't die unless you send a kill -9
4. If you send a signal 3, there's a weird error and a stack trace. 

What is the expected output? What do you see instead?
The web server should exit cleanly when it receives signals like 2 or 15. 

What is your $GOOS?  $GOARCH?
linux/386

Which revision are you using?  (hg identify)
fbe65e98a893+ tip

Please provide any additional information below.
@rsc
Copy link
Contributor

rsc commented Dec 16, 2009

Comment 1:

Owner changed to r...@golang.org.

Status changed to Started.

@rsc
Copy link
Contributor

rsc commented Dec 17, 2009

Comment 2:

This issue was closed by revision 08579c2.

Status changed to Fixed.

Merged into issue #-.

@hoisie hoisie added the fixed label Dec 17, 2009
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants