Bugzilla – Bug 1496
serv command should send BYE
Last modified: 2005-06-07 20:19:57 UTC
Dean, when executing a SERV command to connect to SN, can you have the player send a BYE to the server it is disconnecting from?
Adding more to this enhancement request... When handling a serv command, if the requested server is not available, the client should either: 1) timeout, and remain connected to the original server (which issued the serv) or 2) present the user with a choice of either SN or local SlimServer. As it currently is, it just says "Connecting to SqueezeNetwork..." and eventually goes blank. Is it possible to not drop the connection to one server until the other is established?
I'm ready to add this, but I'm not sure we really need it. With the current firmware, if you sign off SN you are taken to your SlimServer (if you've set one up) or back to the player settings menu (if you haven't). Is the BYE message useful otherwise?
I originally submitted this bug to solve a specific problem. Namely, that if you connect to SN, then returned to your Server, you were returned to the exact same place in the menus that you left. Specifically, a place where pressing right connects you to SN. But when you return from SN, you tend to be pressing right already, so you immediately get bopped back to SN, without knowing why. Of course, another way to solve the problem is to explicitly forget the client after sending the message to connect to SN. But how does the server really know that the client even received that message? It's a safe bet that it did, that's true. But sending a BYE seemed like a nice way to really confirm that the message was recieved.
I'm not opposed to a bye message in principle, but we don't have a good use for it yet.