handle ranges >2G correctly
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@363 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.3.14
parent
5056731095
commit
4335479051
|
@ -280,7 +280,7 @@ static int http_response_parse_range(server *srv, connection *con) {
|
|||
for (s = con->request.http_range, error = 0;
|
||||
!error && *s && NULL != (minus = strchr(s, '-')); ) {
|
||||
char *err;
|
||||
long la, le;
|
||||
off_t la, le;
|
||||
|
||||
if (s == minus) {
|
||||
/* -<stop> */
|
||||
|
|
Loading…
Reference in New Issue