Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] (PR#12883) generate_packets.py bug: handle-per-conn doesn'
Home

[Freeciv-Dev] (PR#12883) generate_packets.py bug: handle-per-conn doesn'

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12883) generate_packets.py bug: handle-per-conn doesn't work with handle-via-packet
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Apr 2005 00:14:21 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12883 >

If you set handle-per-conn for a packet in packets.def it is supposed to
cause the connection rather than the player to be passed to the packet
handler.  However with a handle-via-packet packet (declared either
manually or automatically [when the packet gets large enough]) the
handle-per-conn directive is simply ignored and the player is passed in
rather than the conn.

With the new civworld design this is a particular problem, since all
"edit" packets must be handled per conn and many will end up being large.

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12883) generate_packets.py bug: handle-per-conn doesn't work with handle-via-packet, Jason Short <=