-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localhost IPv6 resolution #89
Comments
Also it is not possible to pass the IPv6 address directly: $ plow -n 10 "http://[::1]:8080/api/endpoint"
Error:
10 "couldn't find DNS entries for the given domain. Try using DialDualStack" |
Thank you for your feedback. Integrating IPv6 with the proxy functionality in fasthttp might be somewhat challenging and could require substantial modifications. I will think about how to implement this in a more refined manner. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, thanks for your amazing work!
I recently found that plow doesn't seem to be able to resolve
localhost
to IPv6 address if IPv4 failed.What I have observed
I have an endpoint that only allows IPv6 access:
If I use
plow
, it drops the requests when it doesn't manage to connect to the IPv4 address127.0.0.1
:$ plow -n 10 http://localhost:8080/api/endpoint Benchmarking http://localhost:8080/api/endpoint with 10 request(s) using 1 connection(s). @ Real-time charts is listening on http://[::]:18888 Summary: Elapsed 0s Count 10 RPS 1542.933 Reads 0.000MB/s Writes 0.000MB/s Error: 10 "dial tcp4 127.0.0.1:8080: connect: connection refused"
What I expect
plow
can try to connect to IPv6 address when the IPv4 is refused while usinglocalhost
, likecurl
doesMy setup
The text was updated successfully, but these errors were encountered: