Re: [Boost-bugs] [Boost C++ Libraries] #4690: boost::asio::ip::tcp::resolver fails to resolve query if service_name is empty

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4690: boost::asio::ip::tcp::resolver fails to resolve query if service_name is empty
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-16 12:47:00


#4690: boost::asio::ip::tcp::resolver fails to resolve query if service_name is
empty
----------------------------------------------+-----------------------------
  Reporter: Gennady Proskurin <gpr@…> | Owner: chris_kohlhoff
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------+-----------------------------

Comment (by Gennady Proskurin <gprspb@…>):

 As you see from debug, empty servname is propagated down to getaddrinfo,
 which causes error. I think boost should replace empty string with
 something like "0" somewhere on the path to getaddrinfo.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4690#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC