)]}'
{
  "commit": "394a597b7e832291b3dc66e6cd8362516fc36940",
  "tree": "a71c695c29a691239e5a0cb8f2bb71d70d79d11e",
  "parents": [
    "c27bc56fa588f6e2c3dfe1470dfad5cd1e1ce946"
  ],
  "author": {
    "name": "Tommi",
    "email": "tommi@webrtc.org",
    "time": "Thu Jun 25 07:21:35 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Jun 25 08:21:21 2026"
  },
  "message": "Fix data channel ID reuse race condition\n\nWhen a peer reopens a data channel quickly after closing it, the Host\nmight receive the new OPEN message while the old channel is still in\nkClosing state (waiting for the Client\u0027s ACK to complete the reset).\nThis causes the Host to reject the OPEN message because the SID is\nstill marked as reserved.\n\nThis fix forcefully closes the old channel if it is in kClosing state\nand we receive a new OPEN message for the same SID, allowing the new\nchannel to be created successfully.\n\nAlso includes a reproduction test in data_channel_controller_unittest.cc.\n\nBug: chromium:480916451\nChange-Id: Ie181a110f5d23561dcd90fbc63676f18040a7429\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/485180\nReviewed-by: Harald Alvestrand \u003chta@webrtc.org\u003e\nCommit-Queue: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#48081}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8f37c5ea471aff64bdceaeb55acb4324dcc8fd92",
      "old_mode": 33188,
      "old_path": "pc/BUILD.gn",
      "new_id": "edacddacad6afae86e3fe311b9a6b6108c125096",
      "new_mode": 33188,
      "new_path": "pc/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "6477e7ba79328beca5fae45def3530a52376f2d1",
      "old_mode": 33188,
      "old_path": "pc/data_channel_controller.cc",
      "new_id": "6611d74cc0b6c6f4ce025cca20e442b7e5bc215c",
      "new_mode": 33188,
      "new_path": "pc/data_channel_controller.cc"
    },
    {
      "type": "modify",
      "old_id": "9aae3471eac598713b48f087aac47bab6efa90f8",
      "old_mode": 33188,
      "old_path": "pc/data_channel_controller_unittest.cc",
      "new_id": "6f9bd6ee54265611ae14201d66ee57a514e36767",
      "new_mode": 33188,
      "new_path": "pc/data_channel_controller_unittest.cc"
    }
  ]
}
