Interest in an Expat XML example?

2013-05-17 Thread David Strauss
Since there doesn't seem to be much interest in rolling the code I wrote for WebDAV PROPFIND into core, I'd be happy to factor it as an example. It was hard finding a good way to do XML stream parsing with libcurl when I set out to write it. The method I used should be usable for any XML. -- David

Re: axtls memory leak

2013-05-17 Thread David Strauss
On Thu, May 16, 2013 at 2:10 PM, Hu, Eric wrote: > Regarding the patch itself, it still blocks in the connect phase. This is true for the NSS SSL back-end, too. -- David Strauss | da...@davidstrauss.net | +1 512 577 5827 [mobile]

Re: Question about cacert.pem on Windows with MinGW

2013-05-17 Thread Thomas Mayer
Hello, I have used VERBOSE to get more info. On 14.05.2013 10:55, Daniel Stenberg wrote: > On Mon, 13 May 2013, Thomas Mayer wrote: > >> error code: CURLE_SSL_CACERT_BADFILE (77) It seems that using gnutls, curl_easy_setopt(curl_handle, CURLOPT_SSLCERT, common->cert_path); does not set the cert

AW: site contents now off git

2013-05-17 Thread Alexander.Elgert
> > Von: curl-library [curl-library-boun...@cool.haxx.se] im Auftrag von Daniel > Stenberg [dan...@haxx.se] > Gesendet: Dienstag, 14. Mai 2013 23:07 > An: libcurl development > Betreff: Re: site contents now off git > > 'gnudate' is the GNU date command imp

RE: axtls memory leak

2013-05-17 Thread Daniel Stenberg
On Thu, 16 May 2013, Hu, Eric wrote: Regarding the patch itself, it still blocks in the connect phase. Unlike reads, I didn't find a mechanism to retry Curl_axtls_connect repeatedly so the patch loops and retries internally. Is this okay? Is there some way to retry the connect that I've mis

Re: Read Certificates from curl

2013-05-17 Thread Daniel Stenberg
On Fri, 17 May 2013, David Strauss wrote: I think you want CURLOPT_SSL_CTX_FUNCTION [1]. It won't require you to fully manage the SSL context, but it is not portable to non-OpenSSL backends for libcurl. ... and to get some inspiration on how it can be used, see these fine examples: http:/

Re: Read Certificates from curl

2013-05-17 Thread David Strauss
On Thu, May 16, 2013 at 11:33 PM, Indtiny s wrote: > I have compiled curl with openssl , now I need to read few variables from > the certificates during handshake and validate them . > I need to read below cariables > 1. policy mapping > 2. All critical section > 3. Name constraints . > > I need