View | Details | Raw Unified | Return to bug 212065 | Differences between
and this patch

Collapse All | Expand All

(-)lib/libfetch/http.c (-1 / +1 lines)
Lines 1925-1931 Link Here
1925
1925
1926
		/* requested range not satisfiable */
1926
		/* requested range not satisfiable */
1927
		if (conn->err == HTTP_BAD_RANGE) {
1927
		if (conn->err == HTTP_BAD_RANGE) {
1928
			if (url->offset == size && url->length == 0) {
1928
			if (url->offset > 0 && url->length == 0) {
1929
				/* asked for 0 bytes; fake it */
1929
				/* asked for 0 bytes; fake it */
1930
				offset = url->offset;
1930
				offset = url->offset;
1931
				clength = -1;
1931
				clength = -1;

Return to bug 212065