Skip to content

Add support for libcurl share api#112

Open
faldor20 wants to merge 5 commits intoygrek:masterfrom
faldor20:master
Open

Add support for libcurl share api#112
faldor20 wants to merge 5 commits intoygrek:masterfrom
faldor20:master

Conversation

@faldor20
Copy link
Copy Markdown

@faldor20 faldor20 commented Jul 11, 2025

I'd like to use the share api to build a client that pools curl handles all with a shared state, so I created bindings to the curl share interface.
https://curl.se/libcurl/c/libcurl-share.html

I've included tests, but my c skills are basically zero, so, I'm not sure If I've stuffed something up or not.

Also I was unsure about whether to call: "caml_release_runtime_system" maybe you can advise?

@MisterDA
Copy link
Copy Markdown
Collaborator

Thanks, I'll try to take a look at it, but there's a bunch of unrelated stuff in .direnv/. Could you remove it from the PR?

@faldor20
Copy link
Copy Markdown
Author

Very sorry about that, I used nix flakes to set up the environment and they must have snuck in while switching branches.
Fixed now

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