Skip to content

Commit

Permalink
Merge pull request #2577 from Taraxa-project/rc1.4.7
Browse files Browse the repository at this point in the history
disable for close for http
  • Loading branch information
MatusKysel authored Sep 29, 2023
2 parents d102bb5 + 35905e7 commit e3b03d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.20)
# Set current version of the project
set(TARAXA_MAJOR_VERSION 1)
set(TARAXA_MINOR_VERSION 4)
set(TARAXA_PATCH_VERSION 6)
set(TARAXA_PATCH_VERSION 7)
set(TARAXA_VERSION ${TARAXA_MAJOR_VERSION}.${TARAXA_MINOR_VERSION}.${TARAXA_PATCH_VERSION})

# Any time a change in the network protocol is introduced this version should be increased
Expand Down
2 changes: 0 additions & 2 deletions libraries/core_libs/network/src/http_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ void HttpConnection::stop() {
if (socket_.is_open()) {
try {
LOG(server_->log_dg_) << "Closing connection...";
boost::asio::socket_base::linger option(true, 0);
socket_.set_option(option);
socket_.shutdown(boost::asio::ip::tcp::socket::shutdown_both);
socket_.close();
} catch (...) {
Expand Down

0 comments on commit e3b03d1

Please sign in to comment.