)]}'
{
  "commit": "25d977eca3d0c2c268a8b2d7a217e4b41c10d891",
  "tree": "f7bd907b02a6cac4c17ca8f7f0a03d5292089c93",
  "parents": [
    "fc4f6dd734c2d94dddbc6dd38871d9c67f1817a7"
  ],
  "author": {
    "name": "QUICHE team",
    "email": "quiche-dev@google.com",
    "time": "Wed Oct 28 11:45:23 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Oct 28 11:46:15 2026 -0700"
  },
  "message": "#cana-http 1/2: Pass the HTTP/3 SETTINGS wire order to QuicSpdySession::OnSettingsFrame.\n\nSettingsFrame::values is an absl::flat_hash_map, so the order in which a peer sent its SETTINGS identifiers is lost as soon as HttpDecoder parses the frame. Some consumers (e.g. GFE, which logs client settings for passive fingerprinting) need that order.\n\nThis change keeps SettingsFrame and SettingsMap as they are, so the two SettingsFrame objects that live as long as a connection do not grow, and passes the wire order alongside the received frame on the receive path:\n\n- HttpDecoder::Visitor::OnSettingsFrame gains an `absl::Span\u003cconst uint64_t\u003e wire_order` parameter holding the identifiers in the order they appeared on the wire. The span is backed by a vector local to HttpDecoder::ProcessInput and is only valid for the duration of the call.\n- QuicSpdySession::OnSettingsFrame gains the same `wire_order` parameter, and QuicReceiveControlStream passes it through. QuicSpdySession itself ignores it; subclasses that want the order can read it.\n\nAll overrides in google3 are updated to accept the span and pass it to the base call: QuicSpdyClientSessionBase, WebTransportOnlyServerSession, MasqueClientSession, MasqueServerSession, GfeQuicServerSession, EnvoyQuicClientSession, and the WebTransport test client in media/webrtc. HttpDecoder::Visitor implementations (QuicReceiveControlStream, QuicSpdyStream, the ALPS decoder, MockHttpDecoderVisitor, the net/quic fuzz visitor) are updated likewise. Test call sites pass an empty wire_order.\n\nFor Envoy, the change to third_party/envoy/src is also captured in piper_patches/quiche_settings_wire_order.diff and applied by piper-import-transformations.bara.sky per go/patching-envoy-for-quiche, so the next QUICHE roll into Envoy keeps compiling. Chromium is handled by the QUICHE roll rotation.\n\nNOT generated via copybara.\n\nNo behavior change: every implementation ignores wire_order. A GFE follow-up records it behind a flag.\n\nTests: HttpDecoder reports the wire order for non-ascending identifiers (whole frame and byte by byte) and for the empty frame; existing decoder tests assert the order for sorted input.\nPiperOrigin-RevId: 1009066517\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4b90a59acaee247be53c2833d78ecde08bd348fd",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/http_decoder.cc",
      "new_id": "c485ad347c02fcff0fc32dbbb13c7591d150e1e4",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/http_decoder.cc"
    },
    {
      "type": "modify",
      "old_id": "2368c74e2a3cfb90fceec6131f46b0e1d6cef0d6",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/http_decoder.h",
      "new_id": "2ec9d360f39701f750c4203d1a6a22a551d8f03a",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/http_decoder.h"
    },
    {
      "type": "modify",
      "old_id": "edd2341c002fe82ed1e73e8abcaff4e3d04b680e",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/http_decoder_test.cc",
      "new_id": "f5d267bdab42a950ca31acb2f056d23b7c015a6c",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/http_decoder_test.cc"
    },
    {
      "type": "modify",
      "old_id": "46b3a7cb9a8b4681cec0561657ff637b7b71c470",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_receive_control_stream.cc",
      "new_id": "0ed243c29a92c8b5b77654288aaa739828ad05ec",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_receive_control_stream.cc"
    },
    {
      "type": "modify",
      "old_id": "0b33877e093f28a25009313c8ce449d54e7dd171",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_receive_control_stream.h",
      "new_id": "58ffbd8bc85143f4d9a6cce80cd3bfb59eeb7199",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_receive_control_stream.h"
    },
    {
      "type": "modify",
      "old_id": "d080191fe0ff777de395a65a212e14d6d8443c71",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_spdy_client_session_base.cc",
      "new_id": "104b3d78a03f80be6e11416d023838c14439c75c",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_spdy_client_session_base.cc"
    },
    {
      "type": "modify",
      "old_id": "59a791832242210de1d945598d08fdddaaed1670",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_spdy_client_session_base.h",
      "new_id": "6e053fb79e94036699e5763d9dca4b43abcd7588",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_spdy_client_session_base.h"
    },
    {
      "type": "modify",
      "old_id": "d03154259015402db46c5fce5d8e3f0604f2b7c1",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_spdy_client_session_test.cc",
      "new_id": "4fbc90afc87c60dd9464a0b6b5c6267f957853db",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_spdy_client_session_test.cc"
    },
    {
      "type": "modify",
      "old_id": "4f9ed30e05e3ebdaa4866e28bc19362723bcb26c",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_spdy_session.cc",
      "new_id": "6784ef431a1008cab45d9ae9f8637f6820a23bde",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_spdy_session.cc"
    },
    {
      "type": "modify",
      "old_id": "a38d976525de16876d74ea6097286314bbb572dd",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_spdy_session.h",
      "new_id": "e2697d5f294dcfb72b9069622fe4f5a10fdec99d",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_spdy_session.h"
    },
    {
      "type": "modify",
      "old_id": "8958d41052dead9f202d0693a4c4c1217f00bbcf",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_spdy_session_test.cc",
      "new_id": "a320379001366cdf11f9be3801398472baba5dbf",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_spdy_session_test.cc"
    },
    {
      "type": "modify",
      "old_id": "d57236f610bde2587fc0920fab692c8dd6d81a84",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_spdy_stream.cc",
      "new_id": "c67c241c07f5280e0b642652470e5a6c79d32cb1",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_spdy_stream.cc"
    },
    {
      "type": "modify",
      "old_id": "048340e7d880f2095affaa9e121bae8bff543365",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/quic_spdy_stream_test.cc",
      "new_id": "343687f55827f48748619f2d164db74ef02c59e7",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/quic_spdy_stream_test.cc"
    },
    {
      "type": "modify",
      "old_id": "55b90d5599a38ce3c4e12a65000b7556e8ab5ae4",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/web_transport_only_server_session.cc",
      "new_id": "e778630b82636b035d04f193c1d2f5511f6f7bd6",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/web_transport_only_server_session.cc"
    },
    {
      "type": "modify",
      "old_id": "fe9ebf805f5d0c05d84e2e187bd4d4e48ecaf45b",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/http/web_transport_only_server_session.h",
      "new_id": "b46c71ef14ae2a7964fa70e29061ae64d3db8d5c",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/http/web_transport_only_server_session.h"
    },
    {
      "type": "modify",
      "old_id": "1dbc686c2f05bf0750c8f014bfdb15180222dda2",
      "old_mode": 33188,
      "old_path": "quiche/quic/masque/masque_client_session.cc",
      "new_id": "5eea086f11624ef6f997a682a76079530ebd8b86",
      "new_mode": 33188,
      "new_path": "quiche/quic/masque/masque_client_session.cc"
    },
    {
      "type": "modify",
      "old_id": "89765f79222fb2c47188eebc8141e1a3a5f90abc",
      "old_mode": 33188,
      "old_path": "quiche/quic/masque/masque_client_session.h",
      "new_id": "ce975029a3b40c0fdec8dadcc7ad839c67582a9b",
      "new_mode": 33188,
      "new_path": "quiche/quic/masque/masque_client_session.h"
    },
    {
      "type": "modify",
      "old_id": "85a0fdb8fc706d94cd17d25e84b7b20ae8d77023",
      "old_mode": 33188,
      "old_path": "quiche/quic/masque/masque_server_session.cc",
      "new_id": "cf41c3660f05b0ce5cb528df8b4865d7d2852787",
      "new_mode": 33188,
      "new_path": "quiche/quic/masque/masque_server_session.cc"
    },
    {
      "type": "modify",
      "old_id": "7845a305b463758c0514caea3a7f0d44230c86a0",
      "old_mode": 33188,
      "old_path": "quiche/quic/masque/masque_server_session.h",
      "new_id": "9d0296d648f0c6a15c78195e99c1c8f7d43a27ca",
      "new_mode": 33188,
      "new_path": "quiche/quic/masque/masque_server_session.h"
    },
    {
      "type": "modify",
      "old_id": "3dd42f872d6d27c37937d50b88df37fc6b35c266",
      "old_mode": 33188,
      "old_path": "quiche/quic/test_tools/quic_test_utils.h",
      "new_id": "ff96e6e33070db3743983872a1d33b1abd39679c",
      "new_mode": 33188,
      "new_path": "quiche/quic/test_tools/quic_test_utils.h"
    }
  ]
}
