)]}'
{
  "commit": "1ecdbfdcadc248d6ff2f95f0a1115750421d59fe",
  "tree": "bee0b2e551f969bc4874ae303efa6f91403fa92b",
  "parents": [
    "2a9718623bbe8b098adfd14c3ddf540ced99e8b1"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Thu Oct 06 23:16:05 2016 +0300"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Thu Oct 06 23:16:05 2016 +0300"
  },
  "message": "Realip: fixed duplicate processing on redirects (ticket #1098).\n\nDuplicate processing was possible if the address set by realip was\nlisted in set_realip_from, and there was an internal redirect so module\ncontext was cleared.  This resulted in exactly the same address being set,\nso this wasn\u0027t a problem before the $realip_remote_addr variable was\nintroduced, though now results in incorrect $realip_remote_addr being\npicked.\n\nFix is to use ngx_http_realip_get_module_ctx() to look up module context\neven if it was cleared.  Additionally, the order of checks was switched to\ncheck the configuration first as it looks more effective.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dba3c527b2008923560ca66b0241f0bb4cdc74f9",
      "old_mode": 33188,
      "old_path": "src/http/modules/ngx_http_realip_module.c",
      "new_id": "5e3355c96713b634679aa0b06bde1f1117c26aa4",
      "new_mode": 33188,
      "new_path": "src/http/modules/ngx_http_realip_module.c"
    }
  ]
}
