PSPDFKit-labs / bypass

Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests.
https://hex.pm/packages/bypass
MIT License
964 stars 111 forks source link

Support IPv6 :listen_ip values #129

Closed lnikkila closed 1 year ago

lnikkila commented 1 year ago

Using inet:parse_address allows parsing an IPv6 address, e.g. "::1". This commit also adds support for passing raw tuples as the address.