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: use libcurl to obtain the real-time speed of git clone.

2020-02-18 Thread Daniel Stenberg via curl-library
On Tue, 18 Feb 2020, Hongyi Zhao wrote: Yes, git uses libcurl when you clone/checkout over HTTP(S). Do you mean, the git-clone over ssh don't use libcurl? That seems like a perfect question for a git developer or perhaps by reading git source code. I don't think it does

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

2020-02-18 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年2月18日周二 下午3:03写道: > > On Tue, 18 Feb 2020, Hongyi Zhao via curl-library wrote: > > > The git is based on libcurl. I want to know whether can I use libcurl to > > obtain the real-time speed of git clone. > > Yes, git uses libcurl when you clone/che

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

2020-02-17 Thread Daniel Stenberg via curl-library
On Tue, 18 Feb 2020, Hongyi Zhao via curl-library wrote: The git is based on libcurl. I want to know whether can I use libcurl to obtain the real-time speed of git clone. Yes, git uses libcurl when you clone/checkout over HTTP(S). So yes, git should be able to show you the current download

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

2020-02-17 Thread Hongyi Zhao via curl-library
Hi, The git is based on libcurl. I want to know whether can I use libcurl to obtain the real-time speed of git clone. Regards -- Hongsheng Zhao Institute of Semiconductors, Chinese Academy of Sciences GnuPG DSA: 0xD108493

Re[2]: libcurl version

2020-02-17 Thread Алексей via curl-library
Iam not complaining, Iam just trying to do my best. Sorry If it looks like. Building and using programs from sources on production servers isn’t good idea I think.   >Понедельник, 17 февраля 2020, 12:06 +03:00 от Dennis Clarke via curl-library >: >  >On 2020-02-17 01:47, Алексей via

Re: libcurl version

2020-02-17 Thread Dennis Clarke via curl-library
On 2020-02-17 01:47, Алексей via curl-library wrote: Thanks a lot, but I don’t need it. I can build it from sources .. So do that and stop complaining to people. Just get the sources and be happy. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders

Re[2]: libcurl version

2020-02-16 Thread Daniel Stenberg via curl-library
that it will be stable. We maintain ABI and API compatibility with previous releases since 2006. Of course there can still be mistakes and glitches, but they should be rare. I would probably go as far as to say that we do guarantee this: https://curl.haxx.se/libcurl/abi.html I just need

Re[2]: libcurl version

2020-02-16 Thread Алексей via curl-library
Thanks a lot, but I don’t need it. I can build it from sources but the problem is when it builds from sources there is no tests there and nobody guaranteed that it will be stable. I just need to know if libcurl.4.3.0 from the curl-7.29.0 fully compatible with libcurl.4.3.0 from curl-7.40

Re: libcurl version

2020-02-16 Thread Dennis Clarke via curl-library
red object. The 4.3.0 in libcurl.4.3.0.so is a versioning scheme used on Linux. Regular people use the other scheme that you are asking about. It is one of those disconnects created by engineers who lack ux experience (or disregard it). Also see docs like https://www.gnu.org/software/libtool/manual

Re: Re[2]: libcurl version

2020-02-16 Thread Jeffrey Walton via curl-library
out > updating curl in Centos with minimum packages and packages should be > available without any buildings from source. I may be splitting hairs but... I think it is hard to say at the moment. I think it depends on how you define "equal" for a shared object. The 4.3.0 in l

Re[2]: libcurl version

2020-02-16 Thread Алексей via curl-library
without any buildings from source.   >Воскресенье, 16 февраля 2020, 6:17 +03:00 от Dennis Clarke via curl-library >: >  >On 2020-02-15 15:04, Алексей via curl-library wrote: >> >> Hello. >> Would you be so kind to explain me one thing. >> Iam building one github pro

Re: libcurl version

2020-02-15 Thread Dennis Clarke via curl-library
On 2020-02-15 15:04, Алексей via curl-library wrote: Hello. Would you be so kind to explain me one thing. Iam building one github project that depends of libcurl version. In the README.md of that project (plcontainer) written the following: PL/Container needs libcurl >=7

libcurl version

2020-02-15 Thread Алексей via curl-library
Hello. Would you be so kind to explain me one thing. Iam building one github project that depends of libcurl version.   In the README.md of that project (plcontainer) written the following:   PL/Container needs libcurl >=7.40. If the libcurl version on your system is low, you need to upgr

