BIND 10 #1258: "preserve order" option for Message::fromWire()
BIND 10 Development
do-not-reply at isc.org
Fri Sep 30 04:41:32 UTC 2011
#1258: "preserve order" option for Message::fromWire()
-------------------------------------+-------------------------------------
Reporter: | Owner: jinmei
jinmei | Status: accepted
Type: task | Milestone:
Priority: | Sprint-20111011
blocker | Resolution:
Component: | Sensitive: 0
libdns++ | Sub-Project: DNS
Keywords: | Estimated Difficulty: 0
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jinmei):
Branch trac1258 is ready for review.
I believe it's straightforward and non controversial. Since the main
part is simple, I've made some improvements to fromwire that are not
directly related to the task subject: adding some more basic tests
(the message class still lacks many tests and we should gradually improve
the
situation anyway), making the python wrapper code safer and (IMO) cleaner
by catching exceptions/error cases more and avoiding unnecessary
reinterpret_cast.
Also, as a result of adding new tests I've effectively addressed #927,
too.
So, I plan to close that ticket once this one is merged.
This feature itself is a separate functionality, so I propose adding
a changelog entry for this ticket:
{{{
288.? [func] jinmei
libdns++/pydnspp: added an option parameter to the "from wire"
methods of the Message class. One option is defined,
PRESERVE_ORDER, which specifies the parser to handle each RR
separately, preserving the order, and construct RRsets in the
message sections so that each RRset contains only one RR.
(Trac #1258, git TBD)
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/1258#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list