2
0
Fork 0

Fix bug introduced with ranged requests

personal/stbuehler/wip
Stefan Bühler 2009-10-07 23:07:05 +02:00
parent 7830dadb45
commit 8b78256010
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ static liHandlerResult core_handle_static(liVRequest *vr, gpointer param, gpoint
if (!ranged_response) {
vr->response.http_status = 200;
li_http_header_overwrite(vr->response.headers, CONST_STR_LEN("Content-Type"), GSTR_LEN(mime_str));
li_chunkqueue_append_chunkfile(vr->out, cf, st.st_size, fd);
li_chunkqueue_append_chunkfile(vr->out, cf, 0, st.st_size);
}
li_chunkfile_release(cf);