Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default flags have been added to boost tcp::resolver #1095

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions websocketpp/transport/asio/endpoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ class endpoint : public config::socket_type {
{
using lib::asio::ip::tcp;
tcp::resolver r(*m_io_service);
tcp::resolver::query query(host, service);
tcp::resolver::query query(host, service, lib::asio::ip::resolver_query_base::flags());
tcp::resolver::iterator endpoint_iterator = r.resolve(query);
tcp::resolver::iterator end;
if (endpoint_iterator == end) {
Expand Down Expand Up @@ -883,7 +883,7 @@ class endpoint : public config::socket_type {
port = pu->get_port_str();
}

tcp::resolver::query query(host,port);
tcp::resolver::query query(host,port,lib::asio::ip::resolver_query_base::flags());

if (m_alog->static_test(log::alevel::devel)) {
m_alog->write(log::alevel::devel,
Expand Down