)]}'
{
  "commit": "0913e8b57efc584c317c51988c079a56c6c82a94",
  "tree": "4c6907081ce2391d35e0611beb7dc316734a3620",
  "parents": [
    "6ac968cceb0bdd1432386b1ffd8fae52065a6bbd"
  ],
  "author": {
    "name": "Ben Caimano",
    "email": "bcaimano@cloudflare.com",
    "time": "Thu Jan 20 13:31:22 2022 -0500"
  },
  "committer": {
    "name": "Ben Caimano",
    "email": "bcaimano@cloudflare.com",
    "time": "Mon Jan 24 17:44:06 2022 -0500"
  },
  "message": "Assert that HttpHeaders instances know about indexed ids\n\nThe HttpHeaderTable::Builder class allows you to reference its future table before it is fully built. But that HttpHeaderTable must be used to make HttpHeaders instances only after HttpHeaderTable::Builder::build() is invoked under peril of index out of bounds error in debug mode or segfault in release mode. These errors can be somewhat mysterious since they usually occur on a different stack from where the HttpHeaders instance was made. This commit adds an assertion that makes this situation more evident and logs useful diagnostic info about which header id was added after the construction. Hopefully, it should downgrade a segfault to failed Promise or thrown Exception for most users.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3e832fde1785ea98281797d77650340b087a2ed2",
      "old_mode": 33188,
      "old_path": "c++/src/kj/compat/http-test.c++",
      "new_id": "9a973b6edae82ab504b6ab8c5338d898106c9ff3",
      "new_mode": 33188,
      "new_path": "c++/src/kj/compat/http-test.c++"
    },
    {
      "type": "modify",
      "old_id": "da8ea2a0ca03fc91619c03d167381a6abfc07820",
      "old_mode": 33188,
      "old_path": "c++/src/kj/compat/http.c++",
      "new_id": "15de2ee852c2ed1333995f0567dd92a958781132",
      "new_mode": 33188,
      "new_path": "c++/src/kj/compat/http.c++"
    },
    {
      "type": "modify",
      "old_id": "a89fbf2b86ac7ae0edcc0b514acec8d724fded0a",
      "old_mode": 33188,
      "old_path": "c++/src/kj/compat/http.h",
      "new_id": "a59932e8e23969f005c1e06f879170abbe7edce0",
      "new_mode": 33188,
      "new_path": "c++/src/kj/compat/http.h"
    }
  ]
}
