Summary: Guest fallback on database error doesn't work
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Tue Mar  6 00:27:52 2012
                Category: None
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: S2_3, S2_4
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 



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
possibly both.


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to