summaryrefslogtreecommitdiff
path: root/service/http/ssl_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-03-08 16:18:58 +0300
committerValery Piashchynski <[email protected]>2020-03-08 16:18:58 +0300
commiteae742dff18b89084d1754918015d9c69e626ed3 (patch)
tree555feb36fb77ac13af2ae53b0a07287f0b0ca026 /service/http/ssl_test.go
parent617eb5a965fd70c150754bc661c4d19eb3a8d184 (diff)
fix bug with totally frozed rr
Diffstat (limited to 'service/http/ssl_test.go')
-rw-r--r--service/http/ssl_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/http/ssl_test.go b/service/http/ssl_test.go
index c650a266..cf147be9 100644
--- a/service/http/ssl_test.go
+++ b/service/http/ssl_test.go
@@ -142,7 +142,7 @@ func Test_SSL_Service_Redirect(t *testing.T) {
c.Register(ID, &Service{})
assert.NoError(t, c.Init(&testCfg{httpCfg: `{
- "address": ":6031",
+ "address": ":6831",
"ssl": {
"port": 6902,
"redirect": true,
@@ -171,7 +171,7 @@ func Test_SSL_Service_Redirect(t *testing.T) {
time.Sleep(time.Millisecond * 500)
- req, err := http.NewRequest("GET", "http://localhost:6031?hello=world", nil)
+ req, err := http.NewRequest("GET", "http://localhost:6831?hello=world", nil)
assert.NoError(t, err)
r, err := sslClient.Do(req)