Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protocols/request-response: Remove InboundFailure::ConnectionClosed #1863

Closed
wants to merge 1 commit into from

Conversation

mxinden
Copy link
Member

@mxinden mxinden commented Nov 27, 2020

The InboundFailure::ConnectionClosed event is never emitted by the RequestResponse NetworkBehaviour. Responses to be send on a closed connection are simply dropped.

See #1860 (comment) for details.

For now the event is just removed to fix the status quo. In the future we might want to extend the events emitted by RequestResponse regarding inbound requests to give users more visibility. This is not trivial, see #1860 for details.

What do you think?

The `InboundFailure::ConnectionClosed` event is never emitted by the
`RequestResponse` `NetworkBehaviour`. Responses to be send on a closed
connection are simply dropped.
@romanb
Copy link
Contributor

romanb commented Nov 30, 2020

Let me try and see if I can up with an alternative by tomorrow.

@mxinden
Copy link
Member Author

mxinden commented Nov 30, 2020

Thanks @romanb. This is not blocking any of my work and thus is not in a rush.

@romanb
Copy link
Contributor

romanb commented Dec 7, 2020

Superseded by #1867.

@romanb romanb closed this Dec 7, 2020
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.

2 participants