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

WebRTC SDP handshake connection transient? #2647

Open
marcus-pousette opened this issue Aug 2, 2024 · 0 comments
Open

WebRTC SDP handshake connection transient? #2647

marcus-pousette opened this issue Aug 2, 2024 · 0 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@marcus-pousette
Copy link
Contributor

marcus-pousette commented Aug 2, 2024

  • Version:
    @libp2p/webrtc 4.1.3

  • Subsystem:
    WebRTC

Severity:

Medium

Description:

I continue my investigation from #2646 and found that there is a bunch of connection and disconnection events that goes through the protocol handler due to the temporary WebRTC SDP handshake connection.

connection = await transportManager.dial(baseAddr, {

When shouldCloseConnection is true, I would want to handle this connection as transient since it might close very soon after open.

Doing a

connection.transient = true

line after the dial does not however fix the problem completely since we still have the problem that all transient connection close events go through the protocol handler topology changes even if notifyOnTransient: false, which is another issue #2369

@marcus-pousette marcus-pousette added the need/triage Needs initial labeling and prioritization label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

1 participant