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

fix(network): give up peer due to secio io error #425

Conversation

zeroqn
Copy link
Contributor

@zeroqn zeroqn commented Aug 18, 2020

What this PR does / why we need it:
When a peer connection result in secio io error, this peer will be marked
as unconnectable. We will not try to connect to this peer in the future.

In this PR, we treat secio io error as normal io error, don't mark this peer
as unconnectable.

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer:

@yejiayu
Copy link
Contributor

yejiayu commented Aug 18, 2020

/lgtm

@muta-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: KaoImin, yejiayu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yejiayu
Copy link
Contributor

yejiayu commented Aug 18, 2020

/retest

1 similar comment
@zeroqn
Copy link
Contributor Author

zeroqn commented Aug 19, 2020

/retest

@muta-robot muta-robot merged commit 27a8e8b into nervosnetwork:master Aug 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants