)]}'
{
  "commit": "d4f0bca583b17894f1ea468d63f3b250d8d5c5ae",
  "tree": "a0a7e85439bd5553433f78b4e2defac5d6d60960",
  "parents": [
    "cdd022b2d13c581704fbc10a34ed314fb2fd71d0"
  ],
  "author": {
    "name": "Ruslan Ermilov",
    "email": "ru@nginx.com",
    "time": "Mon Oct 17 14:14:02 2016 +0300"
  },
  "committer": {
    "name": "Ruslan Ermilov",
    "email": "ru@nginx.com",
    "time": "Mon Oct 17 14:14:02 2016 +0300"
  },
  "message": "Upstream: consistently initialize explicit upstreams.\n\nWhen an upstream{} block follows a proxy_pass reference to it,\nsuch an upstream inherited port and default_port settings from\nproxy_pass.  This was different from when they came in another\norder (see ticket #1059).  Explicit upstreams should not have\nport and default_port in any case.\n\nThis fixes the following case:\n\n\tserver { location / { proxy_pass http://u; } ... }\n\tupstream u { server 127.0.0.1; }\n\tserver { location / { proxy_pass https://u; } ... }\n\nbut not the following:\n\n\tserver { location / { proxy_pass http://u; } ... }\n\tserver { location / { proxy_pass https://u; } ... }\n\tupstream u { server 127.0.0.1; }\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "55bd47d02bb1735117d0503b80a3b1ba8196173a",
      "old_mode": 33188,
      "old_path": "src/http/ngx_http_upstream.c",
      "new_id": "828b7d726cb3dcb3c6b0ed7bcf1ddf7b94ba5418",
      "new_mode": 33188,
      "new_path": "src/http/ngx_http_upstream.c"
    }
  ]
}
