[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 5 years ago
parent 3770df2387
commit d3b0eb8264

@ -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