Re: curl websockets

2021-07-02 Thread Nicolas Mora via curl-library
Le 2021-07-02 à 17 h 53, Daniel Stenberg via curl-library a écrit : This will make it impossible to specify a continuation frame rather than a data frame. (Context: when a message is fragmented, the message’s first frame is text/binary, and the latter ones are continuation.) "CURL_WS_MORE"

Re: curl websockets

2021-06-24 Thread Nicolas Mora via curl-library
Hello, I have implemented a websocket C API in my library ulfius: https://github.com/babelouest/ulfius If you will, I'll be happy to contribute to the libcurl websocket implementation. /Nicolas Le 24 juin 2021 14 h 14 min 10 s HAE, Weston Schmidt via curl-library a écrit : >This has been

Re: using CURLOPT_SSLCERT with self-signed certificate or non-ca-signed certificates

2020-05-30 Thread Nicolas Mora via curl-library
Le 20-05-30 à 17 h 56, Daniel Stenberg a écrit : >> Is it possible with libcurl to use a self-signed client certificate? > > Yes. To libcurl it doesn't matter who signed it, as long as you can > verify the signature with the CA cert bundle. > >> CURLOPT_SSLCERT documentation doesn't provide

using CURLOPT_SSLCERT with self-signed certificate or non-ca-signed certificates

2020-05-30 Thread Nicolas Mora via curl-library
Hello, I'm trying to use self-signed client certificates in TLS handshakes between libcurl and libmicrohttpd. So far I'm not able to retrieve the client certificate on the server side if the client certificate isn't signed by the server CA. I try to narrow down where the limitation comes from.

Re: Curl C support for oauth2

2020-05-12 Thread Nicolas Mora via curl-library
Hello, Le 20-05-12 à 04 h 16, Swadik Kedila via curl-library a écrit : > Hello Sir, > > I was trying to use libCurl C for implementing oauth2 request for client > validation, which includes client id, client secret, redirect uri and > other parameters. But I could not find any example in

Re: Looking for a HTTP test server which doesn't send Content-Length

2019-10-21 Thread Nicolas Mora via curl-library
21 octobre 2019 08:57 "Andreas Falkenhahn via curl-library" a écrit: > > So still not quite what I'm looking for. My old test site was > http://www.google.com/ig/api?weather=muenster=de but this doesn't exist > any more :/ > The way I would do it is either: - implement a fake webservice, it

Re: Feature request: passing ssl certificate and/or key parameter as content, not path

2019-10-10 Thread Nicolas Mora via curl-library
Le 19-10-10 à 14 h 21, Ray Satiro via curl-library a écrit : > > Gilles Vollant already has a work-in-progress pull request for this, I > think they are going to call it CURLOPT_SSLCERT_BLOB. Please contribute > to the discussion at https://github.com/curl/curl/pull/4371 > Thanks! I will take a

Feature request: passing ssl certificate and/or key parameter as content, not path

2019-10-10 Thread Nicolas Mora via curl-library
Hello, According to the libcurl documentation [1], if you want to specify a SSL certificate or key to the connection, the parameter must be a file path rather than the certificate or key value: "Pass a pointer to a zero terminated string as parameter. The string should be the file name of