laminar icon indicating copy to clipboard operation
laminar copied to clipboard

Should we resend messages with reliable guarantee on IO error?

Open vladbat00 opened this issue 6 years ago • 0 comments

As far as I understand if a user tries to send a message and it fails to any reason, Laminar will try to resend it after getting 32 packets without acknowledging the failed message.

We discussed the following case with @jstnlef on Discord:

Let's say if a user tries connecting with sending a reliable Handshake message and keeps doing it for several times (if they can't because of AddrNotAvailable error, for instance), then on success a server will get lots of handshakes from the same peer

I believe that in this case we should give a user possibility to decide what to do with such messages on error handling

vladbat00 avatar Oct 18 '19 16:10 vladbat00