[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:
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…
Reference in New Issue