Task #1918
closed
I believe ndn-cxx should provide a routine for FaceUri canonization, which includes DNS resolution when necessary.
That could be another utility class
- Blocks Task #1911: Create face with canonical FaceUri added
- Blocks Task #1909: nfdc: ensure FaceUri is in canonical form added
Boost.Asio has ip::udp::resolver
and ip::tcp::resolver
types.
The only difference I can imagine is that they can parse textual port number differently (eg. TCP port "www" is port 80).
I don't think this feature is necessary, because FaceUri
never allows textual port numbers.
Therefore, the DNS resolver utility class could use only ip::udp::resolver
, and support only hostname resolution.
- Assignee set to Vince Lehman
- Subject changed from Incorporate DNS resolver as a new utility class to DNS resolver
- Description updated (diff)
- Estimated time set to 1.00 h
- Blocks deleted (Task #1911: Create face with canonical FaceUri)
- Blocks deleted (Task #1909: nfdc: ensure FaceUri is in canonical form)
I am unable to change the status to in progress, but I have started working on this.
- Status changed from New to In Progress
- Status changed from In Progress to Code review
- % Done changed from 0 to 90
- Status changed from Code review to Closed
- % Done changed from 90 to 100
Also available in: Atom
PDF