)]}'
{
  "commit": "ba2b1772b60bff88dbda83abe8423a7b55bbde51",
  "tree": "0c246ada7da7723353ec38b5e22bd3d833f07c16",
  "parents": [
    "e14dc8d6f1c277603822760b74eab711609ac1bf"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Sat Nov 18 04:03:27 2017 +0300"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Sat Nov 18 04:03:27 2017 +0300"
  },
  "message": "Gzip: support for a zlib variant from Intel.\n\nA zlib variant from Intel as available from https://github.com/jtkukunas/zlib\nuses 64K hash instead of scaling it from the specified memory level, and\nalso uses 16-byte padding in one of the window-sized memory buffers, and can\nforce window bits to 13 if compression level is set to 1 and appropriate\ncompile options are used.  As a result, nginx complained with \"gzip filter\nfailed to use preallocated memory\" alerts.\n\nThis change improves deflate_state allocation detection by testing that\nitems is 1 (deflate_state is the only allocation where items is 1).\nAdditionally, on first failure to use preallocated memory we now assume\nthat we are working with the Intel\u0027s modified zlib, and switch to using\nappropriate preallocations.  If this does not help, we complain with the\nusual alerts.\n\nPrevious version of this patch was published at\nhttp://mailman.nginx.org/pipermail/nginx/2014-July/044568.html.\nThe zlib variant in question is used by default in ClearLinux from Intel,\nsee http://mailman.nginx.org/pipermail/nginx-ru/2017-October/060421.html,\nhttp://mailman.nginx.org/pipermail/nginx-ru/2017-November/060544.html.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "73b6d89bea420ce3a16e68825b9c97d3394e8c47",
      "old_mode": 33188,
      "old_path": "src/http/modules/ngx_http_gzip_filter_module.c",
      "new_id": "e4c343c9b1eb1d37e32188b6f7224ae0a1083f1e",
      "new_mode": 33188,
      "new_path": "src/http/modules/ngx_http_gzip_filter_module.c"
    }
  ]
}