Re: Found infinite looping in libCurl version 7.55.1

2020-02-03 Thread Uma Shunmugan via curl-library
to the last version of libcurl right now, I've recompiled libcurl 7.55.1 with some changes to force the use of GetTickCount64(), with the caveat that it needs to run on Windows 2008 or later. JFYI, because I had compile issues with VS 2013 that we use for building our code, I stuck with VS 2005

Re: Memory bloat in libcurl when using http/2

2020-02-03 Thread Daniel Stenberg via curl-library
On Fri, 31 Jan 2020, Sangamkar, Dheeraj via curl-library wrote: Environment: Debian 10 with libcurl 7.64.0-4. (some minor patches), nghttp2 version 1.36. Problem: Memory consumption of application keeps growing when read a large amount of data using libcurl over http/2 over tls

Memory bloat in libcurl when using http/2

2020-01-31 Thread Sangamkar, Dheeraj via curl-library
Hello, Environment: Debian 10 with libcurl 7.64.0-4. (some minor patches), nghttp2 version 1.36. Problem: Memory consumption of application keeps growing when read a large amount of data using libcurl over http/2 over tls. It is released later or during application shutdow, so, I don’t think

Re: Memory allocation issues with libcurl on solaris

2020-01-30 Thread Dennis Clarke via curl-library
On 2020-01-30 09:04, Daniel Stenberg via curl-library wrote: On Thu, 30 Jan 2020, Jitta, Machender wrote: Please take this to the curl-library mailing list. You will reach *thousands* of libcurl users and hackers there. Most of them are not on this mailing list. You're not reaching

Re: Memory allocation issues with libcurl on solaris

2020-01-30 Thread Daniel Stenberg via curl-library
On Thu, 30 Jan 2020, Jitta, Machender wrote: Please take this to the curl-library mailing list. You will reach *thousands* of libcurl users and hackers there. Most of them are not on this mailing list. You're not reaching the correct crowd here. I'm going to CC this reply over to that list

Re: Static libcurl on macOS with SPNEGO AND https-proxy

2020-01-28 Thread Daniel Stenberg via curl-library
On Wed, 29 Jan 2020, Kay Jurkuhn via curl-library wrote: SPNEGO works fine. But if I try to access a reverse https proxy, libcurl tells me that it is not built with the https proxy feature. curl built to use Secure Transport does not support HTTPS proxy. Your command line didn't switch off

Static libcurl on macOS with SPNEGO AND https-proxy

2020-01-28 Thread Kay Jurkuhn via curl-library
Hi, I'm trying to build libcurl (7.67) on macOS 10.14 as a static lib. Beside ssl I would like to include the SPNEGO feature AND https-proxy. Also I want libcurl to use the macOS keychain. So I tried this configuration //- export CFLAGS="-mmacosx-ve

Re: Port Libcurl to Embedded Platform without OS/Socket libraries and Only SSL support can access TCP socket

2020-01-27 Thread Daniel Stenberg via curl-library
On Mon, 27 Jan 2020, Srikar via curl-library wrote: Hi,  Am Porting libcurl to Embedded Platform without OS/Socket Libraries I have configured curl_config.h based on Embedded Platform which do not have Socket libraries ,but still needs curl_struct_sockaddr support from Platform to compile My

Port Libcurl to Embedded Platform without OS/Socket libraries and Only SSL support can access TCP socket

2020-01-27 Thread Srikar via curl-library
Hi,  Am Porting libcurl to Embedded Platform without OS/Socket Libraries I have configured curl_config.h based on Embedded Platform which do not have Socket libraries ,but still needs curl_struct_sockaddr support from Platform to compile My Questions.1.Can we configure Libcurl to use http/ssl

Re: Found infinite looping in libCurl version 7.55.1

2020-01-20 Thread Daniel Stenberg via curl-library
Current libcurl doesn't use GetTickCount() if you run on Vista or later so it should already be avoided. For older systems there's no fix as far as I can see. And is there any test program that I could run against libcurl to reproduce this infinite loop issue? Not to my knowledge.

Reminder: libcurl-security.3 is good stuff

2020-01-13 Thread Daniel Stenberg via curl-library
Hi team! Recently we've received several security issues in the curl bug bounty program where we've pointed out that the issues already were at least partly covered or explained in the libcurl-security.3 man page. I believe the page is too hard to find on the web site and possibly just

