karlseguin / websocket.zig

A websocket implementation for zig
MIT License
283 stars 25 forks source link

Allow running autobahn tests from MacOS hosts #3

Closed bermi closed 2 years ago

bermi commented 2 years ago

127.0.0.1 does not resolve from the docker image crossbario/autobahn-testsuite to the host when running on macOs.

According to https://docs.docker.com/desktop/networking/#per-container-ip-addressing-is-not-possible the hostname host.docker.internal will be resolved to the locahost network ip. With this change I was able to run make ab