URL:
  <http://gna.org/bugs/?19526>

                 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: 

    _______________________________________________________

Details:

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
says


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:

  <http://gna.org/bugs/?19526>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to