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

Fix proxy option #87

Merged
merged 1 commit into from
Mar 2, 2025
Merged

Fix proxy option #87

merged 1 commit into from
Mar 2, 2025

Conversation

lucacome
Copy link
Contributor

@lucacome lucacome commented Mar 1, 2025

Added support for --proxy

  • args/curlopts.go: Added the proxy option to the curlLongValues list.
  • args/curlopts.go: Implemented sorting of curlLongValues in the init function to ensure options are always in order since sort.SearchStrings expects a sorted slice.

Closes #31

@rs rs merged commit 09f1b6e into rs:master Mar 2, 2025
1 check passed
@lucacome lucacome deleted the fix/proxy branch March 2, 2025 05:45
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.

Bad handling of --proxy curl option
2 participants