patch-src_configfile_c 662 B

12345678910111213141516
  1. --- lighttpd-1.4.31.orig/src/configfile.c 2011-12-06 21:01:49.000000000 +0100
  2. +++ lighttpd-1.4.31/src/configfile.c 2012-10-14 12:48:45.000000000 +0200
  3. @@ -1159,11 +1159,13 @@ int config_read(server *srv, const char
  4. modules = prepends;
  5. /* append default modules */
  6. + /* disable mod_dirlisting, needs pcre bloat
  7. if (NULL == array_get_element(modules->value, "mod_dirlisting")) {
  8. ds = data_string_init();
  9. buffer_copy_string_len(ds->value, CONST_STR_LEN("mod_dirlisting"));
  10. array_insert_unique(modules->value, (data_unset *)ds);
  11. }
  12. + */
  13. if (NULL == array_get_element(modules->value, "mod_staticfile")) {
  14. ds = data_string_init();