Re: Disabling Server's Issue Date Validation with libcurl

2020-01-09 Thread Abhi Arora via curl-library
For better readability, I have added my question over here: https://stackoverflow.com/questions/59662414/disabling-ssl-issue-date-validation-with-libcurl On Thu, Jan 9, 2020 at 3:05 PM Abhi Arora wrote: > I am trying to disable Server's Certificate Issue Date Validation in Curl. > For t

Disabling Server's Issue Date Validation with libcurl

2020-01-09 Thread Abhi Arora via curl-library
I am trying to disable Server's Certificate Issue Date Validation in Curl. For that, I have registered a "own_verify_callback" by calling "SSL_CTX_set_verify" in "sslContextVerify" function ("curl_easy_setopt(curl, CURLOPT_SSL_CTX_FUNCTION, sslContextVerify);"). The "own_verify_callback" gets

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

2019-12-12 Thread Hongyi Zhao via curl-library
g error: > > > > --- > > $ speed-check.sh > > Traceback (most recent call last): > >File > > "/root-share/home/distro-desktop/software/anti-gfw/socks5/socks5-haproxy/speed-check/pycurl-myhomura.py", > > line 8, in > > import pyc

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
sktop/software/anti-gfw/socks5/socks5-haproxy/speed-check/pycurl-myhomura.py", line 8, in import pycurl ImportError: pycurl: libcurl link-time version (7.64.0) is older than compile-time version (7.65.3) - I'm using Debian 10, and the curl is installed from repo with the fol

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

2019-12-10 Thread Hongyi Zhao via curl-library
ycurl-myhomura.py", line 8, in import pycurl ImportError: pycurl: libcurl link-time version (7.64.0) is older than compile-time version (7.65.3) - I'm using Debian 10, and the curl is installed from repo with the followng info: $ curl --version curl 7.64.0 (x86_64-pc

fixed: libCurl and Openssl 1.1.1d build errors

2019-12-06 Thread Steve Foxover via curl-library
I was skipping a step in Openssl. Without running "nmake install" you will not get an opensslconfig.h file generated. I had an old one that caused the error. The openssl documentation made me think calling "perl Configure" would create a new opensslconfig.h file. But that does not seem to be the

Re: missing libraries for static linked libcurl

2019-12-06 Thread acorn12 via curl-library
18.2, the other not yet sure of the specific version of Linux), I get various errors about missing libraries, such as Are you distributing the same libcurl binary shared library to the different distros? That is the issue I am still struggling with. I had assumed that by packaging  libcurl static

Re: missing libraries for static linked libcurl

2019-12-05 Thread Daniel Stenberg via curl-library
missing libraries, such as Are you distributing the same libcurl binary shared library to the different distros? If I copy the file libcurl.so.4 to the same directory as the executable, I end up with errors On Linux, apps don't load shared libraries from the same dirs as the applications just

Re: libCurl and Openssl 1.1.1d build errors

2019-12-05 Thread Daniel Stenberg via curl-library
you don't have the DEPRECATEDIN_1_1_0() macro defined properly? It exists in the opensslconf.h header on my machine(s). Does libCurl support openssl 1.1.1 on Windows? Yes (as that support is platform independent). We also ship our default curl executable on Windows built with that version

libCurl and Openssl 1.1.1d build errors

2019-12-04 Thread Steve Foxover via curl-library
Hi, I have been using libCurl for quite a while with openssl 1.0.2. But now I want to update to openssl 1.1.1 as support for 1.0.2 is ending. I compile openssl 1.1.1d with perl Configure VC-WIN32 no-asm no-tests no-shared --debug --prefix=/NUL --openssldir=/NUL nmake copy the headers and libs

missing libraries for static linked libcurl

2019-12-03 Thread acorn12 via curl-library
I am trying to compile one of my app for someone else running Ubuntu. The original app is compiled & runs (without issues libcurl 7.59) under Win 10. It uses libcurl and has it statically linked to avoid DLL issues. When I compile it under Mint 19.2 and try the app under Mint on the mac

libcurl video tutorial

2019-12-03 Thread Daniel Stenberg via curl-library
Hi! My intent is to record a series of short and fairly independent episodes, each detailing a specific libcurl area. A particular “thing”, feature, option or area of the APIs. Each episode is also thoroughly documented and all the source code seen on the video is available on the site so

