project-chip / rs-matter

Rust implementation of the Matter protocol. Status: Experimental
Apache License 2.0
323 stars 45 forks source link

Timeout exchange recv #179

Closed ivmarkov closed 4 months ago

ivmarkov commented 4 months ago

While I haven't seen that on my noisy UDP network yet, it is completely possible to happen:

The logic is very simple and re-uses our re-transmission maximum timeout multiplied by 1.3 to give some extra waiting.