Skip to content

Disconnecting a peer while responding crashes the process #23

@yangl1996

Description

@yangl1996

The server thread crashes if a peer disconnects when we are in the middle of replying to it. A concrete example is that peer P requests block B, and while we are gathering the data to reply, A disconnects. When we are ready to write the reply message back to P, we have a broken pipe.

Metadata

Metadata

Assignees

Labels

DemoUseful features for demoPaperIssues to be fixed for the paperbugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions