mirror of https://github.com/http-rs/http-client
e5bbc272d1
When trying to connect to multiple IPs for a hostname (e.g. IPv4 and IPv6) we ought to try all prior returning error. Running a wget to the running mockito server has this output: ,---- | $ wget -O- http://localhost:1234/report | --2021-03-08 16:13:12-- http://localhost:1234/report | Resolving localhost (localhost)... ::1, 127.0.0.1 | Connecting to localhost (localhost)|::1|:1234... failed: Connection refused. | Connecting to localhost (localhost)|127.0.0.1|:1234... connected. | HTTP request sent, awaiting response... 200 OK `---- Fixes: #79. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
||
---|---|---|
.. | ||
test.rs |