Fix Content-Length calculation
This commit is contained in:
parent
2a5ab48294
commit
64e7dc3fda
1 changed files with 1 additions and 1 deletions
2
quark.c
2
quark.c
|
@ -695,7 +695,7 @@ sendresponse(int fd, struct request *r)
|
|||
|
||||
/* range */
|
||||
lower = 0;
|
||||
upper = st.st_size;
|
||||
upper = st.st_size - 1;
|
||||
|
||||
if (r->field[REQ_RANGE][0]) {
|
||||
/* parse field */
|
||||
|
|
Loading…
Reference in a new issue