)]}'
{
  "commit": "77ca973d119d999946e62553b88425cfcdc0de6a",
  "tree": "972b35c631a11f73bfbf9f23f174a99f97b69506",
  "parents": [
    "ad5ef15e087983d1981a62d04f5fce6d9974f65c"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Tue Sep 27 11:13:00 2011 +0000"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Tue Sep 27 11:13:00 2011 +0000"
  },
  "message": "Fix for \"return 202\" not discarding body.\n\nBig POST (not fully preread) to a\n\n    location / {\n        return 202;\n    }\n\nresulted in incorrect behaviour due to \"return\" code path not calling\nngx_http_discard_request_body().  The same applies to all \"return\" used\nwith 2xx/3xx codes except 201 and 204, and to all \"return ... text\" uses.\n\nFix is to add ngx_http_discard_request_body() call to ngx_http_send_response()\nfunction where it looks appropriate.  Discard body call from emtpy gif module\nremoved as it\u0027s now redundant.\n\nReported by Pyry Hakulinen, see\nhttp://mailman.nginx.org/pipermail/nginx/2011-August/028503.html\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a896bd4b604dead5b017f75db5179ce297624dcf",
      "old_mode": 33188,
      "old_path": "src/http/modules/ngx_http_empty_gif_module.c",
      "new_id": "7cef538acb1cdb2dd8b779c95304d0b28205a20a",
      "new_mode": 33188,
      "new_path": "src/http/modules/ngx_http_empty_gif_module.c"
    },
    {
      "type": "modify",
      "old_id": "d51dc23d1846c3c808f49e199e0f7ad9477d7aa6",
      "old_mode": 33188,
      "old_path": "src/http/ngx_http_core_module.c",
      "new_id": "ae9d8479d985e533d3912f27db92af59380fcedd",
      "new_mode": 33188,
      "new_path": "src/http/ngx_http_core_module.c"
    }
  ]
}
