Re: Access gmail with pycurl.

2021-07-01 Thread Ray Satiro via curl-library
On 6/29/2021 12:33 AM, Hongyi Zhao via curl-library wrote: On Tue, Jun 29, 2021 at 5:55 AM Daniel Stenberg wrote: On Sat, 26 Jun 2021, Hongyi Zhao via curl-library wrote: I noticed that libcurl, hence pycurl supports IMAP and IMAPS, so I want to know if I can use it to retrieve/remove emails

Re: difficulties with SSL certs

2021-04-08 Thread Ray Satiro via curl-library
On 4/8/2021 12:21 AM, Dennis Clarke via curl-library wrote: europa$ europa$ curl -4 -L --url 'https://gitlab.com/' -o /dev/null % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 0

Re: Requesting Version Info for GSASL

2021-04-02 Thread Ray Satiro via curl-library
On 4/2/2021 3:44 AM, Mac-Fly via curl-library wrote: I don't know to reply properly to this list, so this is a reply to: Ray Satiro There is features flag CURL_VERSION_GSASL [1]. The gsasl version should be in the version information but the version number is not available separately. What

Re: Requesting Version Info for GSASL

2021-04-02 Thread Ray Satiro via curl-library
On 4/2/2021 1:45 AM, Mac-Fly via curl-library wrote: since curl 7.76.0 there is a new dependency (at least on Windows) to GSASL. Is it possible to add the version information for that dependency to the curl_version_info_data struct? Similar to e.g. nghttp2_version or quic_version? The reason is

Re: Getting pubkey fingerprint in libcurl

2021-03-14 Thread Ray Satiro via curl-library
On 3/12/2021 7:13 AM, Morten Minde Neergaard wrote: At 01:02, Tue 2021-03-02, Ray Satiro via curl-library wrote: On 2/26/2021 4:10 PM, Morten Minde Neergaard via curl-library wrote: [...] It would be a lot more elegant if there were an option to get the pubkey fingerprint directly, using

Re: Concurrency and send/recv

2021-03-12 Thread Ray Satiro via curl-library
On 3/12/2021 11:45 PM, Jacob Hoffman-Andrews via curl-library wrote: Currently the rustls backend uses a buffer on the stack for its `send` / `recv` implementations. I'd like to switch this to be a heap-allocated buffer, initialized once and stored in the `connssl->backend` struct. Is it

Re: Handling TCP connection shutdown without TLS close_notify

2021-03-12 Thread Ray Satiro via curl-library
On 3/12/2021 11:27 PM, Jacob Hoffman-Andrews via curl-library wrote: In https://github.com/curl/curl/issues/4624 there is some discussion about what to do when a TCP connection is closed without the TLS peer sending a close_notify alert first.

Re: Getting pubkey fingerprint in libcurl

2021-03-01 Thread Ray Satiro via curl-library
On 2/26/2021 4:10 PM, Morten Minde Neergaard via curl-library wrote: I'm making an app that's using public key pinning, and it would be very helpful to have programmatic access to the pubkey fingerprint. The app currently has a huge and horrible mountain of platform- and backend-specific code

Re: Adding flags to SChannel cred

2021-02-28 Thread Ray Satiro via curl-library
On 2/28/2021 4:14 PM, Morten Minde Neergaard via curl-library wrote: At 17:11, Sat 2021-02-27, Ray Satiro via curl-library wrote: On 2/26/2021 2:56 PM, Morten Minde Neergaard via curl-library wrote: [...] The first thing that came to mind would be to add an option CURLOPT_SSL_BACKEND_FLAGS

Re: Adding flags to SChannel cred

2021-02-27 Thread Ray Satiro via curl-library
On 2/26/2021 2:56 PM, Morten Minde Neergaard via curl-library wrote: I'm using libcurl in a project I'm doing, and I'd like to specify some extra flags to the SCHANNEL_CRED struct to enhance security and remove potential error sources: SCH_USE_STRONG_CRYPTO: Disables some older cipher suites.

Re: libcurl build from source with openssl

2021-02-24 Thread Ray Satiro via curl-library
ding the linkage to the curl dependency The green line add the curl project with it's depedency to my application. It works on Win /Linux /OSX without SSL, with the SSL addition it works on Win but Linux and OSX complains about linkage errors . Thanks On Wed, Feb 24, 2021 at 11:13 PM Ray Satiro

Re: libcurl build from source with openssl

2021-02-24 Thread Ray Satiro via curl-library
On 2/24/2021 9:40 AM, Nir Azkiel via curl-library wrote: I got libcurl downloaded and build, I would like to add HTTPS support but I keep getting linkage errors. I added this flag to libcurl Externalproject_Add -DCMAKE_USE_OPENSSL=ON also I added link to ssl like this

Re: Non-constness of field "data" in "struct curl_blob" with setopt

