)]}'
{
  "commit": "745a2a88f90a1eb01298766e8198085a64b078fd",
  "tree": "f7366674c2bc47ebe09dbc04f3ab832d2f8e4000",
  "parents": [
    "baff2cab3d404a7240c368d2c0b00e9f79ebf642"
  ],
  "author": {
    "name": "Valentin Bartenev",
    "email": "vbart@nginx.com",
    "time": "Wed Oct 04 21:15:15 2017 +0300"
  },
  "committer": {
    "name": "Valentin Bartenev",
    "email": "vbart@nginx.com",
    "time": "Wed Oct 04 21:15:15 2017 +0300"
  },
  "message": "HTTP/2: enforce writing the sync request body buffer to file.\n\nThe sync flag of HTTP/2 request body buffer is used when the size of request\nbody is unknown or bigger than configured \"client_body_buffer_size\".  In this\ncase the buffer points to body data inside the global receive buffer that is\nused for reading all HTTP/2 connections in the worker process.  Thus, when the\nsync flag is set, the buffer must be flushed to a temporary file, otherwise\nthe request body data can be overwritten.\n\nPreviously, the sync buffer wasn\u0027t flushed to a temporary file if the whole\nbody was received in one DATA frame with the END_STREAM flag and wasn\u0027t\ncopied into the HTTP/2 body preread buffer.  As a result, the request body\nmight be corrupted (ticket #1384).\n\nNow, setting r-\u003erequest_body_in_file_only enforces writing the sync buffer\nto a temporary file in all cases.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "55db58e781ce34227f9452242bd5cac631558d4a",
      "old_mode": 33188,
      "old_path": "src/http/v2/ngx_http_v2.c",
      "new_id": "db500ff67f7201ae974224c3ffd7d34d331d4e4e",
      "new_mode": 33188,
      "new_path": "src/http/v2/ngx_http_v2.c"
    }
  ]
}
