Open johnnychen94 opened 4 months ago
We use that etag
to figure out whether there is a new nightly
build available... The official servers we use support this, so is the problem here that some alternative non-official server doesn't? I'm not sure how else we could implement the same functionality...
Would it be possible to assume there are no nightlies if the etag header isn't returned?
One thing we should definitely do is make things not crash if someone doesn't even have the nightly channel installed and is using a server that doesn't support etags. And then maybe if someone is on that we just lose the ability to notify the user about new nightly builds.
The current download implementation seems to require the
etag
header, which usually doesn't exist for regular HTTP servers. I thinkjuliaup
should not assume this header exists (but it seems that thisetag
header is kept track in the channel db)This leads to the following crash:
The crash report: