Skip to content
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

feat(easy): add support for IPRESOLVE option #22

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

Spiffyk
Copy link
Contributor

@Spiffyk Spiffyk commented Nov 16, 2024

Option to restrict curl to use a specific IP version, i.e. only go over IPv4, IPv6, or whatever.

I have a use case where I ping a HTTP API to determine both of my public-facing IP addresses, so I needed it for that.

@jiacai2050
Copy link
Owner

Please format your code

@Spiffyk
Copy link
Contributor Author

Spiffyk commented Nov 17, 2024

@jiacai2050 Sorry about that. Ran zig fmt on it just now. Was there anything else in particular you had in mind for formatting?

@jiacai2050 jiacai2050 merged commit 5e79c2b into jiacai2050:main Nov 18, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants