URL:
<http://gna.org/bugs/?23615>
Summary: Abolition of nreqs regresses ruleset maxima due to
MAX_NUM_REQS
Project: Freeciv
Submitted by: jtn
Submitted on: Mon 25 May 2015 17:04:55 BST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: In Progress
Assigned to: jtn
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: Any
Planned Release: 2.6.0, 3.0.0
_______________________________________________________
Details:
We're deprecating 'nreqs' in 2.6 (patch #4662) and abolishing them in 3.0
(patch #5652).
This means that some rulesets representable in 2.5 will no longer be possible
in later versions, because each of reqs and nreqs allowed MAX_NUM_REQS==10
clauses, whereas now the combined list with present=TRUE/FALSE must be 10
clauses or less.
Bump MAX_NUM_REQS to 20 on 2.6 and later.
For what it's worth, a requirement takes up 8 octets on the wire, so this
bumps some max packet sizes by 80 octets.
(I nearly bumped into this limitation with my fixes for bug #23610 / bug
#23609, but managed to keep the relevant effect to 10 clauses.)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23615>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev