mirror of
https://github.com/restic/restic.git
synced 2025-08-12 11:17:42 +00:00
Azure: Use default HTTP transport
This commit is contained in:
@@ -3,6 +3,7 @@ package azure
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
"net/http"
|
||||
"os"
|
||||
"path"
|
||||
"strings"
|
||||
@@ -35,6 +36,8 @@ func open(cfg Config) (*Backend, error) {
|
||||
return nil, errors.Wrap(err, "NewBasicClient")
|
||||
}
|
||||
|
||||
client.HTTPClient = &http.Client{Transport: backend.Transport()}
|
||||
|
||||
service := client.GetBlobService()
|
||||
|
||||
sem, err := backend.NewSemaphore(cfg.Connections)
|
||||
|
Reference in New Issue
Block a user