)]}'
{
  "commit": "bec519a5898423167b74f443068f1e15a5c1e024",
  "tree": "5ff086a03ed5a203c5bea389fd1c3725e819d710",
  "parents": [
    "2f350d32702dfa6d1307d4ec8713d33207e4af6b"
  ],
  "author": {
    "name": "asedeno",
    "email": "asedeno@google.com",
    "time": "Tue Nov 03 16:44:14 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Nov 03 16:45:15 2026 -0800"
  },
  "message": "Report synchronous OS bind errors in quic::CreateAndBindServerSocket.\n\nWhen `QuicUdpSocketApi::Bind` fails synchronously (for example, with\n`EADDRINUSE` or `WSAEADDRINUSE`), the OS records the error in\nthread-local `errno` or `WSAGetLastError()` rather than the socket\u0027s\n`SO_ERROR` option. Inspecting `socket_api::GetSocketError` after a\nfailed `bind()` reads `SO_ERROR \u003d\u003d 0` and returns `absl::OkStatus()`,\nwhich crashes `DCHECK`-enabled builds and masks the underlying socket\nerror with `INTERNAL` in optimized builds when constructing\n`absl::StatusOr\u003cOwnedSocketFd\u003e`.\n\nDelegate binding in `CreateAndBindServerSocket` to `socket_api::Bind`\nso synchronous `bind()` failures translate the last socket error\ndirectly into a non-OK `absl::Status`, while keeping\n`QuicUdpSocketApi::Create` for UDP socket option setup.\n\nAdd `quic_server_io_harness_test.cc` covering ephemeral loopback\nbinding, address-in-use error propagation, and POSIX socket-creation\nfailure.\n\nPiperOrigin-RevId: 1013390345\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "19884fcc64cf244ce6222b02a8ec305d6b9454c3",
      "old_mode": 33188,
      "old_path": "build/source_list.bzl",
      "new_id": "1d4515c5b52d464b78fe4ecd8ab28b7e35ed7978",
      "new_mode": 33188,
      "new_path": "build/source_list.bzl"
    },
    {
      "type": "modify",
      "old_id": "1bece2a1383a7efdc3b0e2dc0ad2e234af63a079",
      "old_mode": 33188,
      "old_path": "build/source_list.gni",
      "new_id": "ecbc2d38a16ce4131393ad57e45b3aea82923e1a",
      "new_mode": 33188,
      "new_path": "build/source_list.gni"
    },
    {
      "type": "modify",
      "old_id": "145389c369a55f86d04224d7bb84ea612d30deef",
      "old_mode": 33188,
      "old_path": "build/source_list.json",
      "new_id": "1945c17c2d664a108dbd77a7807d01cccb93c66b",
      "new_mode": 33188,
      "new_path": "build/source_list.json"
    },
    {
      "type": "modify",
      "old_id": "e63778ca6f1b6a603ce87b4c9dd16261200b7860",
      "old_mode": 33188,
      "old_path": "quiche/quic/core/io/quic_server_io_harness.cc",
      "new_id": "0afffff952cbe6cbf5637d67fd4519625e233378",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/io/quic_server_io_harness.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "93039747e288bb62f0b2e8bf78b2a4a81e3761b0",
      "new_mode": 33188,
      "new_path": "quiche/quic/core/io/quic_server_io_harness_test.cc"
    }
  ]
}