2021-02-22 Thread Ray Satiro via curl-library
On 2/22/2021 12:39 PM, Tomalak Geret'kal via curl-library wrote: On 22/02/2021 16:43, Laurent Dufresne via curl-library wrote: -Original Message- From: curl-library On Behalf Of Tomalak Geret'kal via curl-library Sent: Monday, February 22, 2021 5:16 PM To:curl-library@cool.haxx.se Cc:

Re: CURLOPT_ACCEPT_ENCODING not working (help)

2021-02-09 Thread Ray Satiro via curl-library
t send the data doubly compressed, but instead “my system probably compresses it upon receiving it”. I don’t know how this could make any sense at all. I haven’t yet tried to analyze the network packets to determine the right data nature. Thanks for any response in advance. Regards, Adrián *De:

Re: CURLOPT_ACCEPT_ENCODING not working (help)

2021-02-05 Thread Ray Satiro via curl-library
On 2/4/2021 10:07 AM, Adrián Gimeno Balaguer via curl-library wrote: I’m using a self built libcurl shared library for embedded use in a C++ application. In the attempt of requesting it to automatically decompress response data from a remote server of interest by using a line like the

Re: curl 7.75.0 fails to compile

2021-02-04 Thread Ray Satiro via curl-library
On 2/4/2021 12:02 PM, Firefox OS via curl-library wrote: I got following compilation error in 7.75 release. It was OK in curl 7.74. The attached patch fixes the compilation problem in my case. http.c:1963:10: error: conflicting types for ‘Curl_add_timecondition’ 1963 | CURLcode

Re: Forcing curl_multi_perform() to return regularly

2021-01-17 Thread Ray Satiro via curl-library
On 1/17/2021 6:16 AM, Andreas Falkenhahn via curl-library wrote: On 15.01.2021 at 16:59 Daniel Stenberg wrote: Using what version? There's a maxloops counter in the transfer.c:readwrite_data() function that's meant to prevent the function from getting stuck "forever". BTW, I think a new

Re: String encoding used by CURLOPT_ERRORBUFFER

2021-01-14 Thread Ray Satiro via curl-library
On 1/14/2021 1:46 PM, Andreas Falkenhahn via curl-library wrote: Is there any specification concerning the encoding used by the string copied to CURLOPT_ERRORBUFFER in case of an error? On my German Windows system I often seem to be getting ISO 8859-1. For example, the error message for

Re: Test 1061 flaky when run without valgrind

2021-01-11 Thread Ray Satiro via curl-library
On 1/11/2021 3:01 AM, Fabian Keil via curl-library wrote: Ray Satiro via curl-library wrote on 2021-01-10: On 1/10/2021 5:33 PM, Daniel Stenberg via curl-library wrote: On Sun, 10 Jan 2021, Fabian Keil via curl-library wrote: The attached patch seems to work around the problem. Busy

Re: cacerts download is a bit sideways on Ubuntu

2021-01-11 Thread Ray Satiro via curl-library
On 1/11/2021 2:48 AM, Jeffrey Walton via curl-library wrote: On Mon, Jan 11, 2021 at 2:35 AM Daniel Stenberg wrote: On Mon, 11 Jan 2021, Jeffrey Walton via curl-library wrote: $ lsb_release -a Distributor ID:Ubuntu Description:Ubuntu 20.04.1 LTS Release:20.04 Codename:focal

Re: Test 1061 flaky when run without valgrind

2021-01-10 Thread Ray Satiro via curl-library
On 1/10/2021 5:33 PM, Daniel Stenberg via curl-library wrote: On Sun, 10 Jan 2021, Fabian Keil via curl-library wrote: The attached patch seems to work around the problem. Busy-looping probably isn't the right solution, though. Yeah, that's just not the right fix. When the code returns

