)]}'
{
  "commit": "655638c29c298614c669f4486125892194063cdd",
  "tree": "7f0448e53ae65406fbb689e3946ebea858ae0b28",
  "parents": [
    "42b5ddc0957f31729ebd0580811ccc343d669b93"
  ],
  "author": {
    "name": "QUICHE team",
    "email": "quiche-dev@google.com",
    "time": "Wed Jan 19 14:25:01 2022 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Jan 19 14:25:59 2022 -0800"
  },
  "message": "Fix content-length validation for trailers.\n\nThis CL fixes a bug in content-length validation when trailers end the stream:\n  1. End of headers, stores content-length for validation\n  2. End of data, does not end stream and does not match content-length\n  3. End of trailers, ends stream and stores content-length for validation (!)\n\nThe re-storing of content-length at the end of trailers erases the previous\nvalidation at the end of data. This CL fixes Step 3 to avoid storing\ncontent-length for trailers.\n\nMultiplexedIntegrationTest.InconsistentContentLength:\nhttp://sponge2/e572060c-8ff8-45a8-b3b3-25994345b2bb (demonstrates RST_STREAM)\n\nPiperOrigin-RevId: 422904538\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d25615686f4b302ae20a5eae2c297de2e2148c02",
      "old_mode": 33188,
      "old_path": "http2/adapter/header_validator.cc",
      "new_id": "d5ae7a2b070dde69bf9797bf530ba8c4ecc6569c",
      "new_mode": 33188,
      "new_path": "http2/adapter/header_validator.cc"
    },
    {
      "type": "modify",
      "old_id": "0bf729568df809847ec9f003349fc5cbb814e1cd",
      "old_mode": 33188,
      "old_path": "http2/adapter/nghttp2_adapter_test.cc",
      "new_id": "206d8e28b02f42874ee57c99e5691decdfc48f90",
      "new_mode": 33188,
      "new_path": "http2/adapter/nghttp2_adapter_test.cc"
    },
    {
      "type": "modify",
      "old_id": "3660d20007b1001b3e2647e69b123fca12b31e77",
      "old_mode": 33188,
      "old_path": "http2/adapter/oghttp2_adapter_test.cc",
      "new_id": "d3f235de445eb333566602d3328d7e6e19055223",
      "new_mode": 33188,
      "new_path": "http2/adapter/oghttp2_adapter_test.cc"
    },
    {
      "type": "modify",
      "old_id": "827e80b96fe0ad8ee985112cf5368677d9479fac",
      "old_mode": 33188,
      "old_path": "http2/adapter/oghttp2_session.cc",
      "new_id": "4c14b1b72e7ca6621d9c74410d611b650df4d5cf",
      "new_mode": 33188,
      "new_path": "http2/adapter/oghttp2_session.cc"
    }
  ]
}
