Skip to content

Commit

Permalink
Merge pull request #78 from pkwong4321/patch-1
Browse files Browse the repository at this point in the history
Fix zsync URL typo
  • Loading branch information
probonopd authored May 30, 2024
2 parents 87fb5a0 + 2276eed commit 9337846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/legacy_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,12 +534,12 @@ int range_fetch_read_http_headers(struct range_fetch *rf) {
if (status != 206 && status != 301 && status != 302) {
if (status >= 300 && status < 400) {
log_message(
"\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",
"\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",
status);
}
else if (status == 200) {
log_message(
"\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",
"\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",
status);
}
else {
Expand Down

0 comments on commit 9337846

Please sign in to comment.