Join GitHub today
Downloads are failing with state 'interrupted' from custom protocols in 1.8.2-beta.3 #11657
File downloads from custom protocols should complete without issue.
Before even triggering the custom protocol handler, the download-item emits 'done' with a state of 'interrupted'. In my demo linked below, I use the new registerStreamProtocol, but I was able to reproduce using registerHttpProtocol as well.
How to reproduce
referenced this issue
Jan 17, 2018
I found the issue. It was introduced by this commit: 6b2ddc4
@tarruda It looks like
The main reason I added 6b2ddc4 is to allow
In any case, my approach to breaking the infinite loop was was kinda hacky and needs to be fixed. A possible solution is to put