Skip to content

Commit

Permalink
GH-525 Capture endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Oct 3, 2024
1 parent 6d5bea2 commit 71174de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2823,7 +2823,7 @@ namespace eosio {
buffer_queue.clear_out_queue();
boost::asio::async_connect( *socket, endpoints,
boost::asio::bind_executor( strand,
[c = shared_from_this(), resolver, socket=socket]( const boost::system::error_code& err, const tcp::endpoint& endpoint ) {
[c = shared_from_this(), resolver, endpoints, socket=socket]( const boost::system::error_code& err, const tcp::endpoint& endpoint ) {
if( !err && socket->is_open() && socket == c->socket ) {
if( c->start_session() ) {
c->send_handshake();
Expand Down

0 comments on commit 71174de

Please sign in to comment.