FreeBSD Bugzilla – Attachment 179140 Details for
Bug 212065
fetch -r fails on a complete file, even with -S 12345 (OS version independent)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Assume that a 416 with non-zero offset means EOF
file_212065.txt (text/plain), 349 bytes, created by
Dag-Erling Smørgrav
on 2017-01-20 15:55:50 UTC
(
hide
)
Description:
Assume that a 416 with non-zero offset means EOF
Filename:
MIME Type:
Creator:
Dag-Erling Smørgrav
Created:
2017-01-20 15:55:50 UTC
Size:
349 bytes
patch
obsolete
>--- lib/libfetch/http.c.orig >+++ lib/libfetch/http.c >@@ -1925,7 +1925,7 @@ > > /* requested range not satisfiable */ > if (conn->err == HTTP_BAD_RANGE) { >- if (url->offset == size && url->length == 0) { >+ if (url->offset > 0 && url->length == 0) { > /* asked for 0 bytes; fake it */ > offset = url->offset; > clength = -1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212065
:
179070
| 179140