Skip to content

Commit

Permalink
make fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored Mar 1, 2025
1 parent 12ee706 commit 7a0b59a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion silkworm/rpc/http/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ Connection::Connection(boost::asio::ip::tcp::socket socket,
http_compression_{http_compression},
workers_{workers},
rpc_compatability_{rpc_compatability} {

socket_.set_option(boost::asio::ip::tcp::socket::keep_alive(true));
SILK_TRACE << "Connection::Connection created for " << socket_.remote_endpoint();
}
Expand Down
2 changes: 1 addition & 1 deletion silkworm/rpc/http/connection_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ TEST_CASE("connection creation", "[rpc][http][connection]") {
false,
false,
false,
workers,
workers,
true /* rpc_compatability */});
}
}
Expand Down
2 changes: 1 addition & 1 deletion silkworm/rpc/http/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Server::Server(const std::string& end_point,
bool use_websocket,
bool ws_compression,
bool http_compression,
bool rpc_compatability)
bool rpc_compatability)
: handler_factory_{std::move(handler_factory)},
acceptor_{ioc},
allowed_origins_{std::move(allowed_origins)},
Expand Down

0 comments on commit 7a0b59a

Please sign in to comment.