mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 10:33:34 +00:00
serve http/webdav: factor common http server creation to httplib
This commit is contained in:
@@ -28,7 +28,8 @@ const (
|
||||
)
|
||||
|
||||
func startServer(t *testing.T, f fs.Fs) {
|
||||
s := newServer(f, testBindAddress)
|
||||
s := newServer(f)
|
||||
s.srv.SetBindAddress(testBindAddress)
|
||||
go s.serve()
|
||||
|
||||
// try to connect to the test server
|
||||
|
||||
Reference in New Issue
Block a user