Project

General

Profile

Backport #42247

rgw: fix compile errors with boost 1.70 #27730

Added by Willem Jan Withagen over 4 years ago. Updated over 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
Release:
Crash signature (v1):
Crash signature (v2):

Description

/home/jenkins/workspace/ceph-nautilus/src/rgw/rgw_asio_frontend.cc:163:38: error: no member name d 'get_io_context' in 'boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::executor>'
auto y = optional_yield{socket.get_io_context(), yield};
~~~~ ^
/home/jenkins/workspace/ceph-nautilus/src/rgw/rgw_asio_frontend.cc:607:9: note: in instantiation of function template specialization '(anonymous namespace)::handle_connection<boost::asio::ssl: :stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor> &> >' requ ested here
handle_connection(env, stream, *buffer, true, pause_mutex,
^
/home/jenkins/workspace/ceph-nautilus/src/rgw/rgw_asio_frontend.cc:163:38: error: no member named 'get_io_context' in 'boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::executor>'
auto y = optional_yield{socket.get_io_context(), yield};
~~~~ ^
/home/jenkins/workspace/ceph-nautilus/src/rgw/rgw_asio_frontend.cc:625:9: note: in instantiation of function template specialization '(anonymous namespace)::handle_connection<boost::asio::basi c_stream_socket<boost::asio::ip::tcp, boost::asio::executor> >' requested here
handle_connection(env, s, *buffer, false, pause_mutex,
^

History

#1 Updated by Willem Jan Withagen over 4 years ago

  • Status changed from New to Duplicate

Also available in: Atom PDF