)]}'
{
  "commit": "b5984de06b0ff350b06c270a784aa2fe107e72a4",
  "tree": "b2980267a3f25c623a77211945b027b98969f4f9",
  "parents": [
    "66a60a62cc002db31f8dd9c5112a92d55bf13fbd"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Mon Nov 14 13:18:15 2011 +0000"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Mon Nov 14 13:18:15 2011 +0000"
  },
  "message": "Fixed proxy_set_header inheritance with proxy_cache (ticket #45).\n\nHeaders cleared with cache enabled (If-Modified-Since etc.) might be cleared\nin unrelated servers/locations without proxy_cache enabled if proxy_cache was\nused in some server/location.\n\nExample config which triggered the problem:\n\n    proxy_set_header X-Test \"test\";\n    server { location /1 { proxy_cache name; proxy_pass ... } }\n    server { location /2 { proxy_pass ... } }\n\nAnother one:\n\n    server {\n        proxy_cache name;\n        location /1 { proxy_pass ... }\n        location /2 { proxy_cache off; proxy_pass ... }\n    }\n\nIn both cases If-Modified-Since header wasn\u0027t sent to backend in location /2.\n\nFix is to not modify conf-\u003eheaders_source, but instead merge user-supplied\nheaders from conf-\u003eheaders_source and default headers (either cache or not)\ninto separate headers_merged array.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "24fbc2f798623a9552dce36be493166af000031b",
      "old_mode": 33188,
      "old_path": "src/http/modules/ngx_http_proxy_module.c",
      "new_id": "5a14910901c3051bae5d7e2307cfade3b90a4fb1",
      "new_mode": 33188,
      "new_path": "src/http/modules/ngx_http_proxy_module.c"
    }
  ]
}
