mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
@@ -145,6 +145,7 @@ func (downloader *downloaderImpl) handleTask(task *downloadTask) {
|
|||||||
task.result <- fmt.Errorf("%s: %s", task.url, err)
|
task.result <- fmt.Errorf("%s: %s", task.url, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
req.Close = true
|
||||||
|
|
||||||
proxyURL, _ := downloader.client.Transport.(*http.Transport).Proxy(req)
|
proxyURL, _ := downloader.client.Transport.(*http.Transport).Proxy(req)
|
||||||
if proxyURL == nil && (req.URL.Scheme == "http" || req.URL.Scheme == "https") {
|
if proxyURL == nil && (req.URL.Scheme == "http" || req.URL.Scheme == "https") {
|
||||||
|
|||||||
Reference in New Issue
Block a user