handle ranges >2G correctly

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@363 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.3.14
Jan Kneschke 17 years ago
parent 5056731095
commit 4335479051
  1. 2
      src/response.c

@ -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…
Cancel
Save