)]}'
{
  "commit": "f1933e74be695f4f1dcf4fcebba258b2c6519486",
  "tree": "7d2d200a13b85abfc6e9aa6c324d2fd28c706e72",
  "parents": [
    "a22aa63c28a4a1b2c66c011be387743c5e404a73"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Tue Jan 19 20:21:12 2021 +0300"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Tue Jan 19 20:21:12 2021 +0300"
  },
  "message": "Removed incorrect optimization of HEAD requests.\n\nThe stub status module and ngx_http_send_response() (used by the empty gif\nmodule and the \"return\" directive) incorrectly assumed that responding\nto HEAD requests always results in r-\u003eheader_only being set.  This is not\ntrue, and results in incorrect behaviour, for example, in the following\nconfiguration:\n\n   location / {\n       image_filter size;\n       return 200 test;\n   }\n\nFix is to remove this incorrect micro-optimization from both stub status\nmodule and ngx_http_send_response().\n\nReported by Chris Newton.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9bdf88129db0d76289be21d19baff0dadcf080a3",
      "old_mode": 33188,
      "old_path": "src/http/modules/ngx_http_stub_status_module.c",
      "new_id": "db68b768a40cc54e63a65fda79831b0bf5cdb055",
      "new_mode": 33188,
      "new_path": "src/http/modules/ngx_http_stub_status_module.c"
    },
    {
      "type": "modify",
      "old_id": "3671558d874f208127a961e0a86b1b089ffa7d6e",
      "old_mode": 33188,
      "old_path": "src/http/ngx_http_core_module.c",
      "new_id": "aa40c998537fd707cb6530f1706173e8a16cbda4",
      "new_mode": 33188,
      "new_path": "src/http/ngx_http_core_module.c"
    }
  ]
}
