Re: shouldnt SSLv2 be disabled by default, mk_ca_bundle and install question

2016-09-16 Thread Ray Satiro via curl-library
On 9/16/2016 6:14 PM, Daniel Stenberg wrote: On Fri, 16 Sep 2016, Michael Felt wrote: So, this time I watched a bit more closely re: SSL - my comment is: shouldn't SSLv2 just be removed regardless if OpenSSL is (still) supporting it? Yes it should. In fact SSLv3 should also probably be

Re: HTTP2 support in libcurl3 for Ubuntu 14.04 and PHP7

2016-09-13 Thread Ray Satiro via curl-library
On 9/9/2016 11:59 AM, Scott Moser wrote: I need a version of libcurl3 that will enable me to initiate HTTP2 sessions with Apple’s APNS service from within my PHP7 app running on Ubuntu 14.04. On 9/10/2016 9:39 AM, Scott Moser wrote: Do you know of anyone providing a libcurl build with HTTP2

Re: EXTERNAL: [RELEASE] curl 7.50.2 is out!

2016-09-07 Thread Ray Satiro via curl-library
On 9/7/2016 12:51 PM, Mckinney, Lee wrote: To be clear, I know Joel Odom added support for smartcard interrogation to schannel in libcurl 7.32 as a special/side project. The way the below fix reads, maybe the support was integrated into libcurl proper. o http/sasl: Query authentication

Re: Need help using CURL to send an email

2016-09-01 Thread Ray Satiro via curl-library
On 8/31/2016 8:29 PM, Greg Stevens via curl-library wrote: curl_easy_setopt(curl, CURLOPT_URL, "smtp://smtp.gmail.com:465"); You are specifying the SSL port for regular SMTP which is wrong, use smtps:// instead and the port will default to 465. curl_easy_setopt(curl, CURLOPT_URL,

Re: more people with push rights

2016-08-30 Thread Ray Satiro via curl-library
On 8/30/2016 3:46 AM, Daniel Stenberg wrote: But that's all me and I. I don't want to run this project as if I'm alone or as if I know all the answers or have the only view of things and it has to be my way. No, I want this to continue being a group effort and I want everyone here feel that

Re: the Steve Holme 5 year anniversary!

2016-08-30 Thread Ray Satiro via curl-library
On 8/30/2016 2:26 AM, Daniel Stenberg wrote: Just wanted to mention that we missed celebrating Steve's first commit on the date. commit 5ed17de326 landed on August 9th 2011 making him a little over 5 years old in the project now with push rights. To date, he clocks in at 1780 commits in the

Re: Crash in curl library while processing HTTP HEAD response

2016-08-21 Thread Ray Satiro via curl-library
On 8/20/2016 1:26 PM, Daniel Stenberg wrote: On Sat, 20 Aug 2016, Ray Satiro via curl-library wrote: I don't know if this was mentioned already but in your case even though you chose CURLOPT_NOBODY [1] the data still goes to the write function (CURLOPT_WRITEFUNCTION [2], CURLOPT_WRITEDATA [3

Re: Crash in curl library while processing HTTP HEAD response

2016-08-20 Thread Ray Satiro via curl-library
On 8/18/2016 7:26 AM, isshed wrote: The scenario is as follows. My application is using HTTPS and sending HEAD request, and is getting the above response. I am new for curl lib and am not having much understanding of HTTP protocols versions. Also as my application is using HTTPs I can not see

Re: libcurl ca-bundle path

2016-08-16 Thread Ray Satiro via curl-library
On 8/16/2016 1:29 PM, Mckinney, Lee wrote: What is the default subject path on windows? From the libcurl release FAQ, I see that the ca-bundle is no longer supplied. No worries. But I assume libcurl still leverages (or can leverage) a ca path at runtime. I am currently setting an explicit

Re: libcurl - windows / unicode filenames support...

2016-08-05 Thread Ray Satiro via curl-library
On 8/5/2016 6:16 AM, Sergei Nikulov wrote: 2016-08-05 12:11 GMT+03:00 Rod Widdowson: >Aside, but curious minds need to know. > >As a newcomer here - can someone help me what "Unicode for windows" means? I have to assume it is in URL handling, not files? The word

Re: SSL certificate error

2016-08-04 Thread Ray Satiro via curl-library
On 8/3/2016 5:25 PM, Vinayak Tanksale wrote: When I make a web service call to a third party service. Sent from my iPhone >On Aug 3, 2016, at 5:06 PM, Daniel Stenberg wrote: > >>On Wed, 3 Aug 2016,vina...@jdrweb.com wrote: >> >>Our cert is signed by GoDaddy. I created the

Re: MBEDTLS debugging in libcurl [WAS: [PATCH] mbedtls: Rename mbedtls_debug info mbed_debug to match] debug function name

2016-08-03 Thread Ray Satiro via curl-library
On 8/1/2016 2:37 PM, Thomas Glanzmann wrote: >Regarding your other e-mail about why you aren't receiving debugging >info even with the fix maybe you built mbedTLS without >MBEDTLS_DEBUG_C? I had that_not_ enabled. Now that I have, I have still no additional debugging output: $ grep

