Skip to content

Commit

Permalink
GH-755 Attempt connection retries for duplicate connections to handle…
Browse files Browse the repository at this point in the history
… corner case of one side disconnecting as a duplicate simply because it had not yet closed its end of the connection.
  • Loading branch information
heifner committed Aug 5, 2022
1 parent 5860c11 commit efba1a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2280,6 +2280,7 @@ namespace eosio {
case no_reason:
case wrong_version:
case benign_other:
case duplicate: // attempt reconnect in case connection has been dropped, should quickly disconnect if duplicate
break;
default:
fc_dlog( logger, "Skipping connect due to go_away reason ${r}",("r", reason_str( no_retry )));
Expand Down

0 comments on commit efba1a9

Please sign in to comment.