Re: Implementing IPFS support in cURL

2022-03-23 Thread Mark Gaiser via curl-library
On Thu, Mar 24, 2022 at 12:41 AM Daniel Stenberg wrote: > On Wed, 23 Mar 2022, Mark Gaiser via curl-library wrote: > > > - ipfs://QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T > > becomes this format: > > - /ipfs/QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T > > with an actual example being: >

Re: Implementing IPFS support in cURL

2022-03-23 Thread Daniel Stenberg via curl-library
On Wed, 23 Mar 2022, Mark Gaiser via curl-library wrote: - ipfs://QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T becomes this format: - /ipfs/QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T with an actual example being: So there's never any path or query in an ipfs URL? How about fragment?

Re: [PATCH v3] setopt: make curl_easy_vsetopt public

2022-03-23 Thread Daniel Stenberg via curl-library
On Thu, 24 Mar 2022, Drew DeVault wrote: Sorry, I was expecting feedback via the mailing list. The feedback was present in the PR in the way of red CI builds. -- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features |

Re: [PATCH v3] setopt: make curl_easy_vsetopt public

2022-03-23 Thread Drew DeVault via curl-library
On Thu Mar 24, 2022 at 12:08 AM CET, Daniel Stenberg wrote: > Thanks, but you seem to not have used all the changes I added to your commit > in https://github.com/curl/curl/pull/8619 that running the CI jobs showed, > nor > is Dan's two remarks about the man page addressed? Sorry, I was

Re: [PATCH v3] setopt: make curl_easy_vsetopt public

2022-03-23 Thread Daniel Stenberg via curl-library
On Wed, 23 Mar 2022, Drew DeVault via curl-library wrote: This moves the internal Curl_vsetopt function into the public API so that users can set options with a va_list. Thanks, but you seem to not have used all the changes I added to your commit in https://github.com/curl/curl/pull/8619

Re: Troubleshoot CURLE_NOT_BUILT_IN

2022-03-23 Thread Daniel Stenberg via curl-library
On Wed, 23 Mar 2022, Robb Schiefer via curl-library wrote: I included cURL as a submodule in my project and built using cmake. Builds successfully. curl version=[7.83.0-DEV] When I run my code it gives the following verbose output for cURL: I belive you experience

Implementing IPFS support in cURL

2022-03-23 Thread Mark Gaiser via curl-library
Hi, For reference see [1] from an attempt that tried to implement it in the library but pulled back. For a very short summary of how an implementation would look like. IPFS [2] data can be accessed through gateways [3]. The intention here is to translate an IPFS url into a http(s) gateway url.

Troubleshoot CURLE_NOT_BUILT_IN

2022-03-23 Thread Robb Schiefer via curl-library
I included cURL as a submodule in my project and built using cmake. Builds successfully. curl version=[7.83.0-DEV] When I run my code it gives the following verbose output for cURL: * Trying REDACTED * Connected to REDACTED port 443 (#0) * ALPN, offering http/1.1 * CAfile:

[PATCH v3] setopt: make curl_easy_vsetopt public

2022-03-23 Thread Drew DeVault via curl-library
This moves the internal Curl_vsetopt function into the public API so that users can set options with a va_list. Signed-off-by: Drew DeVault --- docs/libcurl/curl_easy_vsetopt.3 | 42 + include/curl/easy.h | 3 ++ lib/setopt.c | 14 +++