Re: patch release tomorrow

2016-08-02 Thread Ray Satiro via curl-library
On 8/2/2016 9:34 AM, Daniel Stenberg wrote: 7.50.0 :TESTFAIL: These test cases failed: 1139 1140 So hopefully 7.50.1 reports a 100% clear on the testsuite. We run most of our autobuild tests directly from git, so for example these two tests 1139 and 1140 will succeed off git but fail in a

Re: [PATCH] mbedtls: Rename mbedtls_debug info mbed_debug to match debug function name

2016-08-01 Thread Ray Satiro via curl-library
On 8/1/2016 10:38 AM, Thomas Glanzmann wrote: This patch is necessary so that curl compiles if MBEDTLS_DEBUG is defined. Thanks, landed in aa9f536 [1]. Regarding your other e-mail about why you aren't receiving debugging info even with the fix maybe you built mbedTLS without MBEDTLS_DEBUG_C?

Re: transient test failures in curl for test 1139 and 1140

2016-07-28 Thread Ray Satiro via curl-library
On 7/28/2016 4:59 PM, dev_user wrote: This has me scratching my head .. so I will go back and build 7.49.1 and hope to see 100% perfect and then try 7.50.0 again with no change anywhere to anything and see what happens. Thanks, that is a known issue with 7.50 and has been fixed [1],

Re: transient test failures in curl for test 1139 and 1140

2016-07-27 Thread Ray Satiro via curl-library
On 7/27/2016 1:11 PM, dev_user wrote: Sort of strange results in a testsuite run on the same Solaris 10 server with very little or no environment changes at all : 7.45.0 :TESTDONE: 754 tests out of 754 reported OK: 100% 7.47.0 :TESTDONE: 771 tests out of 771 reported OK: 100% 7.47.1 :TESTDONE:

Re: [PATCH] Test 1800 not running

2016-07-24 Thread Ray Satiro via curl-library
On 7/23/2016 5:27 PM, Paul Howarth wrote: Test 1800 never runs because it says the http2 feature is not enabled, even when it is. I think there's some mix-up between "http2", "HTTP2" and "http/2" in the feature name in various places. Attached patch fixes this for me. Thanks. There was a

Re: sftp download error in 7.49.1

2016-07-23 Thread Ray Satiro via curl-library
On 7/22/2016 2:53 PM, Dan Donahue wrote: On Thu, 2016-07-21 at 16:15 -0400, Ray Satiro via curl-library wrote: >Can you do a bisect though? >Your original report does not have enough information My last email implicitly indicates a bisection of the releases in question 7.44.0 (works) to

Re: sftp download error in 7.49.1

2016-07-21 Thread Ray Satiro via curl-library
On 7/21/2016 11:25 AM, Dan Donahue wrote: On Wed, 2016-07-20 at 23:19 +0200, Daniel Stenberg wrote: >disconnects or errors are seen on the server (until my abort > >logic). >Strange! Any chance you can bisect down to a suspected commit that >introduced this behavior? I tried all releases

Re: error message during transfer in muti_socket interface

2016-07-19 Thread Ray Satiro via curl-library
On 7/20/2016 12:58 AM, smruti kumari wrote: ** Failed writing body (0 != 988) * Failed writing data * Marked for [closure]: Transfer returned error* * multi_done * Closing connection 0 * The cache now contains 0 members >>> socketCallback: removing fd=5 action=4 Could you please inform me why

Re: Clear connection cache libcurl 7.44

2016-07-05 Thread Ray Satiro via curl-library
On 7/5/2016 9:19 AM, risto via curl-library wrote: What are the possible ways to clear cURL connection cache? One way would be to close the current multi handle and open a new one. Are there some other options? I've got a situation where connection cache is kept through internet connection

Re: [PATCH] ask user for password for PKCS12 files

2016-07-05 Thread Ray Satiro via curl-library
On 7/4/2016 6:24 AM, Dmitry Bakshaev wrote: my mistake (typo): only option to specify pkcs12 password is CURLOPT_SSLCERTPASSWD. or from command-line: ... --cert-type P12 --cert my.p12:secret. if "secret" is not specified, curl not asks password and throws error "could not parse PKCS12 file,

Re: CURL 7.46 version: support TLS1.2 only for outbound connections

2016-07-04 Thread Ray Satiro via curl-library
On 7/4/2016 11:41 PM, Gaurav Rastogi -X (garastog - ARICENT TECHNOLOGIES MAURIITIUS LIMITED at Cisco) wrote: Would this option be used to initiate Client Connections using TLS1.2 only using curl and incase server does not support TLS1.2 then TLS connection would be rejected? Please don't

Re: CURLOPT_TCP_NODELAY by default

2016-07-01 Thread Ray Satiro via curl-library
On 6/30/2016 9:11 AM, Daniel Stenberg wrote: Since we once again got hit by the TCP_NODELAY causing a weirdo performance behavior, I move to making it enabled by default. As the attached patch shows. Mentioned here to allow you to protest, agree or discuss bikeshed colors. If no objections

