Ticket #4690 (closed Bugs: fixed)
boost::asio::ip::tcp::resolver fails to resolve query if service_name is empty
|Reported by:||Gennady Proskurin <gpr@…>||Owned by:||chris_kohlhoff|
|Milestone:||To Be Determined||Component:||asio|
A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0.
If empty service_name is specified, resolver returns error. According to documentation, it should resolve to endpoint which will have port number of 0.
Test program attached.
My system: 2.6-RELEASE DragonFly? v184.108.40.206.gb67e7-RELEASE Boost 1.44 from pkgsrc. I think all systems are affected.
- Status changed from new to closed
- Resolution set to worksforme
- Status changed from closed to reopened
- Resolution worksforme deleted