Bug 2695 - killing a dedicated server without quit cmd hangs clients
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Platform
Version: 1.33 SVN
Hardware: All Linux
: P2 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2006-05-02 17:00 EDT by Tony J. White
Modified: 2007-05-21 11:26:34 EDT
0 users

See Also:


Attachments
send all connected clients a disconnect when killed (482 bytes, patch)
2006-05-02 17:01 EDT, Tony J. White

Description Tony J. White 2006-05-02 17:00:28 EDT
If you send a running dedicated server a kill signal, it will not send "disconnect" messages to all the connected clients.  This causes the clients to hang.

This one line patch seems to work.

This is important to those of us who use init scripts for starting/stopping dedicated servers.
Comment 1 Tony J. White 2006-05-02 17:01:04 EDT
Created attachment 897 [details]
send all connected clients a disconnect when killed
Comment 2 Thilo Schulz 2006-05-04 10:00:48 EDT
Fixed in latest revision.
Comment 3 Tony J. White 2006-05-05 14:18:56 EDT
Very sorry.

The line needs to be SV_Shutdown(NULL) not SV_Shutdown().

I will test patches more thouroughly in the future.
Comment 4 Tony J. White 2006-05-05 14:23:06 EDT
Oh, and you've fixed that before applying...  Nevermind.
Comment 5 Ryan C. Gordon 2007-05-21 11:26:34 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.