)]}'
{
  "commit": "16ae7a6ba1f1e2bfc19673e94dc4cde12a0d6735",
  "tree": "ad824d73ed85337cb41c4ac105902c7b171a00ec",
  "parents": [
    "1e8631b57088b98541c09c2a9ad7a3739f5eb01a"
  ],
  "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": "a311de903123dfaf85d51e678b0281c2a9f5f80e",
      "old_mode": 33188,
      "old_path": "src/http/v2/ngx_http_v2.c",
      "new_id": "2c621907b7e9946505e94d9622875c2b0837cc45",
      "new_mode": 33188,
      "new_path": "src/http/v2/ngx_http_v2.c"
    }
  ]
}
