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

Add some utilities to make it easier to use libcurl URL feature flags #663

Open
rdw-software opened this issue Feb 16, 2025 · 1 comment

Comments

@rdw-software
Copy link
Member

It's possible to set the feature flags for curl.url_set using bit operations, but that's probably not the most convenient way to do it. Because curl uses a bitmask, named enum values won't work. I'm also not sure how important it is to modify the flags conveniently. For now, I guess this can wait.

See https://curl.se/libcurl/c/curl_url_set.html


Split off from #653.

@rdw-software
Copy link
Member Author

Before implementing anything, it would be useful to see which other libraries require using a similar bitmask-style API.
Ideally, a general solution could be devised that allows setting, unsetting, and querying features a bit more easily.

@rdw-software rdw-software added this to the WebSockets and HTTP milestone Feb 16, 2025
@rdw-software rdw-software moved this to Bonus points (Optional) in Evo.lua: Roadmap Feb 16, 2025
@rdw-software rdw-software moved this to Vague and distant future (Backlog) in Evo.lua: Timeline Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Bonus points (Optional)
Status: Vague and distant future (Backlog)
Development

No branches or pull requests

1 participant