[Boost-bugs] [Boost C++ Libraries] #11108: boost asio from_string rejects valid ipv6 address

Subject: [Boost-bugs] [Boost C++ Libraries] #11108: boost asio from_string rejects valid ipv6 address
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-11 22:31:56


#11108: boost asio from_string rejects valid ipv6 address
-----------------------------------------+----------------------------
 Reporter: mark andrews <mandrews58@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: |
-----------------------------------------+----------------------------
 from RFC 4291 2.2.2, '::2:3:4:5:6:7:8' is a valid ipv6 address[[BR]]
 following code incorrectly sets ec.m_val to 10022

 {{{
 std::string thost("::2:3:4:5:6:7:8");
 boost::system::error_code ec;
 addr = boost::asio::ip::address::from_string(thost, ec);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11108>
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:18 UTC