Skip to content

Commit

Permalink
Merge branch 'release/1.1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
i-vovk committed Apr 27, 2020
2 parents 6af7d8e + 228bde2 commit 52a31d7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.1.4 (2020-04-28)

### Bug Fixes

* TCP options not set in base_socket ctor

## 1.1.3 (2020-03-03)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0 FATAL_ERROR)

set(STREAMCLIENT_VERSION_MAJOR "1")
set(STREAMCLIENT_VERSION_MINOR "1")
set(STREAMCLIENT_VERSION_RELEASE "3")
set(STREAMCLIENT_VERSION_RELEASE "4")
set(STREAMCLIENT_VERSION_STRING "${STREAMCLIENT_VERSION_MAJOR}.${STREAMCLIENT_VERSION_MINOR}.${STREAMCLIENT_VERSION_RELEASE}")
set(STREAMCLIENT_LIB_VERSION ${STREAMCLIENT_VERSION_STRING})
mark_as_advanced(STREAMCLIENT_VERSION_MAJOR STREAMCLIENT_VERSION_MINOR STREAMCLIENT_VERSION_RELEASE STREAMCLIENT_VERSION_STRING STREAMCLIENT_LIB_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion include/stream-client/stream/impl/base_socket.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ base_socket<Socket>::base_socket(const endpoint_type& peer_endpoint, time_durati
}

set_option(boost::asio::socket_base::keep_alive(true));
if (std::is_same<Socket, boost::asio::ip::tcp>::value) {
if (std::is_same<protocol_type, boost::asio::ip::tcp>::value) {
set_option(boost::asio::ip::tcp::no_delay(true));
#if __linux__
set_option(boost::asio::detail::socket_option::boolean<IPPROTO_TCP, TCP_QUICKACK>(true));
Expand Down

0 comments on commit 52a31d7

Please sign in to comment.