Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Avoid accessing connection data during operation_aborted since it can…
Browse files Browse the repository at this point in the history
… be called during shutdown when connection is being destroyed
  • Loading branch information
heifner committed Dec 14, 2021
1 parent 55e99c2 commit f2f63f7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1376,9 +1376,6 @@ namespace eosio {
if( !ec ) {
my_impl->dispatcher->retry_fetch( shared_from_this() );
} else if( ec == boost::asio::error::operation_aborted ) {
if( !connected() ) {
fc_dlog( logger, "fetch timeout was cancelled due to dead connection" );
}
} else {
fc_elog( logger, "setting timer for fetch request got error ${ec}", ("ec", ec.message() ) );
}
Expand Down

0 comments on commit f2f63f7

Please sign in to comment.