diodechain / diode_client

Diode client written in GO that runs the Blockquick™ algorithm and a socks server to transmit data through diode ztna network.
https://diode.io/download
Other
66 stars 23 forks source link

Added capability to register and lookup domains that are backed by multiple addresses #73

Closed dominicletz closed 3 years ago

dominicletz commented 3 years ago

Interesting error message in tests:

--- FAIL: TestSecureStaticServer (0.00s)
Error:     staticserver_test.go:52: Get "https://localhost:1234/.DS_Store": dial tcp [::1]:1234: connect: connection refused
FAIL
FAIL    github.com/diodechain/diode_go_client/staticserver  0.437s
ok      github.com/diodechain/diode_go_client/util  0.200s
FAIL

don't think this is related to this change... any idea @sc0Vu ?

sc0Vu commented 3 years ago

@dominicletz I think the request sent before the go routine execute (the listener bind to port).

I push fix in this branch, add waitTilAddrListened to wait the listener.