Re: WolfSSL version problems

2015-03-31 Thread Ray Satiro via curl-library
On 3/26/2015 1:49 PM, Gisle Vanem wrote: But there are more problems. With: curl -v https://www.ssllabs.com/ssltest/viewMyClient.html I get: * subject alt name(s) or common name do not match www.ssllabs.com I see no problem with the CERT from a trace to www.ssllabs.com. Or in Google

VS2013 Solution problems

2015-03-31 Thread Gisle Vanem
I need some help from an VisualStudio expert here. Steve? I've just installed the new, free Microsoft Visual Studio Community 2013 and tried it by loading 'projects\Windows\VC12\curl-all.sln' and 'projects\Windows\VC12\lib\libcurl.sln' in it. I.e. devenv libcurl.sln. VS 2013 is Version

curl problem on ldap with tls

2015-03-31 Thread 林聖艦
Hi all, I want to use curl ldap api with tls protocol. Now I know I can use following setting: curl_easy_setopt(curl, CURLOPT_URL, ldap://xxx.xxx;); or curl_easy_setopt(curl, CURLOPT_URL, ldap://xxx.xxx;); if ssl protocol. Here is my question: How to use ldap with tls? Thanks, Kenneth

Re: How to set service name for SPNEGO?

2015-03-31 Thread Wenlong Dong
Linus, thanks a lot for making the change! The change overall looks great to me. I was not able to patch it locally somehow (not sure whether I have to find the exact commit to sync to) and here are some minor comments: *) lib/http_negotiate.c: *+char *spn = Curl_sasl_build_gssapi_spn(* *+

libcurl fd release

2015-03-31 Thread 兰天
Hi,all I recently encounter a stranger thing: I use libcurl to download file , first ,I receive a request from client ,and I then use the url from this package to download file , however ,I see the log and find so many errorBad file descryptor, when I download a file and I use

Re: FILE errno -1 Bad file descriptor error

2015-03-31 Thread mm.w
char outfilename[FILENAME_MAX] = ; sick On Tue, Mar 31, 2015 at 7:06 PM, Phil Freeman eyeball_entertainm...@hotmail.com wrote: Hi folks, I've recently incorporated libcurl into a piece of software in development (vs 2010 exp., c++) which is a plugin for use in a well-known animation

Re: libcurl fd release

2015-03-31 Thread Dan Fandrich
On Tue, Mar 31, 2015 at 10:49:25PM +0800, 兰天 wrote: Hi,all I recently encounter a stranger thing: I use libcurl to download file , first ,I receive a request from client ,and I then use the url from this package to download file , however ,I see the log and find so many errorBad file

Re: curl problem on ldap with tls

2015-03-31 Thread Ray Satiro via curl-library
On 3/31/2015 4:50 AM, 林聖艦 wrote: I want to use curl ldap api with tls protocol. Now I know I can use following setting: curl_easy_setopt(curl, CURLOPT_URL, ldap://xxx.xxx;); or curl_easy_setopt(curl, CURLOPT_URL, ldap://xxx.xxx;); if ssl protocol. Here is my question: How to use ldap with tls?

Re: libcurl fd release

2015-03-31 Thread mm.w
hello, you are getting an EBADF errno could be anywhere ; even the targeted file you try to download; as Dan said without any further digging [; meaning finding the spot where it really happens ; meaning again ; I think you have a lack of return/error checking in your code* or a race condition