Re: HTTP > HTTPS redirect with curl_global_init(CURL_GLOBAL_NOTHING) crashes

2016-06-28 Thread Ray Satiro via curl-library
On 6/28/2016 6:13 PM, Richard Gray wrote: However, I am curious as to why libcurl doesn't just refuse to attempt the operation instead of crashing in curl_multi_perform(). I got into this because up till now, the application has only been doing simple HTTP. I recently updated to a build

Re: Compile cURL with GnuTLS

2016-06-15 Thread Ray Satiro via curl-library
On 6/15/2016 12:57 PM, Cody Pritchard (cpritchard) wrote: gcc is unable to link with the lib in that path I provided because the libgnutls-30.dll is in the bin directory, but it looks like it is trying to find it in the lib directory. But the only thing in the lib directory are the

Re: libcurl crahes when an SFTP server's home directory is non-exist

2016-06-14 Thread Ray Satiro via curl-library
On 6/14/2016 1:41 AM, ? _ wrote: I met a crash issue when using libcurl to download file from an SFTP server. The server software is Bitvise SSH server 6.47. Client is running on CentOS 7. The issue happens when I accidentally set a user's real root path

Re: How to list easy handles from a multi handle

2016-06-08 Thread Ray Satiro via curl-library
On 6/8/2016 6:12 AM, Jeroen Ooms wrote: On Tue, Jun 7, 2016 at 1:02 AM, Ray Satiro via curl-library <curl-library@cool.haxx.se> wrote: >What he was getting at I think is you could propose a patch if you wanted. > >If you are in a pinch it's for sure very discouraged to do this

Re: Sending SSL Client Certificate via schannel

