Branch: Tag:

2010-03-26

2010-03-26 16:31:11 by Martin Jonsson <marty@roxen.com>

Fix Gz.File object leakage together with -DHTTP_COMPRESSION by making sure that the pool of Gz.File instances is kept in the Configuration instead of being a useless per-request pool.

Rev: server/base_server/configuration.pike:1.692
Rev: server/protocols/http.pike:1.615

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.691 2010/03/04 12:40:58 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.692 2010/03/26 16:31:10 marty Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
601: Inside #if defined(HTTP_COMPRESSION)
  int http_compr_minlen;   int http_compr_maxlen;   int(0..1) http_compr_dynamic_reqs; + Thread.Local gz_file_pool = Thread.Local();   #endif      // The logging format used. This will probably move to the above