Skip to content

Commit 9337846

Browse files
authored
Merge pull request #78 from pkwong4321/patch-1
Fix zsync URL typo
2 parents 87fb5a0 + 2276eed commit 9337846

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/legacy_http.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,12 +534,12 @@ int range_fetch_read_http_headers(struct range_fetch *rf) {
534534
if (status != 206 && status != 301 && status != 302) {
535535
if (status >= 300 && status < 400) {
536536
log_message(
537-
"\nzsync received a redirect/further action required status code: %d\nzsync specifically refuses to proceed when a server requests further action. This is because zsync makes a very large number of requests per file retrieved, and so if zsync has to perform additional actions per request, it further increases the load on the target server. The person/entity who created this zsync file should change it to point directly to a URL where the target file can be retrieved without additional actions/redirects needing to be followed.\nSee http://zsync.moria.orc.uk/server-issues",
537+
"\nzsync received a redirect/further action required status code: %d\nzsync specifically refuses to proceed when a server requests further action. This is because zsync makes a very large number of requests per file retrieved, and so if zsync has to perform additional actions per request, it further increases the load on the target server. The person/entity who created this zsync file should change it to point directly to a URL where the target file can be retrieved without additional actions/redirects needing to be followed.\nSee http://zsync.moria.org.uk/server-issues",
538538
status);
539539
}
540540
else if (status == 200) {
541541
log_message(
542-
"\nzsync received a data response (code %d) but this is not a partial content response\nzsync can only work with servers that support returning partial content from files. The person/entity creating this .zsync has tried to use a server that is not returning partial content. zsync cannot be used with this server.\nSee http://zsync.moria.orc.uk/server-issues",
542+
"\nzsync received a data response (code %d) but this is not a partial content response\nzsync can only work with servers that support returning partial content from files. The person/entity creating this .zsync has tried to use a server that is not returning partial content. zsync cannot be used with this server.\nSee http://zsync.moria.org.uk/server-issues",
543543
status);
544544
}
545545
else {

0 commit comments

Comments
 (0)