jonas-schievink/rubble

Don't give up when missing the initial transmit window

Open

#77 aperta il 28 set 2019

Vedi su GitHub
 (0 commenti) (2 reazioni) (0 assegnatari)Rust (58 fork)user submission
area: link layergood first issuestatus: needs codetype: bug

Metriche repository

Star
 (403 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor