Browse Source

[mod_deflate] fix deflate of file > 2MB w/o mmap

fix deflate of file > 2MB when lighttpd is built without mmap support
personal/stbuehler/fix-fdevent
Glenn Strauss 4 years ago
parent
commit
d3b0eb8264
  1. 1
      src/mod_deflate.c

1
src/mod_deflate.c

@ -841,6 +841,7 @@ static int mod_deflate_file_chunk(server *srv, connection *con, handler_ctx *hct
free(start);
return -1;
}
abs_offset = 0;
}
#ifdef USE_MMAP

Loading…
Cancel
Save