)]}'
{
  "commit": "bb84a9b9978fc894cea54b787706a999fc04c540",
  "tree": "3f9f7565c1cb48e63b465131f7c03cddd42cb881",
  "parents": [
    "1d47751c59b36d124cc67f9564e0bd8774eb0984"
  ],
  "author": {
    "name": "ianswett",
    "email": "ianswett@google.com",
    "time": "Tue Nov 24 14:40:13 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Nov 24 14:41:08 2026 -0800"
  },
  "message": "Defer ACK-only packets while delivering queued packets to a new session when the client sends SDAO.\n\nWhen `QuicDispatcher` creates a session for a multi-packet `ClientHello`, it delivers the packet that completed the `ClientHello` and then the buffered `INITIAL` fragments, flushing after each individual packet. Since `INITIAL` packets are ACKed immediately, the server sent a standalone 1200-byte padded `INITIAL` ACK packet after the first packet was processed, before the full `ClientHello` was available, instead of bundling the ACK with the ServerHello.\n\nProtected by reloadable flag `gfe2_reloadable_flag_quic_defer_ack_only_packets_for_queued_packets`, and enabled per connection by the new `SDAO` client connection option so the impact can be measured with a client-side experiment:\n- When `QuicDispatcher::ProcessChlo` or `QuicDispatcher::ProcessBufferedChlos` creates a session for a multi-packet `ClientHello`, it checks `packet_list.tls_chlo_extractor.transport_params()` for `SDAO` and calls `QuicConnection::set_allow_deferring_ack_only_packets(true)`. Single-packet `ClientHello`s have no buffered packets, so they are unaffected.\n- `QuicDispatcher::ProcessChlo` and `QuicDispatcher::DeliverPacketsToSession` hold a `QuicConnection::ScopedAckDeferrer` (added in cl/1015665961) while the current and queued packets are processed. Pending ACKs are then bundled with outgoing data (e.g. the ServerHello) or sent once when the deferrer goes out of scope.\n- Guards moving `transport_params_` in `TlsChloExtractor::operator\u003d` behind the flag.\n\nThe packet delivery order is unchanged. With ACK-only packets deferred for the whole batch, processing the completing packet first produces the same single ServerHello with a bundled ACK as processing the packets in order.\n\n`SDAO` is not detected for draft-29, which uses the legacy transport parameters TLS extension.\n\nProtected by quic_reloadable_flag_quic_defer_ack_only_packets_for_queued_packets.\n\nPiperOrigin-RevId: 1029354817\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5d7a05e29d444501e078af490dc25f6604b52b15",
      "old_mode": 33188,
      "old_path": "quiche/common/quiche_feature_flags_list.h",
      "new_id": "43359835b2dabe9d44f1bc014e6854774197e7b8",
      "new_mode": 33188,
      "new_path": "quiche/common/quiche_feature_flags_list.h"
    },
    {
      "type": "modify",
      "old_id": "57b5f815bfd307358be961fd5c32dc1e110858c8",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/crypto/crypto_protocol.h",
      "new_id": "a7ccfc150ae398262a698bb3fb007c43ed4fe4dc",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/crypto/crypto_protocol.h"
    },
    {
      "type": "modify",
      "old_id": "495ad70b66ac20abcf4402202ca523743079813f",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_connection.h",
      "new_id": "876bfee990ad0b753976eb921a5fc172c1bea541",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_connection.h"
    },
    {
      "type": "modify",
      "old_id": "29b6185b454f8d8c73c5bfd1d43c8b06352fb255",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_connection_test.cc",
      "new_id": "6ac21289265db9f11c59a257ea90a3b18a60c249",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_connection_test.cc"
    },
    {
      "type": "modify",
      "old_id": "e98e00ecc65eb6208d9a7448478c4c35ac0da5f1",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_dispatcher.cc",
      "new_id": "0fc34f4cc44d0d08bb045e5e3b3ce31af6ce0db0",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_dispatcher.cc"
    },
    {
      "type": "modify",
      "old_id": "2877395dc571a8e3f72457614657916708489a5e",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_dispatcher_test.cc",
      "new_id": "21c4f8f2ab311f088afdcf78950ef4db6cd2a239",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_dispatcher_test.cc"
    },
    {
      "type": "modify",
      "old_id": "4cc7f733e3589ca77840496ba34dcb7dc7a8c29e",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/tls_chlo_extractor.cc",
      "new_id": "0055ad8383be14c2a1ee3d58f4ad35962005aeea",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/tls_chlo_extractor.cc"
    },
    {
      "type": "modify",
      "old_id": "ed1fce886f8b10cb1ea3e095c96dfd6bdef5d36e",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/tls_chlo_extractor_test.cc",
      "new_id": "9739eb8069def0ddd05057ac8608eb1c20870526",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/tls_chlo_extractor_test.cc"
    },
    {
      "type": "modify",
      "old_id": "49e3864b1371c873cb110527ba13ad709ca668cc",
      "old_mode": 33188,
      "old_path": "quiche/quic/test_tools/quic_connection_peer.cc",
      "new_id": "21c01cea059bf4784d143d513d59a10ea94741e0",
      "new_mode": 33188,
      "new_path": "quiche/quic/test_tools/quic_connection_peer.cc"
    },
    {
      "type": "modify",
      "old_id": "729593bf56df62bec9f093ad938994b750ff5fbc",
      "old_mode": 33188,
      "old_path": "quiche/quic/test_tools/quic_connection_peer.h",
      "new_id": "ad001422a94187f16313fb6c769ce9b9f2ddcefa",
      "new_mode": 33188,
      "new_path": "quiche/quic/test_tools/quic_connection_peer.h"
    }
  ]
}
