)]}'
{
  "commit": "ac0a808608e50ee0225e636f811c585dd5bb9ba5",
  "tree": "201fad310aac749578afae67136786e8629f0829",
  "parents": [
    "360aad190f7013ad7c47fde70f149e41f318bb10"
  ],
  "author": {
    "name": "QUICHE team",
    "email": "quiche-dev@google.com",
    "time": "Mon Jun 13 09:17:05 2022 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Jun 13 09:22:56 2022 -0700"
  },
  "message": "Fix QUIC connection retransmission stats\n\nBecause QUIC retransmits data at the stream level (rather than packet level) since QUIC version \u003e 39, the current implementation of bytes_retransmitted and packets_retransmitted is incorrect.\n\nWith this change:\n- The packet now has a running total of \"not retransmission\" bytes. We use this new field to populate the `bytes_retransmitted` fields on the connection stats.\n- The packet is considered a \"retransmission\" packet if ANY frame is a retransmission frame (rather than looking at the latest retransmittable frame).\n\nPiperOrigin-RevId: 454625064\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "92db72835af6961989a999a09b067ac9878366c7",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_connection.cc",
      "new_id": "2645c583464a216e3f966347b7a88f854f746ae9",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_connection.cc"
    },
    {
      "type": "modify",
      "old_id": "ff845387b5e8a793de632c093e7b230bb47bcffe",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_connection_test.cc",
      "new_id": "b3c01d510edb42396b8be7e62c6a54277b55d77b",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_connection_test.cc"
    },
    {
      "type": "modify",
      "old_id": "66c7d14f94af685f5ad203981cc8f27385444891",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_packet_creator.cc",
      "new_id": "98d6314b97e2ba659d16219d7e20e09647a228f1",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_packet_creator.cc"
    },
    {
      "type": "modify",
      "old_id": "c9f8ecccfe4bbb7024b46b66d0ccd3f82c1992d7",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_packet_creator_test.cc",
      "new_id": "f6a81b2942874adab53770a080722b8c6a8d17c3",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_packet_creator_test.cc"
    },
    {
      "type": "modify",
      "old_id": "57d6ba7ff33e5840077b8c0bc6ea3fb0fee42bc0",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_packets.cc",
      "new_id": "369a32a4a21295383e751ddd7b98fc3d5d7fe90d",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_packets.cc"
    },
    {
      "type": "modify",
      "old_id": "5246f43eaaf79a6791e96aa4c9286d461b3a5c58",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/quic_packets.h",
      "new_id": "d4f04c88791b7dc15fd893b2e71f48ccf90f0cfa",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/quic_packets.h"
    },
    {
      "type": "modify",
      "old_id": "123eb6e8e9ae8204933bba0f305aa4f4b837ea6f",
      "old_mode": 33188,
      "old_path": "quiche/quic/test_tools/simple_session_notifier.cc",
      "new_id": "7a2e70581564a7120d202ff071a92080f80a63db",
      "new_mode": 33188,
      "new_path": "quiche/quic/test_tools/simple_session_notifier.cc"
    },
    {
      "type": "modify",
      "old_id": "e846499e26bf4860b67050771ff84f76d7bc1820",
      "old_mode": 33188,
      "old_path": "quiche/quic/test_tools/simple_session_notifier.h",
      "new_id": "f1af586ed15fceded3d84be75a1202996c6863fa",
      "new_mode": 33188,
      "new_path": "quiche/quic/test_tools/simple_session_notifier.h"
    }
  ]
}
