)]}'
{
  "commit": "b16918ed08b9f1155220a980ee6e133d31f2b61a",
  "tree": "68922be674b3471e63e960bd7ff4a9995ce9f61d",
  "parents": [
    "84c58a30e63fca6a509127fe046bd00a4b290135"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Tue Sep 27 11:17:11 2011 +0000"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Tue Sep 27 11:17:11 2011 +0000"
  },
  "message": "Cache: fix for sending of stale responses.\n\nFor normal cached responses ngx_http_cache_send() sends last buffer and then\nrequest finalized via ngx_http_finalize_request() call, i.e. everything is\nok.\n\nBut for stale responses (i.e. when upstream died, but we have something in\ncache) the same ngx_http_cache_send() sends last buffer, but then in\nngx_http_upstream_finalize_request() another last buffer is send.  This\ncauses duplicate final chunk to appear if chunked encoding is used (and\nresulting problems with keepalive connections and so on).\n\nFix this by not sending in ngx_http_upstream_finalize_request()\nanother last buffer if we know response was from cache.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3d022c78fe60644959942ec28c8bfb9b0a68adb7",
      "old_mode": 33188,
      "old_path": "src/http/ngx_http_upstream.c",
      "new_id": "703b8ff98a5971a25f2411bbbf7aa0e6fe4126c9",
      "new_mode": 33188,
      "new_path": "src/http/ngx_http_upstream.c"
    }
  ]
}
