From 68338c7aed86f4021553a2be5325377e6cafcbcd Mon Sep 17 00:00:00 2001 From: jai1 Date: Wed, 8 Feb 2017 18:20:54 -0800 Subject: [PATCH] Getting the code to run with old boost asio (#197) --- pulsar-client-cpp/lib/ClientConnection.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pulsar-client-cpp/lib/ClientConnection.cc b/pulsar-client-cpp/lib/ClientConnection.cc index 53e5d51fe1f..6f628d3291d 100644 --- a/pulsar-client-cpp/lib/ClientConnection.cc +++ b/pulsar-client-cpp/lib/ClientConnection.cc @@ -136,17 +136,17 @@ void ClientConnection::handlePulsarConnected(const CommandConnected& cmdConnecte } /// The number of unacknowledged probes to send before considering the connection dead and notifying the application layer -typedef boost::asio::detail::socket_option::integer tcp_keep_alive_count; +typedef boost::asio::detail::socket_option::integer tcp_keep_alive_count; /// The interval between subsequential keepalive probes, regardless of what the connection has exchanged in the meantime -typedef boost::asio::detail::socket_option::integer tcp_keep_alive_interval; +typedef boost::asio::detail::socket_option::integer tcp_keep_alive_interval; /// The interval between the last data packet sent (simple ACKs are not considered data) and the first keepalive /// probe; after the connection is marked to need keepalive, this counter is not used any further #ifdef __APPLE__ - typedef boost::asio::detail::socket_option::integer tcp_keep_alive_idle; + typedef boost::asio::detail::socket_option::integer tcp_keep_alive_idle; #else - typedef boost::asio::detail::socket_option::integer tcp_keep_alive_idle; + typedef boost::asio::detail::socket_option::integer tcp_keep_alive_idle; #endif /* -- GitLab