2016-06-08 Thread Ray Satiro via curl-library
On 6/7/2016 6:16 AM, David Morris wrote: *Question 1* Does schannel support using SSL certificates for authentication, the following code snippet from /static CURLcode/ /schannel_connect_step2(struct connectdata *conn, int sockindex)/ indicates that it doesn’t. /* If the server has

Re: How to list easy handles from a multi handle

2016-06-06 Thread Ray Satiro via curl-library
On 6/3/2016 12:49 PM, Jeroen Ooms wrote: On Wed, Jun 1, 2016 at 11:37 PM, Daniel Stenberg wrote: >>Is there an easy way to, at any given point, to list all easy-handles >>which are currently added to the multi handle? Or do we need to keep track >>of this ourselves? > >There's

Re: Exception when runing libcurl v7.49.0 with mbedTLS

2016-06-06 Thread Ray Satiro via curl-library
On 6/6/2016 2:30 PM, Moti Avrahami wrote: On Mon, Jun 6, 2016 at 8:01 PM, Ray Satiro via curl-library <curl-library@cool.haxx.se <mailto:curl-library@cool.haxx.se>> wrote: On 6/6/2016 4:01 AM, Moti Avrahami wrote: On Mon, Jun 6, 2016 at 5:53 AM, Ray Satiro via

Re: Exception when runing libcurl v7.49.0 with mbedTLS

2016-06-06 Thread Ray Satiro via curl-library
On 6/6/2016 4:01 AM, Moti Avrahami wrote: On Mon, Jun 6, 2016 at 5:53 AM, Ray Satiro via curl-library <curl-library@cool.haxx.se <mailto:curl-library@cool.haxx.se>> wrote: On 6/5/2016 9:11 AM, Moti Avrahami wrote: Recently I upgraded libcurl to v7.49.0 and now

Re: Exception when runing libcurl v7.49.0 with mbedTLS

2016-06-05 Thread Ray Satiro via curl-library
On 6/5/2016 9:11 AM, Moti Avrahami wrote: Recently I upgraded libcurl to v7.49.0 and now I’m getting exception when connecting to some FTPS servers. The exception is about “Access violation reading location” and the callstack begin from mbedTLS.c in this function: void

Re: Getting files from SFTP is slower at newer versions

2016-05-29 Thread Ray Satiro via curl-library
On 5/29/2016 4:05 AM, Moti Avrahami wrote: The weird fact is that I tried it also with curl.exe and it works, but doesn't work with libcurl. I tried it against 2 servers and got the same result. I verified the libcurl commands by the "curl.exe --libcurl" option and it's seems Ok. I've also

Re: HTTP CA bundle during proxy communication

2016-05-27 Thread Ray Satiro via curl-library
On 5/26/2016 7:14 AM, Sasikala Raju wrote: For http(s) we will need CA bundle to authenticate the server. And this CA bundle will in client machine and its path can be specified using CURLOPT_CAINFO . When we communicate via

Re: bash script - for http-post

2016-05-21 Thread Ray Satiro via curl-library
On 5/21/2016 3:10 AM, Kman Devnull wrote: On Tue, May 17, 2016 at 3:34 PM, Kman Devnull > wrote: Hi, I was planning to convert some of my current libcurl code into a bash script. Current code looks something like this -

Re: 7.49.0 a few stubborn tests fail on Solaris : 1139 1140

2016-05-20 Thread Ray Satiro via curl-library
On 5/20/2016 7:49 PM, dev_user wrote: TESTDONE: 780 tests out of 782 reported OK: 99% TESTFAIL: These test cases failed: 1139 1140 TESTDONE: 1026 tests were considered during 522 seconds. It's not specific to Solaris. It's been fixed in the repo, see https://github.com/curl/curl/issues/814

Re: How to separate two different response

2016-05-18 Thread Ray Satiro via curl-library
On 5/18/2016 8:32 AM, Daniel Stenberg wrote: On Wed, 18 May 2016, smruti kumari wrote: Let's consider I have two enpoints E1, E2 and one server. E1 send a request to server and server forward to E2. E2 gives two responses to E1 via server.If these two response come together(one after another)

tests 1139 and 1140 dependencies missing from curl-7.49.0 release source

2016-05-18 Thread Ray Satiro via curl-library
Be advised tests 1139 and 1140 are failing because the two perl scripts aren't included in the 7.49 release source. I tried both the zip and tar.gz in Ubuntu 14 x64 vm. 1139 stderr: Can't open perl script "./manpage-scan.pl": No such file or directory 1140 stderr: Can't open perl script

Re: How to capture Error message from the Server

2016-05-17 Thread Ray Satiro via curl-library
On 5/17/2016 5:24 PM, Colin Ngam wrote: Say, I need to read a file and it has “This is a test.” in it. I issue a GET for an object in the cloud. My callback is called with “This is a test.” in the buffer. I saved it into a local file. All is fine. Now, if someone deleted the object. I did not

Re: How to capture Error message from the Server

2016-05-17 Thread Ray Satiro via curl-library
On 5/17/2016 4:42 PM, Colin Ngam wrote: Yes, I understand that part after I get the content. In a GET situation my callback gets called by libcurl with data: 1st Call – I save the data. 2nd Call – I save the data. 3rd Call – I save the data. Done. Good. Now, if the Server has an error after

Re: How to capture Error message from the Server

2016-05-17 Thread Ray Satiro via curl-library
On 5/17/2016 3:40 PM, Colin Ngam wrote: Yes, but if the Server is also sending additional text of the error where can I capture this in the situation of the GET e.g. NoSuchKeyThe specified key does not

Re: How to capture Error message from the Server

2016-05-17 Thread Ray Satiro via curl-library
On 5/17/2016 2:36 PM, Colin Ngam wrote: In a PUT situation, you can register a callback to capture any messages from the Server. However, in the case of a GET, since the callback is used for receiving data from the server, how do you get error messages from the Server if any? How do you tell

Re: how to capture http response number?

2016-05-17 Thread Ray Satiro via curl-library
On 5/17/2016 10:11 AM, Kman Devnull wrote: Now, I see that if the server was slow to respond to a http-post, it appears that my whole code seems to wait on the call-back function "WriteMemoryCallback". My embedded system, speaks to various sensors - now because of the above delay, it affects

Re: How to separate two different response

2016-05-17 Thread Ray Satiro via curl-library
On 5/17/2016 3:20 AM, smruti kumari wrote: I am sending a http request and adding josn data in the body.Similary server also responding with json body.The response packet we will recv in the write callback.But my query is How can we come to know that how much bytes I need to receive for the

Re: libcurl and CA bundles

2016-05-12 Thread Ray Satiro via curl-library
On 5/12/2016 8:05 PM, Jason W. Lewis wrote: Does libcurl use the CURL_CA_BUNDLE environment variable like the curl binary does? We have a web transaction that works from the command line, but not when called from within our app and we’re trying to narrow it down. Typically no but in Windows

Re: libcurl with Codeblocks

2016-05-06 Thread Ray Satiro via curl-library
On 5/6/2016 2:23 PM, as df wrote: curl = curl_easy_init(); isn't an error anymore but now I get this error: C:\...\curl-7.48.0-win64-mingw\lib\libcurl.a(easy.o)|| undefined reference to `__imp_WSAStartup'| In the lib folder there are 2 files: libcurl.a and libcurldll.a I use Win10 64 bit

Re: libcurl with Codeblocks

2016-05-05 Thread Ray Satiro via curl-library
On 5/5/2016 12:20 PM, as df wrote: I have short code where this appears: curl = curl_easy_init(); In this FAQ http://tinyurl.com/jqmlmsj it tells me to point to the folder where my compiled library is. I don't have a compiled libary. Where do I get one? I have downloaded curl-7.48.0.zip

Re: libcurl, CACs, and SSL/TLS

2016-05-04 Thread Ray Satiro via curl-library
On 5/4/2016 5:20 PM, Mckinney, Lee wrote: We have the following use case: 1. via libcurl, attempt SSL/TLS connection to a CAC-protected (PKI-enabled) server. 2. Receive server PKI challenge, asking for an appropriate certificate (likely X.509). 3. via libcurl (or libcurl + openSSL?), present

Re: Reuse ssl session accross curl handles

2016-04-29 Thread Ray Satiro via curl-library
On 4/29/2016 3:56 AM, Thomas Glanzmann wrote: Hello, * Thomas Glanzmann [2016-04-29 09:45]: now that Ray has fixed session reuse, I wonder if it is possible to reuse SSL session across curl handles? If I use the same curl handle it works, but if I try to use

Re: Can't get internals pointer on iOS

2016-04-28 Thread Ray Satiro via curl-library
On 4/28/2016 3:32 AM, Bru Rom wrote: > TLS_SESSION should return the in-use SSL pointer. When are you trying to retrieve the pointer? I try 4 combinations: TLS_SESSION before culr_easy_perform TLS_SESSION after culr_easy_perform TLS_SSL_PTR before culr_easy_perform TLS_SSL_PTR after

Re: http2 gzip encoded response expected if not requested?

2016-04-28 Thread Ray Satiro via curl-library
On 4/28/2016 2:54 AM, Daniel Stenberg wrote: On Wed, 27 Apr 2016, Ray Satiro via curl-library wrote: I've noticed twitter is sending http2 gzip responses even though I'm not using --compressed. I haven't encountered any other business that does that. Is that allowed by the RFC? I searched

Re: Can't get internals pointer on iOS

2016-04-28 Thread Ray Satiro via curl-library
On 4/27/2016 4:06 AM, Bru Rom wrote: I was in digest mode (but now i turn it off), so i am not sure where this mail is going to land. Daniel Stenberg: > Hopefully you can rebuild and use the newer version? Yes, i tried. No luck. Everything is the same. Ray Satiro: > Before you do an

Re: How to implement TLS session resumption in libcurl when connecting to FTPS servers

2016-04-28 Thread Ray Satiro via curl-library
On 4/26/2016 3:16 AM, Ray Satiro wrote: On 4/25/2016 10:03 AM, Moti Avrahami wrote: Hello, I am using libcurl (v7.47.1) on Windows, together with mbedTLS (v2.2.1) as a TLS backend, to connect to FTPS servers. Although I managed to connect to some FTPS servers, I encountered a problem

http2 gzip encoded response expected if not requested?

2016-04-27 Thread Ray Satiro via curl-library
I've noticed twitter is sending http2 gzip responses even though I'm not using --compressed. I haven't encountered any other business that does that. Is that allowed by the RFC? I searched it for gzip but it's not mentioned once, and the compression sections seem to apply mostly to headers.

ALPN in ClientHello for protocols other than HTTP?

2016-04-26 Thread Ray Satiro via curl-library
I've been monitoring some FTPS in Wireshark and one thing I've noticed is the ClientHello contains the ALPN extension for http/1.1 and h2. Is it acceptable to be sending that for protocols other than HTTP? curl 7.49.0-DEV (i686-w64-mingw32) libcurl/7.49.0-DEV mbedTLS/2.2.1 zlib/1.2.8

Re: Can't get internals pointer on iOS

2016-04-26 Thread Ray Satiro via curl-library
On 4/26/2016 8:50 AM, Bru Rom wrote: Hello! Using iOS 9.3.1 on iPhone 5 and 6, Mac OS X 10.11.4, XCode 7.3, libcurl 7.47.1 libcurl is build with this thing: https://github.com/sinofool/build-libcurl-ios build without OpenSSL, with native DarwinSSL libz is linked to project additionaly to

Re: How to implement TLS session resumption in libcurl when connecting to FTPS servers

2016-04-26 Thread Ray Satiro via curl-library
On 4/25/2016 10:03 AM, Moti Avrahami wrote: Hello, I am using libcurl (v7.47.1) on Windows, together with mbedTLS (v2.2.1) as a TLS backend, to connect to FTPS servers. Although I managed to connect to some FTPS servers, I encountered a problem to connect to FileZilla server, even when

Re: Proxy changes between transfers doesn't take effect immediately when using same handle

2016-04-23 Thread Ray Satiro via curl-library
On 4/22/2016 4:16 PM, BoBo via curl-library wrote: Hi. Using the same handle I want to download the same URL (e.g. microsoft.com ) first time without proxy and second time with wrong proxy. In order to achieve that I am setting proxy to empty string before the

Re: pinnedpubkey unsupported behavior

2016-04-21 Thread Ray Satiro via curl-library
On 4/21/2016 3:25 PM, moparisthebest wrote: Hi all, I was talking to a friend using OSX about --pinnedpubkey support, I mentioned that it wasn't supported in the darwinssl/SecureTransport back end, but the option was there and he tried it and successfully connected with a bad key. This got me

Re: Rest 0 command not supported

2016-04-20 Thread Ray Satiro via curl-library
On 4/19/2016 10:15 PM, Sasikala Raju wrote: We are facing this error while getting the size of a file . Why do we need REST 0 command after size ? REST command is not supported by server ? Or we have sent REST command in a place where it should not have ? Please let me how to proceed here

Re: Problem sharing one instance of openssl between curl and pjsip

2016-04-19 Thread Ray Satiro via curl-library
On 4/19/2016 10:00 AM, JOHAN LANTZ wrote: Hi I have a .so for Android that encapsulates both pjsip and curl. In turn, both of them depend on openssl so all of them exist as static libs inside the final .so. The problem is that the sharing of openssl breaks something and I am not yet able

Re: Question about curl CURLOPT_DEBUGFUNCTION example

2016-04-15 Thread Ray Satiro via curl-library
On 4/15/2016 4:17 AM, Elia Pinto wrote: Hello everyone. I am sorry for the banal question but I'm using in my code this example of CURLOPT_DEBUGFUNCTION https://curl.haxx.se/libcurl/c/debug.html and I wondered why in the code the "dump" function use the hex char OD and OA for comparisons and not

Re: libcurl segfaults in curl_multi_perform

2016-04-14 Thread Ray Satiro via curl-library
On 4/14/2016 8:28 AM, Alex Lyakas wrote: Hello again, Daniel, I was asked to emphasize the fact that we use several threads, and each thread has its own multi-handle. So we are doing multi-threaded transfers, while each thread operates on its own multi-handle. Does such usage require

Re: Using curl to notify get request to server

2016-04-13 Thread Ray Satiro via curl-library
On 4/13/2016 5:34 AM, Thiru balaji wrote: is it possible that i perform curl_easy_perform without registering write_callback(). This is just because I am interested just to notify the server that I have tried to do a get, But i dont want to download any data. If you want to GET without the

Re: SSL CERT Verification

2016-04-11 Thread Ray Satiro via curl-library
On 4/11/2016 2:57 AM, Sasikala Raju wrote: Hello Team, While establishing connection for https protocol , facing the issue with certification although ca bundle have cert required. It’s happening only in customer environment. Whereas all test machines are able to successfully verify the

Re: libcurl segfaults in curl_multi_perform

2016-03-24 Thread Ray Satiro via curl-library
On 3/24/2016 7:01 AM, Alex Lyakas wrote: Hi Daniel, We upgraded the libcurl to 7.45.0. After several weeks, the same or very similar problem happened 3 times within 24 hours, unfortunately. #0 0x7f4a322284d0 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 #1 0xca62c1d6ca62c1d6

Re: schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) The revocation function was unable to check revocation because the revocation server was offline.

2016-03-23 Thread Ray Satiro via curl-library
On 3/23/2016 5:05 AM, Volker Schmid wrote: We use libCurl version 7.43.0 with schannel support for TLS. Some customers using a proxy are getting the following issue: [...] 2016-03-22 14:20:13-1943 [4736]: VERB: CURL: schannel: next InitializeSecurityContext failed: Unknown error (0x80092013)

Re: CURLOPT_SSL_CTX_FUNCTION for SSPI

2016-03-20 Thread Ray Satiro via curl-library
On 3/14/2016 8:23 PM, Henri Hein wrote: On Sat, Mar 12, 2016 at 3:57 PM, Ray Satiro via curl-library <curl-library@cool.haxx.se> wrote: Instead I would probably pass SCHANNEL_CRED, if there was any interest for that. By this, do you mean call the SSL_CTX_FUNCTION callback in

Re: CURLOPT_SSLENGINE and nss

2016-03-15 Thread Ray Satiro via curl-library
On 3/15/2016 10:27 AM, Oliver Graute wrote: Hello, i'am using libcurl/7.44.0 with NSS/3.21. How can I set the SSL Engine for nss? I allready found: curl_easy_setopt() But if i use it. I get: CURLOPT_SSLENGINE: 4 (CURLE_NOT_BUILT_IN) --> If support for the option was disabled at

Re: CURLOPT_SSL_CTX_FUNCTION for SSPI

2016-03-12 Thread Ray Satiro via curl-library
On 3/12/2016 6:34 PM, Steve Holme wrote: On Thu, 10 Mar 2016, Henri Hein wrote: > I forked the curl sources and implemented CURLOPT_SSL_CTX_FUNCTION for > the SSPI/Schannel build. Would there be any interest in a pull > request for this? It's just a few lines of code that I took from the >

Re: Recommended architecture for streaming over multiple sockets

2016-03-08 Thread Ray Satiro via curl-library
On 3/8/2016 9:39 AM, Daniel Stenberg wrote: On Tue, 8 Mar 2016, Boutin Maël wrote: Currently i call multi_perform when there are data to be sent. How can i obtain the send status ? By performing a select on the handles ? Yes, you would call select on the file descriptors with the actions

Re: Question about Content-type: multipart

2016-03-07 Thread Ray Satiro via curl-library
On 3/7/2016 3:10 AM, Waitman Gobble wrote: Thanks for the replies, I will read through them and figure it out. I really appreciate it. I didn't post the entire file. One thing I think the problem is in lib/http.c else if(data->set.postfields) expectsend =

Re: Question about Content-type: multipart

2016-03-06 Thread Ray Satiro via curl-library
On 3/7/2016 1:15 AM, Waitman Gobble wrote: When I set Content-Type header to multipart/form-data and add data to CURLOPT_POSTFIELDS it seems to hang. I thought maybe proxy issue but tried with/without. 1) If sending simple string like a=foo=boo then there isn't an issue 2) If I don't set

Re: curl_easy_perform() failed: Failure when receiving data from the peer

2016-03-06 Thread Ray Satiro via curl-library
On 3/4/2016 4:04 AM, ravi kumar via curl-library wrote: Hello sir, I am using the following line in my program and getting error, Error 411. The request must be chunked or have a content length. slist = curl_slist_append(slist,"feed: value"); curl_easy_setopt(curl, CURLOPT_HTTPHEADER,

Re: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol

2016-03-05 Thread Ray Satiro via curl-library
On 3/1/2016 6:09 AM, Pa1 wrote: Hi, We are trying to send POST request to an https url using libcurl. The remote https server only accepts SSLv3 & TLS 1.0. Our libcurl client always tries to initiate the request with TLS 1.2 and fails the handshake. I tried with below option to force protocol

Re: Getting problems from other people.

2016-03-05 Thread Ray Satiro via curl-library
On 3/5/2016 5:13 AM, Jules van der Toorn wrote: I am receiving the mail questions from other people, could you please unsubscribe me from those? Please understand you are subscribed to a public mailing list and you will receive all list content. I don't know of a way where you can stay

Re: Building curl without SSLV2

2016-03-02 Thread Ray Satiro via curl-library
On 3/2/2016 8:37 AM, ashish mahamuni wrote: Yesterday, openssl released 1.0.2f release, where SSLv2 is disabled by default. I am building curl library on OSX with following options: ./configure --prefix=${my_prefix} --with-pic *--with-darwinssl --with-ssl=/path/to/openssl/1.0.2f*

Re: passing_string_in_header

2016-03-02 Thread Ray Satiro via curl-library
On 3/2/2016 1:04 PM, ravi kumar via curl-library wrote: Hello, I am encoding base64 of xml in string data.Now i have to pass data in header parameter. I am able to pass json or xml format in header. header_list = curl_slist_append(header_list, "json or xml format"); Now, i have to pass string

Re: Fw: problem_in_header

2016-03-01 Thread Ray Satiro via curl-library
On 3/1/2016 1:42 PM, ravi kumar via curl-library wrote: I have xml file.I have to post the data of xml file. Now in our server, we have to send base64encode data in header.which i am trying by using CURLOPT_HEADERFUCNCTION and CURLOPT_HEADERDATA,which not able to pass in header. Means i have

Re: Better error message for "protocol xxx is not supported"

2016-03-01 Thread Ray Satiro via curl-library
On 3/1/2016 12:02 PM, Vincas Razma wrote: Hi, One suggestion to solving issues described here: https://curl.haxx.se/docs/faq.html#Protocol_xxx_not_supported_or_di Is to change log message from: Protocol https not supported or disabled in libcurl To: Protocol " https" not supported or

Re: Using CURLOPT_UNIX_SOCKET_PATH

2016-02-29 Thread Ray Satiro via curl-library
On 2/29/2016 11:31 AM, Boutin Maël wrote: Dear all, I'm trying to use libcurl using unix domain sockets but i'm facing an issue. When i call curl_easy_perform i get this output: * About to connect() to localhost port 80 (#0) * Trying 127.0.0.1... * Connection refused * couldn't connect to

Re: How to get only mailtext with libCurl C++?

2016-02-27 Thread Ray Satiro via curl-library
On 2/27/2016 11:32 AM, Jules van der Toorn wrote: Hi, Recently is asked how to only get the subject of an email, and you responded with this: curl_easy_setopt(curl, CURLOPT_URL, "imaps://imap.gmail.com:993/INBOX/;UID=*;SECTION=HEADER%2EFIELDS%20%28SUBJECT%29

Re: Static Libcurl crashes on MSVC13

2016-02-26 Thread Ray Satiro via curl-library
On 2/26/2016 4:45 AM, Jules van der Toorn wrote: Thanks for your answer on my previous question about how to only receive the subject of the most recent mail, it worked perfectly. I build libCurl to a static library, but now i want to convert it to a static library. I followed the guide of

Re: LibCurl IMAP C++ receive only subject of most recent mail?

2016-02-25 Thread Ray Satiro via curl-library
On 2/25/2016 3:27 PM, Jules van der Toorn wrote: Hi, This question exists of 2 subquestions: 1. How do i set the UID, so that the latest email will be the result? Right now, UID=1 means the first mail that i've ever received. 2. If i get info about the mail using (int)res, i get loads of

Re: CURLINFO_TLS_SESSION with OPENSSL returns SSL_CTX instead of SSL

2016-02-24 Thread Ray Satiro via curl-library
On 9/29/2015 12:13 PM, Michael König wrote: Hi everyone, I got into a situation where i want to check what protocol version and cipher was used for an SSL connection. (HTTPS) I found CURLINFO_TLS_SESSION and it looked like it might give me access to the information i need, but it does not.

Re: Multiple versions of curl

2016-02-24 Thread Ray Satiro via curl-library
On 2/24/2016 2:32 PM, Jeanne Vural wrote: Can I install multiple curl versions on same server to use for end user ftp and sftp commands? I have some existing code that uses curl 7.32.0 that I don’t want to risk breaking. However I need the sftp functionality offered by version 7.41.1.

Re: static link: how to eliminate some undefined symbols?

2016-02-22 Thread Ray Satiro via curl-library
On 2/22/2016 8:50 PM, Stephen Greenfield wrote: Undefined symbols for architecture x86_64: "_tld_strerror", referenced from: _fix_hostname in myStatic_libcurl.a(libcurl_la-url.o) "_idna_to_unicode_lzlz", referenced from: _fix_hostname in myStatic_libcurl.a(libcurl_la-url.o)

Has anyone built libcurl for a system that is not two's complement?

2016-02-22 Thread Ray Satiro via curl-library
Has anyone built libcurl for a system that is not two's complement? I don't know of any. --- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html

Re: Incomplete SFTP Transfers with curl 7.46.0 and libssh2 1.6.1

2016-02-20 Thread Ray Satiro via curl-library
On 12/15/2015 11:25 AM, Edward LoPinto wrote: I've been putting together a package for curl 7.46.0 for my disto at confusedbycode.com, but I've run into a problem. All SFTP transfers larger than a few kilobytes fail with the error message: "curl: (18) transfer closed with x bytes remaining to

Re: RTSP Interleaved Multi Interface

2016-02-19 Thread Ray Satiro via curl-library
On 2/15/2016 9:59 AM, Chris Ward wrote: I am trying to get interleaved RTP over RTSP working with the multi interface and am struggling to make any progress. I have successfully got the rest of the RTSP commands working with the multi and easy interfaces without any difficulties at all. I

Re: Cookie Secure flag

2016-02-19 Thread Ray Satiro via curl-library
On 2/18/2016 10:38 AM, Pierre Brico wrote: My next question is: is it possible to intercept the HTTP header (probably with callback function) to remove the "secure" flag BEFORE libcurl process it? It's not possible with any of the callbacks as far as I know. The debug, write and header

Re: Client Certificate chains on OSX Secure Transport versions of curl and libcurl

2016-02-19 Thread Ray Satiro via curl-library
On 2/18/2016 1:39 PM, John Broadhead wrote: Is there a way to make libcurl send intermediate certificates for client auth? I'm using curl 7.43.0 on OSX El Capitan. On Linux, I can run: curl -v --cert-type PEM --cert ./full_chain.pem --key-type PEM --key ./john.broadhead.key.pem

Re: libcurl library routines

2016-02-18 Thread Ray Satiro via curl-library
On 2/18/2016 9:42 PM, Gene Moore via curl-library wrote: I found a libcurl.lib file and put it in the list, which resolved the external references. However, when I try to run my program, I get this The error "The application was unable to start correctly 0xc07b" I've seen happen when a

Re: libcurl library routines

2016-02-17 Thread Ray Satiro via curl-library
On 2/17/2016 6:17 PM, Gene Moore via curl-library wrote: I had found that reference before. That section refers to building with a static library. I'm using dynamic dll. It doesn't say anything about that. The NuGet package for curl looks to be about 3 years old. I don't think it's being

Re: Cookie Secure flag

2016-02-17 Thread Ray Satiro via curl-library
On 2/17/2016 5:19 PM, Pierre Brico wrote: Hello, I've a question about the usage of libcurl with Secure Flag on Cookie. I'm writing a injector tool to perform benchmark on web application. This tool is based on libcurl and libevent. The web application isn't exposed directly to the web but

Re: The zsh script

2016-02-12 Thread Ray Satiro via curl-library
On 2/12/2016 2:38 PM, Dan Fandrich wrote: On Fri, Feb 12, 2016 at 09:15:30AM +, Paul Howarth wrote: On 12/02/16 08:51, Jakub Zakrzewski wrote: wouldn't it be possible to run it as a part of install rule then? It still wouldn't work if the installation destination wasn't somewhere the

Re: Problem with 64 vs 32 bit header files for iOS build

2016-02-10 Thread Ray Satiro via curl-library
On 2/10/2016 9:38 AM, JOHAN LANTZ wrote: Hi I just moved my Win32 curl code to xCode and I am having an issue some of the checks in the curl headers. I have used https://github.com/biasedbit/curl-ios-build-scripts for building curl and it does produce two sets of header files, one for 64

Re: [Patch] docs/examples/asiohiper.cpp

2016-02-06 Thread Ray Satiro via curl-library
On 2/6/2016 4:20 AM, Gisle Vanem wrote: This example is not quite up-to-date with the latest Boost or C++ standard. With latest MSVC, I get these errors and 1 warning: asiohiper.cpp(365): error C2039: 'cout': is not a member of 'std' asiohiper.cpp(431): error C2664: 'CURLcode

Re: [Patch] docs/examples/htmltitle.cpp

2016-02-06 Thread Ray Satiro via curl-library
On 2/6/2016 5:29 AM, Gisle Vanem wrote: Unless this example is compiled with '-D_CRT_NONSTDC_NO_WARNINGS', MSVC will warn on: htmltitle.cpp(153): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online

<    1   2   3   4   5   6   7   >