Enhancement: option to send HTTP over unix socket
add tests for unix socket connection switch HTTP rest-server test to use any free port allow rest-server test graceful shutdown opportunity
This commit is contained in:
parent
d1d773cfcd
commit
6e775d3787
7 changed files with 182 additions and 41 deletions
|
@ -31,6 +31,13 @@ var configTests = []test.ConfigTestData[Config]{
|
|||
Connections: 5,
|
||||
},
|
||||
},
|
||||
{
|
||||
S: "rest:http+unix:///tmp/rest.socket:/my_backup_repo/",
|
||||
Cfg: Config{
|
||||
URL: parseURL("http+unix:///tmp/rest.socket:/my_backup_repo/"),
|
||||
Connections: 5,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
func TestParseConfig(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue