D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21577 - Installer links on dlang.org/download.html sending zero-byte files
Summary: Installer links on dlang.org/download.html sending zero-byte files
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: installer (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 blocker
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-24 18:28 UTC by TTerrace
Modified: 2021-01-25 07:17 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description TTerrace 2021-01-24 18:28:07 UTC
The installer download link on https://dlang.org/download.html, which points at an s3 URL (https://s3.us-west-2.amazonaws.com/downloads.dlang.org/releases/2.x/2.095.0/dmd-2.095.0.exe) is sending a zero-byte file. 

```
$ curl -v https://s3.us-west-2.amazonaws.com/downloads.dlang.org/releases/2.x/2.095.0/dmd-2.095.0.exe
> GET /downloads.dlang.org/releases/2.x/2.095.0/dmd-2.095.0.exe HTTP/1.1
> Host: s3.us-west-2.amazonaws.com
> User-Agent: curl/7.55.1
> Accept: */*
>

< HTTP/1.1 200 OK
< x-amz-id-2: pJ19t/KP9O6guqeF+j+WzYYyj3RiFzF9qKJyhXe8D7gNtFYeLXKZnRDVryfd6OlusUOkUAGTAaw=
< x-amz-request-id: 291438AE7FB1ACFE
< Date: Sun, 24 Jan 2021 18:26:18 GMT
< Last-Modified: Fri, 01 Jan 2021 15:49:45 GMT
< ETag: "d41d8cd98f00b204e9800998ecf8427e"
< x-amz-website-redirect-location: http://downloads.dlang.org/releases/2021/dmd-2.095.0.exe
< Cache-Control: max-age=604800
< Accept-Ranges: bytes
< Content-Type: binary/octet-stream
< Content-Length: 0
< Server: AmazonS3
<
* Connection #0 to host s3.us-west-2.amazonaws.com left intact
```
Comment 1 Mathias LANG 2021-01-25 04:33:13 UTC
My bad: https://github.com/dlang/dlang.org/pull/2935
Comment 2 Mathias LANG 2021-01-25 07:17:51 UTC
Fixed, thanks for the report!