Changeset 1558

Show
Ignore:
Timestamp:
06/16/08 23:17:13 (4 months ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r1557 r1558  
    112008-06-16  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/encoder_deflate.c, cherokee/encoder_deflate.h, 
     4        cherokee/Makefile.am, configure.in: Added new encoder for the 
     5        deflate Content-Encoding. 
    26 
    37        * cherokee/connection.c (get_encoding): Better encoder header 
  • cherokee/trunk/cherokee/Makefile.am

    r1529 r1558  
    570570else 
    571571dynamic_encoder_gzip_lib = libplugin_gzip.la 
     572endif 
     573 
     574 
     575# 
     576# Encoder Deflate 
     577# 
     578encoder_deflate = \ 
     579encoder_deflate.h \ 
     580encoder_deflate.c 
     581 
     582libplugin_deflate_la_LDFLAGS = $(module_ldflags) 
     583libplugin_deflate_la_SOURCES = $(encoder_deflate) 
     584 
     585if STATIC_ENCODER_DEFLATE 
     586static_encoder_deflate_src = $(encoder_deflate) 
     587else 
     588dynamic_encoder_deflate_lib = libplugin_deflate.la 
    572589endif 
    573590 
     
    9911008\ 
    9921009$(static_encoder_gzip_src) \ 
     1010$(static_encoder_deflate_src) \ 
    9931011\ 
    9941012$(static_validator_pam_src) \ 
     
    11351153$(dynamic_handler_nn_lib) \ 
    11361154$(dynamic_encoder_gzip_lib) \ 
     1155$(dynamic_encoder_deflate_lib) \ 
    11371156$(dynamic_logger_ncsa_lib) \ 
    11381157$(dynamic_logger_combined_lib) \ 
  • cherokee/trunk/configure.in

    r1541 r1558  
    12071207           [use_static_module="$use_static_module $enableval "],[]) 
    12081208 
    1209 modules="error_redir server_info file admin dirlist fcgi fastcgi scgi redir common nn cgi phpcgi proxy mirror gzip ncsa combined w3c pam ldap mysql htpasswd plain htdigest round_robin directory extensions request header geoip not and or" 
     1209modules="error_redir server_info file admin dirlist fcgi fastcgi scgi redir common nn cgi phpcgi proxy mirror gzip deflate ncsa combined w3c pam ldap mysql htpasswd plain htdigest round_robin directory extensions request header geoip not and or" 
    12101210 
    12111211# Remove modules that will not be compiles 
     
    12731273AM_CONDITIONAL(STATIC_HANDLER_MIRROR,         grep mirror         $conf_h >/dev/null) 
    12741274AM_CONDITIONAL(STATIC_ENCODER_GZIP,           grep gzip           $conf_h >/dev/null) 
     1275AM_CONDITIONAL(STATIC_ENCODER_DEFLATE,        grep deflate        $conf_h >/dev/null) 
    12751276AM_CONDITIONAL(STATIC_LOGGER_NCSA,            grep ncsa           $conf_h >/dev/null) 
    12761277AM_CONDITIONAL(STATIC_LOGGER_COMBINED,        grep combined       $conf_h >/dev/null)