Summary: Guest fallback on database error doesn't work
Submitted by: jtn
Submitted on: Tue Mar 6 00:27:52 2012
Severity: 2 - Minor
Priority: 5 - Normal
Assigned to: None
Release: S2_3, S2_4
Discussion Lock: Any
Operating System: Any
When a server has authentication enabled and guest logins enabled (--Guests),
in the event of a database error for a non-guest username, it falls back to
connecting the user as a guest.
However, the server sends a chat message before the connection is established
to explain to the client what's happened. The client doesn't like this; it
Received packet PACKET_CHAT_MSG (25) before establishing connection!
and disconnects in disgust, rather defeating the point of the exercise.
Either the server shouldn't send the chat message, or the client should be
more relaxed about receiving early chat messages (client_packet_input()), or
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list