RPG

Tasklist

FS#582 - Connection to server can hang client startup

Attached to Project: RPG
Opened by neb (neb) - Friday, 20 November 2009, 12:53 GMT-7
Last edited by neb (neb) - Tuesday, 17 August 2010, 08:17 GMT-7
Task Type Bug Report
Category Platform
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority High
Reported Version 0.7
Due in Version 0.9
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If the server does not immediately accept or reject the client's connection, the client startup process hangs. That is, if the server allows the TCP connection to initialize, but never fully establishes it, the client never initializes. No GUI is displayed until the connection times out at the socket level.

Connection to the server should never stall the client GUI from starting.

Notice that this does not happen if the server is simply offline, as the connection will fail quickly. This was observed when the server's network connection was somehow messed up, possibly due to packet loss.

For this task, ensure that connection issues do not stall client startup.
This task depends upon

Closed by  neb (neb)
Tuesday, 17 August 2010, 08:17 GMT-7
Reason for closing:  Fixed
Comment by neb (neb) - Wednesday, 10 February 2010, 18:51 GMT-7
Now that the client waits for both the greeting and handshake protocols before starting the GUI, the client can hang even when there is no server. This is especially bad. Improve the client startup routines to show something immediately and indicate if the server is available.

(See if there is a task to implement server connect retry; elevate or create.)

Loading...