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

fix deflate of file > 2MB when lighttpd is built without mmap support
This commit is contained in:
Glenn Strauss 2017-11-26 12:40:34 -05:00
parent 3770df2387
commit d3b0eb8264
1 changed files with 1 additions and 0 deletions

View File

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