Re: compiling error uclinux+curl+wolfssl undefined reference to `wolfTLSv1_1_client_method'

2020-12-29 Thread Ray Satiro via curl-library
On 12/28/2020 3:49 PM, Julian Montes via curl-library wrote: I am working with curl and a coldfire board ( MCF5272 ). I have compile successfully  uclinux and use curl with OPENSSL. Now I am trying to use  curl +wolfssl. I have this error in curl compile. _CURL 7.47.0_

Re: TESTFAIL: These test cases failed: 1167

2020-12-21 Thread Ray Satiro via curl-library
On 12/21/2020 4:49 PM, Daniel Stenberg via curl-library wrote: On Mon, 21 Dec 2020, Dennis Clarke via curl-library wrote: Ah ha, well that provides endless buckets of information. It seems the script doesn't properly ignore lines with nothing but a single hash ('#') sign on them. My

Re: TESTFAIL: These test cases failed: 1167

2020-12-20 Thread Ray Satiro via curl-library
On 12/20/2020 3:35 PM, Dennis Clarke via curl-library wrote: Will do but I don't see anything different Please run it directly using verbose -v, refer to the command line above Well throwing in a -v does nothing new : alpha $ alpha $ ./runtests.pl -v -p 1167 Please run badsymbols

Re: TESTFAIL: These test cases failed: 1167

2020-12-20 Thread Ray Satiro via curl-library
On 12/20/2020 7:29 AM, Dennis Clarke via curl-library wrote: I'm working on adding a verbose mode to badsymbols [1][2], can you patch and try it out: cd tests perl -I. ./badsymbols.pl -v ./.. [1]:https://github.com/curl/curl/pull/6349

Re: TESTFAIL: These test cases failed: 1167

2020-12-20 Thread Ray Satiro via curl-library
On 12/19/2020 9:58 PM, Dennis Clarke via curl-library wrote: alpha $ alpha $ ./runtests.pl -p 1167 * System characteristics * curl 7.74.0 (sparc64-sun-solaris2.10) * libcurl/7.74.0 OpenSSL/1.1.1i zlib/1.2.11 libidn2/2.3.0 libssh2/1.9.0 * Features: alt-svc AsynchDNS HTTPS-proxy

Re: TESTFAIL: These test cases failed: 1167

2020-12-19 Thread Ray Satiro via curl-library
On 12/19/2020 11:15 AM, Dennis Clarke via curl-library wrote: on Solaris 10 sparcv9 : OK (1376 out of 1376, remaining: 00:00, took 0.134s, duration: 11:18) TESTDONE: 1091 tests out of 1092 reported OK: 99% TESTFAIL: These test cases failed: 1167 TESTDONE: 1388 tests were considered during 679

Re: Next-level packaging of curl for Windows

2020-12-17 Thread Ray Satiro via curl-library
On 12/17/2020 4:30 PM, Daniel Stenberg via curl-library wrote: The curl project received the suggestion to package the official curl binary we produce for Windows in a signed installer. In the long term this package could be used by Microsoft to ship our official curl binary instead of a

Re: docs/URL-SYNTAX.md

2020-12-11 Thread Ray Satiro via curl-library
On 12/11/2020 6:00 PM, Daniel Stenberg via curl-library wrote: I created and just pushed a first version of docs/URL-SYNTAX.md. It's my attempt to document the URL syntax that curl works with and covers most angles and takes on URLs from a curl perspective. Give it a read and file PRs if you

Re: Feature request: HTTPS first

2020-11-06 Thread Ray Satiro via curl-library
On 11/6/2020 11:32 AM, Emil Engler via curl-library wrote: Hello, as most websites use HTTPS nowadays I would suggest to let curl use HTTPS if no protocol was specified rather than HTTP and use HTTP as a fallback if HTTPS is not available. However, I am not certainly sure if that can be done

Re: I'm now the owner of curl.se

2020-11-05 Thread Ray Satiro via curl-library
On 11/5/2020 5:32 AM, Daniel Stenberg wrote: On Thu, 5 Nov 2020, Ray Satiro wrote: It is blocked loading some resources from fastly-insights.com (without www) I don't think we're expected to load any resources from there? (BTW, that resource load is explained in full here: https

Re: I'm now the owner of curl.se

2020-11-04 Thread Ray Satiro via curl-library
On 11/5/2020 1:55 AM, Daniel Stenberg wrote: On Wed, 4 Nov 2020, Ray Satiro wrote: I will never quite understand Content-Security-Policy but I think I managed to fix that quirk. It's not fixed here. It looks like the references to the stylesheets are still the old curl.haxx.se

Re: I'm now the owner of curl.se

2020-11-04 Thread Ray Satiro via curl-library
On 11/4/2020 5:06 PM, Daniel Stenberg wrote: Also something looks off with the CSS, see attachment I will never quite understand Content-Security-Policy but I think I managed to fix that quirk. It's not fixed here. It looks like the references to the stylesheets are still the old

Re: server transition today

2020-11-04 Thread Ray Satiro via curl-library
On 10/30/2020 4:17 AM, Daniel Stenberg wrote: On Fri, 30 Oct 2020, Ray Satiro via curl-library wrote: The archival process for mail seems to have stopped. For example curl-library october archive [1] stopped archiving on the 19th. Oops. I think it was still storing the emails fine

Re: I'm now the owner of curl.se

2020-11-04 Thread Ray Satiro via curl-library
On 11/4/2020 6:00 AM, Daniel Stenberg via curl-library wrote: On Mon, 2 Nov 2020, Daniel Stenberg via curl-library wrote: I'll be back with more info soon when we can consider the new domain and address to be the new home. Welcome to curl.se - our new home.  https://curl.se and

Re: Performance issue with libcurl 7.73

2020-10-30 Thread Ray Satiro via curl-library
On 10/29/2020 7:57 PM, Jeffrey McKay via curl-library wrote: Recently we did have some problem with logging in to some servers, and I determined that the issue could be fixed by updating to libcurl 7.71 (not sure why). However I ran into some other problem with this version, where for some

Re: server transition today

2020-10-30 Thread Ray Satiro via curl-library
On 10/23/2020 2:17 AM, Daniel Stenberg via curl-library wrote: If you spot glitches on the site, please have patience but if they remain after 24 hours or so, do let me know and I'll have a look. The archival process for mail seems to have stopped. For example curl-library october archive

Re: How to get Libcurl output into a Buffer?

2020-10-18 Thread Ray Satiro via curl-library
On 10/19/2020 12:31 AM, Lijin TV via curl-library wrote: |I want to store the result of this curl function into a buffer, how can I do so? #include #include int main(void) { CURL *curl; CURLcode res; curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, "www.example.com

Re: Curl upgrade from 7.65.1 to 7.70.0 causing performance degradation

2020-09-16 Thread Ray Satiro via curl-library
On 9/14/2020 8:13 PM, Kunal Chandarana via curl-library wrote: This is continuation of an earlier thread , that was addressed to an incorrect audience. Using curl-library mailing for further discussion. I further investigated the issue.

Re: Failed sending data to the peer in 7.72.0

2020-09-11 Thread Ray Satiro via curl-library
On 9/11/2020 2:03 PM, James Brown via curl-library wrote: After upgrading a test cluster from 7.71.1 to 7.72.0, we're now seeing around 0.1% of POSTs from one (and only one) of our applications fail with "Failed sending data to the peer" (CURLE_SEND_ERROR) and no other error. Based on logs,

Re: time to remove Visual Studio project files?

2020-09-07 Thread Ray Satiro via curl-library
On 9/6/2020 3:40 AM, Daniel Stenberg wrote: On Sun, 6 Sep 2020, Ray Satiro via curl-library wrote: I use the Visual Studio project files. I like that there's several configurations that I can switch between. Isn't that just the equivalent of running different nmake command lines? Why

Re: time to remove Visual Studio project files?

2020-09-05 Thread Ray Satiro via curl-library
On 9/5/2020 9:16 AM, Daniel Stenberg via curl-library wrote: I'd like to get a better feel for the need to ship the visual studio project files we currently host in the project/ directory. Do you use them? Why isn't generating these files using cmake good enough? If we're going to keep

Re: static link on Ubuntu

2020-08-26 Thread Ray Satiro via curl-library
On 8/25/2020 1:41 PM, Mike via curl-library wrote: g++ -L/usr/lib/x86_64-linux-gnu/libfreetype.a -L/usr/lib/x86_64-linux-gnu/libcurl.a -m64 -static-libgcc -DCURL_STATICLIB -I/usr/lib/x86_64-linux-gnu/libcurl.a -Wl,--version-script=exports.txt -shared -o "lin.xpl" ./BitmapSupport.o

Re: Libcurl-win - linkage, redistributables

2020-08-12 Thread Ray Satiro via curl-library
On 8/11/2020 10:54 AM, David Harris via curl-library wrote: I apologize if some or all of this is covered elsewhere - I*did* take a browse through the last few months of list archives to see if I could see anything, but nothing jumped out. First, a little context: I am in the process of

Re: Getting CAPTCHA response when download a webpage

2020-07-20 Thread Ray Satiro via curl-library
On 7/19/2020 6:38 PM, Mah. E. via curl-library wrote: i can open this link on any browser and never ask for recaptcha I get a captcha in every browser. --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette:

Re: how to force use schannel functions?

2020-07-02 Thread Ray Satiro via curl-library
On 7/3/2020 12:55 AM, Vermeire, Baudewijn via curl-library wrote: how can i force curl to use Schannel.c functions? �I have configured to use native ssl as well as others, so i would expect Schannel is used on windows? Sorry if this is a stupid question. OpenSSL library functions are

Re: Cross-compiled generating error 77 in application

2020-06-19 Thread Ray Satiro via curl-library
On 6/19/2020 3:17 AM, Ray Satiro wrote: If you use the Schannel backend (native WIndows SSL) instead of OpenSSL then you do not need a separate bundle of certificates, the Windows OS certificate store is used by default. The next version of curl (7.71, to be released next week) will support

Re: Cross-compiled generating error 77 in application

2020-06-19 Thread Ray Satiro via curl-library
On 6/18/2020 1:27 PM, Peter Bushnell via curl-library wrote: Have added curl source to build a statically compiled libcurl.a to a multi-platform application which cross-compiles binaries for on Linux for Windows and Mac. The application on Linux and Mac work as expected, but when calling

Re: [libcurl][openssh][x64-uwp] cannot set certification verify locations

2020-06-01 Thread Ray Satiro via curl-library
On 5/30/2020 11:57 AM, Feng LI via curl-library wrote: |* error setting certificate verify locations: CAfile: C:\Users\okidogii\AppData\Local\Packages\df268f7d-b5b4-4991-9c68-8120a7b392bb_75cr2b68sm664\LocalState\cacert.pem CApath: none| Are you sure that file exists? That error message is

Re: Minimal libcurl compile for windows

2020-05-06 Thread Ray Satiro via curl-library
On 5/6/2020 3:25 PM, Testing WunTuTri via curl-library wrote: I did this Compiling the static lib on windows with nmake yields libcurl_a.lib and a bunch of obj files, libcurl_a.lib needs to be in the folder with the obj files in order for my program to compile without unresolved

Re: Curl status code does not match 'last' status when using 102 'Processing' in interim

2020-05-01 Thread Ray Satiro via curl-library
On 5/1/2020 12:54 PM, Alex Shaver via curl-library wrote: I have a server I connect to that may return one or more 102 'processing' messages to keep the connection alive while a long processing action is underway. Supposing the final message is a 200 response, when I check the curl status

Re: Retrieving the local address between connect() and HTTP

2020-04-26 Thread Ray Satiro via curl-library
On 4/26/2020 4:44 PM, Jean-Francois Dockes wrote: Ray Satiro via curl-library writes: > On 4/26/2020 10:40 AM, Jean-Francois Dockes via curl-library wrote: > > My apologies if this is a frequent question, I could not find an answer. > > > > It would be convenie

Re: Retrieving the local address between connect() and HTTP

2020-04-26 Thread Ray Satiro via curl-library
On 4/26/2020 10:40 AM, Jean-Francois Dockes via curl-library wrote: My apologies if this is a frequent question, I could not find an answer. It would be convenient for me to retrieve the local address of the connected socket used for an HTTP GET before the HTTP transaction begins. The pseudo

Re: How to not send TLS 1.3 Ciphers?

2020-04-15 Thread Ray Satiro via curl-library
On 4/15/2020 6:36 PM, Mark Windshield via curl-library wrote: I'm trying to not send TLS 1.3 Ciphers when making a request through libcurl (but have the option to set them), I tried compiling openssl with 'define TLS_DEFAULT_CIPHERSUITES " " ' instead of it containing the three "default"

Re: static libcurl with clang

2020-03-22 Thread Ray Satiro via curl-library
On 3/20/2020 5:51 AM, Mike via curl-library wrote: 1>libcurl_a.lib(krb5_sspi.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_ntohl" in Funktion "Curl_auth_create_gssapi_security_message". please any help as I'm stuck. many thanks If you have built libcurl as a

Re: How to get more information about error code 7

2020-03-19 Thread Ray Satiro via curl-library
On 3/19/2020 4:30 PM, Leo Song via curl-library wrote: This Curl error 7 is happening intermittently, so yes I am able to connect to the server using the command line tool. Therefore, in case if this happens again in future, I want my application to display more error messages than just Curl

Re: static libcurl with clang

2020-03-18 Thread Ray Satiro via curl-library
On 3/18/2020 5:08 AM, Mike via curl-library wrote: Sure I only use the sln projects with VS but get errors like: 1>libcurl.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send".

Re: static libcurl with clang

2020-03-17 Thread Ray Satiro via curl-library
On 3/17/2020 5:32 AM, Mike via curl-library wrote: I get this error with clang and others with vs compiler: truncated or malformed archive (string table at long name offset 0not terminated) I try to use libcurl static in my project with Visual Studio. Is there a working prebuild visual studio

Re: Did cookie behavior with POSTing change?

2020-03-15 Thread Ray Satiro via curl-library
On 3/15/2020 6:38 PM, rob--- via curl-library wrote: The version is what I interpret fromhttp://pmoz.info/try/phpinfo.php . I assumed that since the php was recently built, it would also have a new version of curl. I guess not? This is a shared server, hosted with 1&1, so I don't have direct

Re: Did cookie behavior with POSTing change?

2020-03-15 Thread Ray Satiro via curl-library
On 3/15/2020 4:45 PM, rob--- via curl-library wrote: I�ve been using cURL for a long time to make automated posts to the phpBB3 forum. Recently, it stopped working. The forum software has not been changed, so I think this is something in the cURL behavior. I can still successfully log in

Re: Lib Curl Conflicts with Norton Anti Virus

2020-03-06 Thread Ray Satiro via curl-library
On 3/6/2020 5:58 PM, Essam Makhlouf via curl-library wrote: I had a life chat with Norton support agent and allowed a remote control session to help me resolve the problem. He confirmed the file is indeed infected. But could not explain why the 64 bit is not infected. Norton agent suggested

Re: sharing cookies … bug?

2020-03-05 Thread Ray Satiro via curl-library
On 3/5/2020 11:06 AM, Felipe Gasper via curl-library wrote: Would a PR to clarify the documentation on this point be acceptable? e.g., in curl_share_setopt(3)’s description of CURL_LOCK_DATA_COOKIE, something like: --- Prior to 7.67, designating a cookie-sharing share object on an easy

How to debug server logs lock timeout?

2020-03-03 Thread Ray Satiro via curl-library
I am running all the tests with ASAN (flags -fsanitize=address,undefined -fno-sanitize-recover and make test TFLAGS=-n) in Ubuntu 16. A few times I saw: test 0285...Warning: server logs lock timeout (2 seconds) expired OK (285 out of 1287, remaining: 06:22, took 2.1s, duration: 01:48) test

Re: Building with HTTPS-Proxy feature on Windows

2020-03-02 Thread Ray Satiro via curl-library
On 3/2/2020 5:36 PM, Lopes, David via curl-library wrote: I am unable to build with HTTPS-Proxy feature on Windows (curl 7.68) I am using OpenSSL as the backend, I have also tried with the WINSSL backend Is there any flag I need to set to build with the feature? I always get these

Re: windows NTLM auth with sspi enabled fails mysteriously for some customers

2020-02-27 Thread Ray Satiro via curl-library
On 2/27/2020 5:26 PM, Daniel Stenberg via curl-library wrote: On Thu, 27 Feb 2020, Zach Hall via curl-library wrote: build with command line option ENABLE_SSPI=yes. For our environment and the vast majority of our customers' environments, this hasn't caused a problem, However for some it

Re: use libcurl to obtain the real-time speed of git clone.

2020-02-20 Thread Ray Satiro via curl-library
On 2/18/2020 4:34 AM, Hongyi Zhao via curl-library wrote: So yes, git should be able to show you the current download speed with libcurl. Doesn't it already do this? Yes. But I want to use libcurl to do more self-customized jobs. libcurl can show a progress meter if you disable NOPROGRESS

Re: 7.58.0 curl_global_sslset returns CURLSSLSET_TOO_LATE

2020-01-28 Thread Ray Satiro via curl-library
On 1/28/2020 8:09 PM, Pawel Veselov wrote: On Wed, Jan 29, 2020 at 1:09 AM Ray Satiro wrote: On 1/28/2020 5:13 PM, Pawel Veselov wrote: On Tue, Jan 28, 2020 at 10:24 PM Ray Satiro via curl-library wrote: On 1/28/2020 1:17 PM, Pawel Veselov via curl-library wrote: I have a simple prologue

Re: 7.58.0 curl_global_sslset returns CURLSSLSET_TOO_LATE

2020-01-28 Thread Ray Satiro via curl-library
On 1/28/2020 5:13 PM, Pawel Veselov wrote: On Tue, Jan 28, 2020 at 10:24 PM Ray Satiro via curl-library mailto:curl-library@cool.haxx.se>> wrote: On 1/28/2020 1:17 PM, Pawel Veselov via curl-library wrote: > > I have a simple prologue code in my program to select SSL

Re: 7.58.0 curl_global_sslset returns CURLSSLSET_TOO_LATE

2020-01-28 Thread Ray Satiro via curl-library
On 1/28/2020 1:17 PM, Pawel Veselov via curl-library wrote: I have a simple prologue code in my program to select SSL backend. It works on relatively recent versions (e.g. 7.65), but specifically on 7.58 ("latest" for Ubuntu 18), curl_global_sslset() returns CURLSSLSET_TOO_LATE. I thought

Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-12 Thread Ray Satiro via curl-library
On 1/12/2020 10:49 AM, shiftag via curl-library wrote: On 1/12/20 1:32 AM, Daniel Stenberg wrote: On Sat, 11 Jan 2020, shiftag via curl-library wrote: So it appears the issue is not related to the compilation. The normal behavior of libcurl is checking /etc/ssl/certs ,so I rebuild the content

Re: SSL session ID reuse - clarification needed

2020-01-04 Thread Ray Satiro via curl-library
On 1/3/2020 5:29 PM, Peter Wu via curl-library wrote: On Fri, Jan 03, 2020 at 09:21:04PM +0100, Daniel Jeliński via curl-library wrote: Hi all, I see that libcurl supports SSL session ID cache already, unless CURLOPT_SSL_SESSIONID_CACHE is cleared. However, I'm having a hard time finding

Re: Use GetEnvironmentVariable() instead of getenv()?

2020-01-02 Thread Ray Satiro via curl-library
On 1/2/2020 9:56 AM, Christoph M. Becker via curl-library wrote: I've noticed that curl_getenv() uses getenv() on Windows[1]. However, environment variables set with SetEnvironmentVariable() are not seen by getenv() (although GetEnvironmentVariable() sees changes done by putenv()), and since

Re: IP address of failed/tried connections?

2020-01-01 Thread Ray Satiro via curl-library
On 1/2/2020 12:34 AM, Ray Satiro wrote: libcurl saves that information only if a connection is made [1]. You may not be looking for debug strings but CURLINFO_TEXT is the fastest way I can think of to do what you're asking [2][3][4][5]. Either that or you modify libcurl for your own purposes

Re: IP address of failed/tried connections?

2020-01-01 Thread Ray Satiro via curl-library
On 1/2/2020 12:34 AM, Ray Satiro wrote: Note libcurl may attempt two connections at once and then goes with the fastest connection in what is known as "happy eyeballs". Oops I meant it attempts both connections simultaneously and then uses the first completed connection. You can

Re: IP address of failed/tried connections?

2020-01-01 Thread Ray Satiro via curl-library
On 1/1/2020 10:48 PM, Arthur Murray via curl-library wrote: I would like to get the IP#(s) of both successful and failed connections after "curl_easy_perform". For example: If I try to: curl_easy_setopt(curl, CURLOPT_URL,"http://www.google.com:999;); res = curl_easy_perform(curl); It will

Re: Android: curl return error "couldn't resolve host" when enable c-ares

2019-12-26 Thread Ray Satiro via curl-library
On 12/26/2019 3:03 AM, Nguyen Khue via curl-library wrote: I build curl with option --enable-ares for android application. When I run my application, if I don't set dns server then curl always return error "couldn't resolve host". I didn't get this error when running on the desktop

Re: how to make requests of http2 using curl

2019-12-16 Thread Ray Satiro via curl-library
On 12/17/2019 2:26 AM, Daniel Stenberg via curl-library wrote: On Tue, 17 Dec 2019, peng xu via curl-library wrote: I have wriiten the code below to make a http2 request, but the debug info showed me that it's http 1.1, would you please tell me why and how should I amend it: Does your

Re: ImportError: pycurl: libcurl link-time version (7.64.0) is older than compile-time version (7.65.3)

2019-12-10 Thread Ray Satiro via curl-library
On 12/10/2019 9:03 AM, Hongyi Zhao via curl-library wrote: I use pipenv to install pycurl for my project: $ pipenv install pycurl Then when I run the project, I meet the following error: --- $ speed-check.sh Traceback (most recent call last): File

Re: http requests

2019-12-01 Thread Ray Satiro via curl-library
On 12/2/2019 2:21 AM, Daniel Stenberg wrote: On Mon, 2 Dec 2019, Ray Satiro via curl-library wrote: If you are using Visual Studio you will probably have to build it yourself from source [1] since I don't think we have pre-built libs for Visual Studio. How about the vcpkg approach mentioned

Re: http requests

2019-12-01 Thread Ray Satiro via curl-library
On 11/29/2019 10:25 AM, Gustav Wiberg via curl-library wrote: Im trying to get libcurl working with Visual Studio 2017 with C++ on Windows 10. I have tried different things and maybe I have messed VS 2017 ;-) I have never used C++ before so u understand my knowledge about this...  I want

Re: Missing data fragments when custom headers set

2019-11-24 Thread Ray Satiro via curl-library
On 11/24/2019 6:42 AM, Firefox OS via curl-library wrote: Dnia 2019-11-24, o godz. 10:21:07 tangram67 via curl-library napisał(a): Hi to all. I'm using libcurl as a receiver for MP3 radio streams. When using custom headers in conjunction with header and body data callbacks, some data is

Re: How to manage buggy http/2 in MacOS and Linux

2019-11-19 Thread Ray Satiro via curl-library
On 11/19/2019 8:00 AM, Jeroen Ooms wrote: On Tue, Nov 19, 2019 at 9:25 AM Ray Satiro via curl-library wrote: On 11/18/2019 8:42 AM, Jeroen Ooms via curl-library wrote: I maintain the libcurl R bindings which are used by 1M+ users to build clients for countless web services. On MacOS

Re: How to manage buggy http/2 in MacOS and Linux

2019-11-19 Thread Ray Satiro via curl-library
On 11/18/2019 8:42 AM, Jeroen Ooms via curl-library wrote: I maintain the libcurl R bindings which are used by 1M+ users to build clients for countless web services. On MacOS and Linux, the bindings link to the system version of libcurl. As of MacOS Catalina (released last month) this is now

Re: Problem linking on mac-os

2019-11-16 Thread Ray Satiro via curl-library
On 11/16/2019 10:12 AM, Ben Greear via curl-library wrote: I have a program called l4helper, that links against a libcurl (and lib-cares) that I have compiled myself. The library is in my LD_LIBRARY_PATH, and at any rate was never in /usr/local/lib/libcares.2.dylib Anyone know why it is

Re: reproducible, but limited, SEGFAULTS after upgrade curl/libcurl 7.66 -> 7.67. curl issue, or not?

2019-11-12 Thread Ray Satiro via curl-library
On 11/12/2019 11:38 AM, PGNet Dev via curl-library wrote: Retrieving:http://download.opensuse.org/distribution/leap/15.1/repo/oss/repodata/57cb86253c19b7c80ce4de1fb5a081a842e24eac5308c84b159d6728e3edc183-appdata.xml.gz

Re: Fwd: FW: Reg: Issue with libcurl (https call)

2019-11-03 Thread Ray Satiro via curl-library
On 10/28/2019 4:00 AM, Daniel Stenberg via curl-library wrote: On Mon, 28 Oct 2019, karthikeyan Sivakkumar via curl-library wrote: 7. We re facing segmentation fault in the 'appending header' section itself. This behavior is consistent and dbx analysis as well as truss command

Re: Problems with schannel support for CURLOPT_CAINFO

2019-11-01 Thread Ray Satiro via curl-library
On 10/31/2019 7:11 AM, Richard Alcock via curl-library wrote: I'm hitting what I think is two problems using CURLOPT_CAINFO with the schannel backend. The issues stem from making requests concurrently from multiple threads specifing the same file in CURLOPT_CAINFO. If I run the code below on

Re: file:// test URLs

2019-10-18 Thread Ray Satiro via curl-library
On 10/18/2019 6:40 PM, Marcel Raad via curl-library wrote: I'm currently trying to get a successful test suite run for curl compiled with MSYS GCC, which has more Unix-like behavior compared to MinGW. (Or, to be exact, I'm trying to be able to add autotools builds to AppVeyor with only what is

Re: spnego sspi delegation [windows 7]

2019-10-10 Thread Ray Satiro via curl-library
On 10/10/2019 5:24 AM, Claudio via curl-library wrote: -Original Message- From: curl-library On Behalf Of Claudio via curl-library Sent: Wednesday, July 03, 2019 1:56 PM To:curl-library@cool.haxx.se Cc: Rinaldi, Claudio: Quants (LDN) Subject: spnego sspi delegation [windows 7] This

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

2019-10-10 Thread Ray Satiro via curl-library
On 10/10/2019 10:48 AM, Nicolas Mora via curl-library wrote: 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

Re: Get cookies for specific URL

2019-09-25 Thread Ray Satiro via curl-library
On 9/24/2019 10:23 AM, Daniel Stenberg via curl-library wrote: On Tue, 24 Sep 2019, H?lzl, Dominik via curl-library wrote: get all cookies for a specific URL? No, we don't provide such an API. Yet. Maybe we should? Ideas on how it would look like? I took a shot at it [1]. [1]:

Re: curl_easy_perform() crash (more info)

2019-09-12 Thread Ray Satiro via curl-library
On 9/10/2019 6:08 AM, Daniel Polski via curl-library wrote: curl 7.65.3 openssl 1.1.1b I'm still hunting for the crash bug in my application and found something interesting: "old SSL session ID is stale, removing" (marked "<-- this row") is reported twice about the same time in the verbose

Re: Windows compilation error

2019-07-14 Thread Ray Satiro via curl-library
On 7/7/2019 6:51 PM, MATSUDA Daiki wrote: > On 2019年07月08日 07:17, Ray Satiro via curl-library wrote: >> On 7/7/2019 5:43 PM, MATSUDA Daiki wrote: >>> On 2019年07月07日 15:17, Ray Satiro via curl-library wrote: >>>> On 7/2/2019 8:07 PM, MATSUDA Daiki via curl-libra

Re: using curl for a constant stream of event notifications

2019-07-10 Thread Ray Satiro via curl-library
On 7/9/2019 12:43 PM, R C via curl-library wrote: > > I have been using the curl library, to write some c code for for > accessing IoT devices. > > Some of these devices can produce a "constant stream" of event > notifications,  in text/xml. > > I wonder what the best approach would be to open

Re: Windows compilation error

2019-07-07 Thread Ray Satiro via curl-library
On 7/7/2019 5:43 PM, MATSUDA Daiki wrote: > On 2019年07月07日 15:17, Ray Satiro via curl-library wrote: >> On 7/2/2019 8:07 PM, MATSUDA Daiki via curl-library wrote: >>> In my research, the curl library with /MD option in spite of static. >>> >>> https://docs.mic

Re: Windows compilation error

2019-07-07 Thread Ray Satiro via curl-library
On 7/2/2019 8:07 PM, MATSUDA Daiki via curl-library wrote: > In my research, the curl library with /MD option in spite of static. > > https://docs.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=vs-2019 Is it possible that you want RTLIBCFG=static? [1] It is not the

Re: Missing bcrytp.dll when running Watcom compiled Libcurl program on XP.

2019-07-07 Thread Ray Satiro via curl-library
On 7/3/2019 7:36 AM, Gisle Vanem via curl-library wrote: > Dan Gribble wrote: > >> I have copied libcrypto-1_1.dll and libssl-1_1.dll (from openssl >> 1.1.1c) to my application directory in order to run the compiled >> application, >> but other than that I have not done anything else. > > You have

Re: bind address lockup

2019-07-06 Thread Ray Satiro via curl-library
On 6/27/2019 5:21 PM, Robert NEMKIN via curl-library wrote: > Hope I'm right, but bind() is for server/receiving sockets. > I want to bind to a specific interface as client socket. > > I use curl_easy_setopt(curl, CURLOPT_INTERFACE, interface) to bind to > a specific interface. I guess, that I set

Re: Missing bcrytp.dll when running Watcom compiled Libcurl program on XP.

2019-07-02 Thread Ray Satiro via curl-library
On 7/2/2019 11:44 AM, Dan Gribble via curl-library wrote: > Please excuse my ignorance/inexperience but i'm very new to C++ (and > OOP, compiling/linking in general).? I'll try and explain as best i > can what I have done so far and hopefully you will be able to advise > how to proceed. > > I am

Re: Missing bcrytp.dll when running Watcom compiled Libcurl program on XP.

2019-07-02 Thread Ray Satiro via curl-library
On 6/28/2019 7:42 AM, Dan Gribble via curl-library wrote: > I am experiencing a problem when a program using Libcurl that is > compiled on Windows 7 using the Watcom C++ compiler is run on Windows XP. > > I am aware that XP is no longer supported, however, at my installation > we still have a

  1   2   3   4   5   6   7   >