Downloading from gbm-builder interrupted after a few minutes (+ enable http/2 if possible)
When trying to download from gbm.gnome.org, the connection is reset after a few minutes. This is particularly problematic as ostree (and thus flatpak) doesn't try to resume downloading the partial file. Some files in there are huge, and this makes them impossible to download.
sdk.gnome.org doesn't have the same problem, and looking at the headers, I noticed gbm.gnome.org returns an extra
Connection: close one.
As ostree supports HTTP/2, it would be nice to have support for it in the server as well.
Steps to reproduce
curl -O --limit-rate 20k https://gbm.gnome.org/nightly/repo/objects/72/578edb2152aa35a864a91a3323732089e4845616e263daa829066a2a00823e.filez
What is the current bug behavior?
The download is interrupted after a few minutes with something like
curl: (18) transfer closed with 857603989 bytes remaining to read.