Draft: draft-ietf-quic-transport

Commentary: In we agreed on this . Considering that the decision affects handling of multiple frames , I think it 's worth clarifying the general rule in the draft . For discussions regarding specific frames , please refer : MAXSTREAMS , MAXDATA ,    , STOPSENDING - ACK - 
 If you want to be explicit , perhaps also mention that stream ranges can be retransmitted with different boundaries or partially , if this is n't already covered by some existing text . 
 While that 's possible , I think we should better handle retransmission rules of specific frames in separate PRs . The reason I suggest this having this catch - all sentence is because to me it seems that the concept is sometimes being lost . 
 I agree that I 'd like to discourage this a bit more than this PR does . 
 Your comments make sense to me . I 'll update the PR . 
 Moved to 13.2 , expanding the text to encourage reassembling frames containing up - to - date information . PTAL . 
 This is implicitly assumed , and , as points out in , not doing so can cause undesired outcomes . There should be normative text in the transport draft requiring this behavior . 
 So the situation is that if one so far have ACKed : 1,2,3,6,7 . Then if 4,5 shows up at the receiver and it is going to ACK those , it must at least send an ACK that contains 4,5 and 7 , thus likely acking 4 - 7 ? It should not be allowed to send an ACK saying 4 , 5 in the above situation as that does n't indicate the receiver total progress , i.e. all the way to 7 ? I think requiring Largest  to always indicate highest solves some issues and likely simplifies a lot of implementations . But it may result in larger ACK frames as one will have include the full current state between the largest  and so far into the past PNs that you need to go . In severe re - ordering cases that could be a lot . Will this cause cause the ACK to be to large to include ? Especially maybe in connections with a large delay bandwidth product going full steam encountering a serious hick up in the network . For example if an ACK is required to ack packet 4000 + 1E9 and you have 500 gaps that has arrived the last RTT/4 and really should be included . Resulting in an ACK frame that is at least 1000 bytes large , possibly bigger . 
 There are a few things this precludes , and we we should understand those before doing this . 1 ) A very limited implementation(ie : hardware ) ca n't always send only one ACK block without giving up on reordered packets . I do n't have such an implementation , but at some point I remember discussing this idea with people who seemed interested in it . 2 ) One can not do multipath with QUIC v1 and it means the multipath design will have to use a PN space per path , as described in Christian 's draft : I think that 's likely the right choice for other reasons , but I 'm hesitant to make that decision now . 3 ) An RTT sample can only be taken based on the largest acked . Therefore , if there is a large amount of reordering(ie : 1RTT ) , you do n't get any RTT samples for an RTT . If we care about this , we can probably solve it a different way in the recovery draft , but that likely means using ack delay sometimes and not others . In regards to Martin 's comment , I thought we already had text that said ACKs with lower packet numbers than the largest ACK packet number should be ignored , since they 're old ? 
 regarding your question . " In regards to Martin 's comment , I thought we already had text that said ACKs with lower packet numbers than the largest ACK packet number should be ignored , since they 're old ? " At least when it comes to ECN , the editors have been working hard to reformulate which has resulted in that there is nothing that applies this from the PN increasing for the ACKs . So to solve the ECN part , I think ( re-)introducing that aspect into the text is the simpliest fix for ECN . But there clearly are other aspects here . 
 The problem does n't go away if you ignore acks that are lower than largest_acked . The problem is that the receiver sent the acks in the wrong order because packets were received in the wrong order , but ECN counts are going up . But you raise good points . This is a corner case . I think that with the current spec , under these conditions , ECN gets turned off since validation fails . I think that 's a reasonable outcome , and I 'm fine with it . 
 ECN Validation as I currently understand it will not fail if the sender to receiver reordering happens as long as the ACKs from the receiver to sender are not reordered . So to my understanding what is missing is a requirement for the sender to no process verfication for out of order ACKs . It will not fail if the largest acknowledge is not increasing as the comparison is done on number of newly ACKed packets versus counts change . The current sentence in Section 13.3.2 ( -17 ): " Counts MUST NOT be verified if the ACK frame does not increase the largest received packet number at the endpoint . " Which I interpret to mean that what PN the ACK reference ( sender - receiver direction ) , rather than the PN of the receiver to sender direction . Can or fix that ? 
 I think is enough to address the original problem , so I 'd like to close this issue . I think and are enough . sound ok ? 
 Yes , the ECN related issue is resolved . What I do n't know if it is resolved fully is the implementation requirements is that a sender MUST be capable of handling an ACK frame with Largest Acknowledged that is smaller than highest received ? From my perspective there are good and valid arguments why this may be required , however I think consensus needs to be established on that . 
 I am not sure if I 'm following the context , but my understanding is that a sender MUST be capable of that , because we allow an endpoint to simply retransmit the payload of a packet that is being deemed lost ; see . 
 Just a stray thought : is this requirement really strictly needed ? It would complicate trasnmitters that split work into multiple processing units which might not be fully synced on the latest ACK'ed . 
 what says . Also , a sender needs to be able to simply deal with reordering on the ack path . Did you mean something else ? 
 My concern was primarily about the clearness of this behavior in the specification text . In transport I find the following which indicates this but are not explicit . 1 : To limit receiver state or the size of ACK frames , a receiver MAY limit the number of ACK Ranges it sends . 3 : Largest Acknowledged : A variable - length integer representing the largest packet number the peer is acknowledging ; this is usually the largest packet number that the peer has received prior to generating the ACK frame . I think there are strong hints , with the above " usually the largest " indicating that it is not always . I would have made this explicit in 19.3 , but then I prefer being more explicit than not . I think it is possible interop issue point . Anywhere else this is more explicit ? ( I have read github master version ) I think there are strong points for allowing an ACK frame to acknowledge only a part of the range between highest received and confirmed to be have been  . The two main reasons I see . high rate flows suffering an packet loss burst so that the number of ACK ranges becomes to large to fit a single QUIC packet . Low complexity receivers ACKing a single range of received packets and doing this for reordered packets . 
 As suggested by in , might be the correct place . I am advocating for describing the design principle the PR , but we might ( or might not ) be interested in expanding how ACK could look like . 
 So results in certain implications , that an ACK could arrive that addresses older state , thus resulting in acknowledging some PNs that was previously unacknowledged . As 13.2 is about retransmissions , I think there are other desing principle aspects of ACKs that probably should be covered , but then earlier in 13.1 . 
 We 're in the process of making our implementation accept smaller largest_acked values , so I 'm wonder if we 're any closer to consensus(one way or the other ) on this issue ? 
 I think this is mostly addressed and what 's left is OBE . There 's text in the draft now that says : " Processing counts out of order can result in verification failure . An endpoint SHOULD NOT perform this verification if the ACK frame is received in a packet with packet number lower than a previously received ACK frame . Verifying based on ACK frames that arrive out of order can result in disabling ECN unnecessarily . " This would be adequate , but there 's other text ( thanks to ) that says old ACKs can be resent . I think we simply add a note about that in the para above , which should be adequate . 
 Discussed in London : to prepare a PR for those remaining bits 
 any progress here ? 
 I think the conclusion here is close with no further action , but it 'd be good for to confirm . 
 I 've , which I believe addresses what 's left of this issue . 
 Note that we agreed that proposal - ready would be used when there were approvals for PRs ( or at least apparent agreement , as determined by editors ) . 
 : Yeah , my bad . 
 This gets fixed by , so marking this issue as well . 
 Fixed by .
Paragraph (version B):
Even though a sender is encouraged to assemble frames containing up-
to-date information every time it sends a packet, it is not forbidden
to retransmit frames of lost packets as they are.  A receiver MUST
accept packets containing an outdated frame, such as a MAX_DATA frame
carrying a smaller maximum data than one found in an older packet.