Re: libcurl Version 7.66 crashes when uploading a file using https

2019-11-27 Thread Daniel Stenberg via curl-library
On Wed, 27 Nov 2019, Arun Jaganath via curl-library wrote: While upgrading from libcurl version 7.56.1 to 7.66, I am facing a crash. This is while i am trying to upload a file in chunks using https protocol. I have set the read callback function using ... I have modified

libcurl Version 7.66 crashes when uploading a file using https

2019-11-27 Thread Arun Jaganath via curl-library
Hi, While upgrading from libcurl version 7.56.1 to 7.66, I am facing a crash. This is while i am trying to upload a file in chunks using https protocol. I have set the read callback function using curl_easy_setopt(m_curl_upload_resume, CURLOPT_READFUNCTION, upload_resume_read_callback

Re: Replacing the whole socket interface of libcurl

2019-11-18 Thread Daniel Stenberg via curl-library
On Mon, 18 Nov 2019, Jeff Mears via curl-library wrote: It would be nice if there were a mode to have the application provide *all* socket routines, rather than libcurl calling functions directly. This is done with malloc (curl_global_init_mem), but not with sockets. I would love

Replacing the whole socket interface of libcurl

2019-11-18 Thread Jeff Mears via curl-library
I work on a project that uses libcurl, and even though it's by far the best multi-platform HTTP client library, several aspects of libcurl frustrate me. The biggest one is that libcurl demands that itself call most socket routines. This means that it can be very difficult to integrate

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

2019-11-14 Thread PGNet Dev via curl-library
On 11/13/19 10:26 PM, Daniel Stenberg wrote: > We fixed a bug the other day that could possibly be related: > >   > https://github.com/curl/curl/commit/13182b33f727cf5a56a5a13419904369f7f3baad I patched that into a v7.67 build, and tested. Looks like it solves the problem,

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

2019-11-13 Thread Daniel Stenberg via curl-library
On Wed, 13 Nov 2019, PGNet Dev wrote: curl_multi_add_handle() @ https://github.com/openSUSE/libzypp/blob/02a52477c0378127d0c13e4797826ee1367936ac/zypp/media/MediaMultiCurl.cc#L763 #0 Curl_splay (i=..., t=0x563d07704238) at splay.c:55

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

2019-11-13 Thread PGNet Dev via curl-library
> note, > >curl_multi_add_handle() @ > > https://github.com/openSUSE/libzypp/blob/02a52477c0378127d0c13e4797826ee1367936ac/zypp/media/MediaMultiCurl.cc#L763 > and, #0 Curl_splay (i=..., t=0x563d07704238) at splay.c:55

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

2019-11-13 Thread PGNet Dev via curl-library
gt;> then maybe you can try building a libcurl from source with the debug symbols >> still present and see if you can get some specifics out of this crash? >> With a debug version, possibly you could even catch the crash in a debugger >> and get a full stack trace to

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

2019-11-13 Thread PGNet Dev via curl-library
On 11/13/19 2:39 PM, Daniel Stenberg wrote: > If this crash is at least semi-reliably reproduced in your environment 100%, on all machines tested so far. Unfortunately, I've not yet found any OTHER reports from others' > then maybe you can try building a libcurl from source with the

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

2019-11-13 Thread Daniel Stenberg via curl-library
0x7fdd10ce72c8 curl_multi_perform (libcurl.so.4) #3 0x7fdd1283b4c8 _ZN4zypp5media17multifetchrequest3runERSt6vectorINS_3UrlESaIS3_EE (libzypp.so.1712) If this crash is at least semi-reliably reproduced in your environment, then maybe you can try building a libcurl from source

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

2019-11-13 Thread PGNet Dev via curl-library
> might help. I'll take a look with that enabled here in a bit. With that increased verbosity ... ZYPP_MEDIA_CURL_DEBUG=2 zypper ref OS15-oss journalctl -f Nov 13 13:36:49 vm013 kernel: traps: zypper[3470] general protection fault ip:7fdd10cec910 sp:7ffc76592bf0 error:0 in

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

2019-11-13 Thread PGNet Dev via curl-library
On 11/12/19 11:12 AM, PGNet Dev wrote: > >> *Is*  this^^ likely a curl issue? > > > > > > There's not enough information to tell. I downloaded that appdata file > > without a problem using 7.67 but I'm using Windows. We need a link to > > the issue filed with the repo and a minimal

Re: libcurl - MacOS 10.14 ...

2019-11-12 Thread Jeroen Ooms via curl-library
On Tue, Nov 12, 2019 at 9:37 PM Jeroen Ooms wrote: > > On Tue, Nov 12, 2019 at 8:51 PM Daniel Stenberg via curl-library > wrote: > > > > On Tue, 12 Nov 2019, Bryan O'Brien via curl-library wrote: > > > > > Courtesy of curl_version(), heres the version I

Re: libcurl - MacOS 10.14 ...

2019-11-12 Thread Jeroen Ooms via curl-library
On Tue, Nov 12, 2019 at 8:51 PM Daniel Stenberg via curl-library wrote: > > On Tue, 12 Nov 2019, Bryan O'Brien via curl-library wrote: > > > Courtesy of curl_version(), heres the version I’m using > > > > libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1

Re: libcurl - MacOS 10.14 ...

2019-11-12 Thread Daniel Stenberg via curl-library
On Tue, 12 Nov 2019, Bryan O'Brien via curl-library wrote: Courtesy of curl_version(), heres the version I’m using libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1 If anyone is aware of a more recent version, or can point me towards some newbie build instructions, I’d appreciate

libcurl - MacOS 10.14 ...

2019-11-12 Thread Bryan O'Brien via curl-library
Hi Folks, Courtesy of curl_version(), heres the version I’m using libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1 If anyone is aware of a more recent version, or can point me towards some newbie build instructions, I’d appreciate it. Best Regards, Bryan smime.p7s Description

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

2019-11-12 Thread PGNet Dev via curl-library
>> *Is* this^^ likely a curl issue? > > > There's not enough information to tell. I downloaded that appdata file > without a problem using 7.67 but I'm using Windows. We need a link to > the issue filed with the repo and a minimal self-contained example that > can be used to reproduce. Find out

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
Nov 11 13:37:51 prod223 kernel: [13139.140251] R13: 55e380270938 R14: 55e380218890 R15: 55e380270ae0 Nov 11 13:37:51 prod223 kernel: [13139.140252] FS: 7fbcef7caa00 GS: ... ``` Again, downgrading curl/libcurl -> v7.60 fixes the problem. A

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

2019-11-12 Thread PGNet Dev via curl-library
I recently upgraded distro-packaged (openSUSE) curl/libcurl from v7.66 -> 7.67. Subsequently, when I exec the distro's package management tool (zypper), it works for accessing ALL defined repos without problem/error, except for one, at which it reproducibly SEGFAULTs (~60+ machines, so

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

2019-11-03 Thread Ray Satiro via curl-library
output point to the same curl_slist_append() function call as the reason for the segmentation fault. curl_slist_append() is a public libcurl function that has worked the same way for many years and that's also unmodified since a long time. It seems likely that this crash is caused

Building libcurl using openssl framework

2019-10-31 Thread Jack Devlin via curl-library
to use a framework instead? After modifying the generated configure script to accept the framework libcurl builds successfully, however it seems that one of the checks in configure is ignoring the framework as the following error is produced at runtime when attempting to use an openssl feature

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

2019-10-28 Thread Daniel Stenberg via curl-library
as the reason for the segmentation fault. curl_slist_append() is a public libcurl function that has worked the same way for many years and that's also unmodified since a long time. It seems likely that this crash is caused by your application's use of this function. If you think differently

Re: Libcurl error: "curl_easy_perform() failed: URL using bad/illegal format or missing URL"

2019-10-26 Thread Daniel Stenberg via curl-library
On Sat, 26 Oct 2019, Alppuccino via curl-library wrote: Hi, I’m getting a bad format error on my code https://pastebin.com/auadF4xH This shouldn’t be happening as I believe everything is correct about the URL according to the docs, but if anyone knows otherwise then please respond. Thanks.

Libcurl error: "curl_easy_perform() failed: URL using bad/illegal format or missing URL"

2019-10-26 Thread Alppuccino via curl-library
Hi, I’m getting a bad format error on my code https://pastebin.com/auadF4xH This shouldn’t be happening as I believe everything is correct about the URL according to the docs, but if anyone knows otherwise then please respond. Thanks.

Re: ??????need help on using libcurl

2019-10-23 Thread Daniel Stenberg via curl-library
On Wed, 23 Oct 2019, Ralph M wrote: I want to know if there is any option can set to not check the expire date of the certificate . Just like I can set CURLOPT_SSL_VERIFYHOST to not check the host name . No there isn't! Doesn't the --insecure option, and the equivalent libcurl setting

Re: ??????need help on using libcurl

2019-10-23 Thread Ralph M via curl-library
icate . Just like I can set CURLOPT_SSL_VERIFYHOST to not > > check the host name . > > No there isn't! > > It has been discussed in the past as a potential feature to add, but it > has > never materialized. > > Doesn't the --insecure option, and the equivalent libcurl setting, pretty

Re: ??????need help on using libcurl

2019-10-23 Thread Daniel Stenberg via curl-library
On Wed, 23 Oct 2019, ?? via curl-library wrote: I want to know if there is any option can set to not check the expire date of the certificate . Just like I can set CURLOPT_SSL_VERIFYHOST to not check the host name . No there isn't! It has been discussed in the past as a potential

??????need help on using libcurl

2019-10-23 Thread ?????? via curl-library
Hi friend , I want to know if there is any option can set to not check the expire date of the certificate . Just like I can setCURLOPT_SSL_VERIFYHOST to not check the host name . ----

need help on using libcurl

2019-10-23 Thread ?????? via curl-library
need help on using libcurl--- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html

Support of pkcs12 certificate in memory for libcurl

2019-09-18 Thread Gilles Vollant via curl-library
I made a new PR #4371, to allow application using libcurl with a pkcs12 SSL client certificate in memory instead file. <https://github.com/curl/curl/pull/4371> https://github.com/curl/curl/pull/4371 We talked 3 year ago about this feature. <https://curl.haxx.se/mail/lib-201

Re: http/3 and libcurl-multi

2019-09-16 Thread Daniel Stenberg via curl-library
On Mon, 16 Sep 2019, Paul Oliver via curl-library wrote: I'm adding support for http/3 to my libcurl-based library and have come across a strange issue. I add a curl_multi_add_handle as usual and the first request works fine, however when I submit the second I receive no callbacks to my

http/3 and libcurl-multi

2019-09-15 Thread Paul Oliver via curl-library
Hi there, I'm adding support for http/3 to my libcurl-based library and have come across a strange issue. I add a curl_multi_add_handle as usual and the first request works fine, however when I submit the second I receive no callbacks to my CURLOPT_HEADERFUNCTION or CURLOPT_WRITEFUNCTION

Re: libcurl usage on os400 (ccsid troubles)

2019-09-12 Thread Patrick Monnerat via curl-library
to an IBM i for 3 years, someone else could also help you. I Cc this reply to the list. I've discovered you as an author of libcurl for os400 makefiles (should admit, quality ones). All build process of libcurl ran smoothly except couple specific places I've got to build by hand. This may interest

Is code change necessary to run libcurl as FIPS in under following conditions?

2019-08-10 Thread Dipak B via curl-library
Hi, I am able to run an application using libcurl in FIPS mode with following configuration Help requested Need opinion from seniors who know libcurl codebase if following is good from conceptual perspective with respect to libcurl. a) Built static libcurl using 'FIPS capable OpenSSL

Re: setting Interface precedence in libcurl

2019-08-08 Thread Patrick Monnerat via curl-library
On 8/7/19 11:42 PM, Daniel Stenberg via curl-library wrote: On Wed, 7 Aug 2019, Praveen Pvs via curl-library wrote: Is there way to set the precedence of interface(media/network) in libcurl? I wanted to set the order as ETH0, WLAN0, GPRS0,BT/WLAN libcurl only lets you set a single interface

Re: libcurl in fips mode

2019-08-07 Thread Dipak B via curl-library
Hi, 1) After following the steps below, I am able to see positive results with wireshark but yet to conclude on this. Aim is to run libcurl in FIPS compliant mode. 2) Request everyone to share inputs and continue the support as before. a) Built static libcurl using FIPS capable OpenSSL. b

Re: setting Interface precedence in libcurl

2019-08-07 Thread Daniel Stenberg via curl-library
On Wed, 7 Aug 2019, Praveen Pvs via curl-library wrote: Is there way to set the precedence of interface(media/network) in libcurl? I wanted to set the order as ETH0, WLAN0, GPRS0,BT/WLAN libcurl only lets you set a single interface to use so if you want to try a set in an order, you need

setting Interface precedence in libcurl

2019-08-07 Thread Praveen Pvs via curl-library
Hi All, Is there way to set the precedence of interface(media/network) in libcurl? I wanted to set the order as ETH0, WLAN0, GPRS0,BT/WLAN Could you please help me here! Regards Praveen --- Unsubscribe: https://cool.haxx.se/list

Re: libcurl in fips mode

2019-07-31 Thread Alibek Jorajev via curl-library
step (2), your step (3) will fail. On Wednesday, 31 July 2019, 04:26:03 GMT-4, Max Dymond via curl-library wrote: > > Can you please help me with the following question? > > > > How do I use libcurl in FIPS mode? > libcurl has no special provisions for FIPS. If an

RE: libcurl in fips mode

2019-07-31 Thread Max Dymond via curl-library
> > Can you please help me with the following question? > > > > How do I use libcurl in FIPS mode? > libcurl has no special provisions for FIPS. If any source code changes or > function invokes are necessary, you need to make them. > OpenSSL FIPS support seems to

Re: Procedure to use libcurl without CURL_GLOBAL_SSL

2019-07-31 Thread Daniel Stenberg via curl-library
On Wed, 31 Jul 2019, Dipak B via curl-library wrote: - What are the steps to initialise libcurl without CURL_GLOBAL_SSL? Could not find answer to this after spending time on this. Since 7.57.0, CURL_GLOBAL_SSL has no meaning for libcurl. And before that, it wasn't clearly documented what

Re: libcurl in fips mode

2019-07-31 Thread Daniel Stenberg via curl-library
On Tue, 30 Jul 2019, Dipak B via curl-library wrote: Can you please help me with the following question? How do I use libcurl in FIPS mode? libcurl has no special provisions for FIPS. If any source code changes or function invokes are necessary, you need to make them. OpenSSL FIPS support

Procedure to use libcurl without CURL_GLOBAL_SSL

2019-07-31 Thread Dipak B via curl-library
Hi, Can you please share any inputs on the following? - What are the steps to initialise libcurl without CURL_GLOBAL_SSL? Could not find answer to this after spending time on this. -The documentation states that when CURL_GLOBAL_SSL is not used then initialisation of SSL layer needs to be done

libcurl in fips mode

2019-07-30 Thread Dipak B via curl-library
Hi, Can you please help me with the following question? How do I use libcurl in FIPS mode? I want to use only the 'easy' interface with OpenSSL. Following research is done / in progress a. Could not find curlopt_xxx for FIPS mode. Apology if this is not needed. b. Checking if VTLS interface

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: Missing bcrytp.dll when running Watcom compiled Libcurl program on XP.

2019-07-03 Thread Gisle Vanem via curl-library
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 to rebuild OpenSSL with a '_WIN32_WINNT' value suitable for Win-XP

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

2019-07-03 Thread Dan Gribble via curl-library
From: curl-library on behalf of Ray Satiro via curl-library Sent: 02 July 2019 22:13 To: curl-library@cool.haxx.se Cc: Ray Satiro Subject: Re: Missing bcrytp.dll when running Watcom compiled Libcurl program on XP.   On 7/2/2019 11:44 AM, Dan Gribble via curl-library wrote

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

2019-07-02 Thread Ray Satiro via curl-library
further information, please let me know and I will > do my best to assist you. Please don't top-post [1] it makes the conversation hard to follow. Either libcurl or one of its dependents is dependent on bcrypt. Official builds don't need bcrypt. You can use Dependency Walker [2] to see exactly wh

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

2019-07-02 Thread Dan Gribble via curl-library
To: libcurl development Subject: Re: Missing bcrytp.dll when running Watcom compiled Libcurl program on XP. Hi Ray, thanks for getting back to me. 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

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

2019-07-02 Thread Dan Gribble via curl-library
. From: curl-library on behalf of Ray Satiro via curl-library Sent: 02 July 2019 08:24 To: curl-library@cool.haxx.se Cc: Ray Satiro Subject: Re: Missing bcrytp.dll when running Watcom compiled Libcurl program on XP. On 6/28/2019 7:42 AM, Dan Gribble via curl-library wrote: 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 >

Re: segfault in libcurl during install

2019-06-30 Thread Daniel Stenberg via curl-library
On Fri, 28 Jun 2019, Chris Murphy via curl-library wrote: Upstream bug tracking this problem, the developers say the segfault is happening in libcurl and to ask about it here. https://github.com/flatpak/flatpak/issues/2977 Downstream bug contains gdb backtrace that I can't parse, but it's

segfault in libcurl during install

2019-06-29 Thread Chris Murphy via curl-library
Hi, Upstream bug tracking this problem, the developers say the segfault is happening in libcurl and to ask about it here. https://github.com/flatpak/flatpak/issues/2977 Downstream bug contains gdb backtrace that I can't parse, but it's the 2nd attachment in this bug report https

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

2019-06-28 Thread Dan Gribble via curl-library
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 couple of legacy machines that we require to still run XP. I have

RE: Using the X.509 certificates of the Windows certificate store via libcurl

2019-06-19 Thread * * via curl-library
code I hacked into "mbedtls.c" is completely unnecessary. Regards Philip -Original Message- From: curl-library [mailto:curl-library-boun...@cool.haxx.se] On Behalf Of Christian Schmitz via curl-library Sent: Mittwoch, 19. Juni 2019 08:12 To: libcurl development Cc: Christ

Re: Using the X.509 certificates of the Windows certificate store via libcurl

2019-06-19 Thread Christian Schmitz via curl-library
> So, I attempted to just use Mbed TLS on Windows as well. We did that with OpenSSL, as you can read here: https://www.mbsplugins.de/archive/2019-03-30/Using_system_SSL_Certificates_ Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/

Re: Using the X.509 certificates of the Windows certificate store via libcurl

2019-06-18 Thread Daniel Stenberg via curl-library
On Tue, 18 Jun 2019, * * via curl-library wrote: Sending an HTTPS GET request with that code produces error CURLE_PEER_FAILED_VERIFICATION (60) with the error message "Cert verify failed: BADCERT_NOT_TRUSTED". So, obviously the certificates are not properly taken into account during the TLS

Using the X.509 certificates of the Windows certificate store via libcurl

2019-06-18 Thread * * via curl-library
Hi all I'm using libcurl to build the networking layer for a cross-platform app that will run on Android, iOS and Windows. To be able to do HTTPS requests I'm using Mbed TLS 2.16 together with libcurl 7.65 on Android and Windows and Secure Transport in the iOS app. So far it works as expected

Re: Unrecognized content encoding type. libcurl understands deflate, gzip content encodings.

2019-06-08 Thread Dan Fandrich via curl-library
On Fri, Jun 07, 2019 at 07:58:58PM -0400, Aditya Diwakar via curl-library wrote: > When I make my request, I receive something with content that is encoded as > "br" (brotil) and it errors with "Unrecognized content encoding type. libcurl > understands deflate, gzip conte

Unrecognized content encoding type. libcurl understands deflate, gzip content encodings.

2019-06-08 Thread Aditya Diwakar via curl-library
Hey there curl-library mailing list, I am trying to use the curl CLI as well as the Insomnia REST client in order to make a request. When I make my request, I receive something with content that is encoded as "br" (brotil) and it errors with "Unrecognized content encodin

Re: CoAP support in libcurl for the Internet of Things

2019-06-06 Thread Olaf Bergmann via curl-library
Hi Rémy, "Remy 'Sieben' Leone via curl-library" writes: > Any news on this front? I was waiting for libcoap2 to become available on the major Linux distributions. This has happened in the meantime, so I will start working on this again. A number of things have changed hence I will have to

Re: [DKIM] Fwd: building simple program using libcurl on Win64

2019-06-06 Thread Zakrzewski, Jakub via curl-library
> From: curl-library on behalf of Salda via > curl-library > Sent: 06 June 2019 00:55 > To: curl-library@cool.haxx.se > Cc: Salda > Subject: [DKIM] Fwd: building simple program using libcurl on Win64 > Some help see below? Btw I don't wa

Fwd: building simple program using libcurl on Win64

2019-06-05 Thread Salda via curl-library
libcurl on Win64 "Hello, see https://stackoverflow.com/questions/56378660/how-to-correctly-statically -link-libcurl-on-windows-using-clang-64bit (https://stackoverflow.com/questions/56378660/how-to-correctly-statically-link-libcurl-on-windows-using-clang-64bit) so.. How do I build simple pr

<    1   2   3   4   5   6   7   8   9   10   >