)]}'
{
  "commit": "738c44c31155282f84133195ac396596181f61c0",
  "tree": "bee21bc0c3d4f0d6aecab432f8c1e9c2135edd05",
  "parents": [
    "b1a039161764bd0fbc4cd7f7a9d333ce41d75a25"
  ],
  "author": {
    "name": "Patryk Lesiewicz",
    "email": "patryk@google.com",
    "time": "Fri Dec 01 15:59:14 2017 -0800"
  },
  "committer": {
    "name": "Patryk Lesiewicz",
    "email": "patryk@google.com",
    "time": "Fri Dec 01 15:59:14 2017 -0800"
  },
  "message": "Upstream: flush low-level buffers on write retry.\n\nIf the data to write is bigger than what the socket can send, and the\nreminder is smaller than NGX_SSL_BUFSIZE, then SSL_write() fails with\nSSL_ERROR_WANT_WRITE. The reminder of payload however is successfully\ncopied to the low-level buffer and all the output chain buffers are\nflushed. This means that retry logic doesn\u0027t work because\nngx_http_upstream_process_non_buffered_request() checks only if there\u0027s\nanything in the output chain buffers and ignores the fact that something\nmay be buffered in low-level parts of the stack.\n\nSigned-off-by: Patryk Lesiewicz \u003cpatryk@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "75f463ba79956d2f01a7858c9fc24bf722ab1b56",
      "old_mode": 33188,
      "old_path": "src/http/ngx_http_upstream.c",
      "new_id": "6d0f4ee521ce8ee721c390a550f6e1f1bec1310d",
      "new_mode": 33188,
      "new_path": "src/http/ngx_http_upstream.c"
    }
  ]
}
