Branch: Tag:

2014-05-16

2014-05-16 11:22:00 by Martin Nilsson <nilsson@opera.com>

Don't assume zlib.

749:   //! Defaults to @expr{({ COMPRESSION_null, COMPRESSION_deflate })@}   //! (ie avoid compression unless the client requires it) due to   //! SSL attacks that target compression. - array(int) preferred_compressors = -  ({ COMPRESSION_null, COMPRESSION_deflate }); + array(int) preferred_compressors = ({ +  COMPRESSION_null, + #if constant(Gz) +  COMPRESSION_deflate, + #endif +  });      //! Non-zero to enable caching of sessions   int use_cache = 1;