jonas-schievink/rubble

Don't give up when missing the initial transmit window

Open

#77 opened on Sep 28, 2019

View on GitHub
 (0 comments) (2 reactions) (0 assignees)Rust (58 forks)user submission
area: link layergood first issuestatus: needs codetype: bug

Repository metrics

Stars
 (403 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Currently the link layer will abort the connection when it does not receive the initial connect event:

https://github.com/jonas-schievink/rubble/blob/0c219f5fd1ef24cc6ca6f6e1edb02556e5fdd64f/rubble/src/link/connection.rs#L338-L345

This shouldn't happen. Instead, we should do what the comment suggests (and check it against the spec).

The effect of this bug is that establishing a connection can spuriously fail, so this is a reliability issue.

Contributor guide