Closed nsteinmetz closed 6 years ago
Think it's between here:
https://github.com/maxcnunes/waitforit/blob/master/connection.go#L59-L67
and here:
https://github.com/maxcnunes/waitforit/blob/master/network.go#L97
I tend to think that Host
is overwritten - should it be splitted into two variables as you may want to ping Host
one one side but do a http call on <scheme>/<host>:<port>
In valid_config.json
for tests, you should add also:
{
"address": "http://google.com",
"timeout": 40
},
{
"address": "https://google.com",
"timeout": 40
},
hi @maxcnunes,
Any idea on this ? Too newbie in go to be sure on this.
Thanks, Nicolas
hey @nsteinmetz, sorry for the delay, I was quite busy lately. That commit I just pushed should fix it.
@maxcnunes no problem, it happens.
Looking at the commit, I spotted the right piece of code - not that bad :-)
Will test it soon :)
Thanks !
Cool, it works - thanks !
Hi,
Small regression for https urls - it's now mandatory to specify the port (443) to the url whereas it worked without so far.
With port defined:
Will investigate later today.
Nicolas