Skip to content

Do not abort on ping failure#1238

Open
giurgiur99 wants to merge 2 commits intomainfrom
large-files-ping-error
Open

Do not abort on ping failure#1238
giurgiur99 wants to merge 2 commits intomainfrom
large-files-ping-error

Conversation

@giurgiur99
Copy link
Contributor

Fixes # .

Changes proposed in this PR:

  • The connection monitor runs a heartbeat (ping) on every connection every 10s. If that ping fails (e.g. timeout while the connection is busy with a large download), it was calling conn.abort(err) because abortConnectionOnPingFailure is true by default. That aborts the whole connection and all its streams, including result stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant