Opening this issue for discussion, as a followup from looking at #512
@flub is suggesting to never clear pending without actually having sent packets. We do this for e.g. PATH_NEW_CONNECTION_ID frames when we discard paths.
Doing this is what we think causes our PTO to fire without any packets being lost.
To me it's not clear yet whether we should do this. We might also be able to fix the issue by recomputing the PTO timer every time we change the inputs to that function that computes said timer.
Opening this issue for discussion, as a followup from looking at #512
@flub is suggesting to never clear pending without actually having sent packets. We do this for e.g. PATH_NEW_CONNECTION_ID frames when we discard paths.
Doing this is what we think causes our PTO to fire without any packets being lost.
To me it's not clear yet whether we should do this. We might also be able to fix the issue by recomputing the PTO timer every time we change the inputs to that function that computes said timer.