Re: OpenPGP card not available

2024-04-09 Thread Dan Fandrich
On Tue, Apr 09, 2024 at 12:11:31PM +0200, Werner Koch wrote: > By default we are not using PC/SC on Linux but direct access to the > reader via USB. Now if pcscd is already running and has access to the > reader scdaemon won't be able to access the reader via USB. > > 2.2 falls back to PC/SC if

OpenPGP card not available

2024-04-09 Thread Dan Fandrich
Running "gpg --card-status" with a configured Yubikey plugged in on an x86_64 Linux machine just gives me these errors when running 2.4.5: gpg: selecting card failed: No such device gpg: OpenPGP card not available: No such device However, leaving everything else the same and just running 2.2.42

OpenPGP card not available

2024-04-08 Thread Dan Fandrich
Running "gpg --card-status" with a configured Yubikey plugged in on an x86_64 Linux machine just gives me these errors when running 2.4.5: gpg: selecting card failed: No such device gpg: OpenPGP card not available: No such device However, leaving everything else the same and just running 2.2.42

Re: Reproducing the release tarballs

2024-04-01 Thread Dan Fandrich via curl-library
On Sun, Mar 31, 2024 at 11:24:27AM +0200, Daniel Stenberg wrote: > On Sat, 30 Mar 2024, Dan Fandrich via curl-library wrote: > > > SPDX seems to be the standard SBOM format for this that tools are > > starting to expect. The format is able to handle complex situations, >

Re: Reproducing the release tarballs

2024-03-30 Thread Dan Fandrich via curl-library
On Sat, Mar 30, 2024 at 06:29:48PM +0100, Daniel Stenberg via curl-library wrote: > Any proposals for how to document the exact set of tools+versions I use for > each release in case someone in the future wants to reproduce an ancient > release tarball? SPDX seems to be the standard SBOM format

Re: libcurl and s3/minio

2024-03-26 Thread Dan Fandrich via curl-library
On Tue, Mar 26, 2024 at 03:16:31PM -0600, R C via curl-library wrote: > btw; you mentioned : "curl versions since 7.75.0 have AWS signature > calculation > built-in, with the > > --aws-sigv4 option." > > is there something similar, a function, in libcurl? --libcurl tells me it's

Re: libcurl and s3/minio

2024-03-26 Thread Dan Fandrich via curl-library
On Tue, Mar 26, 2024 at 02:17:10PM -0600, R C via curl-library wrote: > > >     -H "Host: $URL" \ > > This is seldom needed because curl adds it on its own. > without it the script doesn't work with minio [...] > > >     ${PROTOCOL}://$URL${MINIO_PATH} I don't know what minio is, but looking at

Re: libcurl and s3/minio

2024-03-26 Thread Dan Fandrich via curl-library
On Tue, Mar 26, 2024 at 11:36:07AM -0600, R C via curl-library wrote: > I am trying to find out how to write something, using libcurl, to do some io > with a minio object store (s3 compatible) > > I did go a bit through the examples page (some I have used as een example for > other projects), but

Re: [gphoto-devel] gphoto2 auto detect errors

2024-03-13 Thread Dan Fandrich
On Wed, Mar 13, 2024 at 08:55:30PM +, david farrell wrote: > Hi I am having some problems with gphoto2 auto detect errors, hope someone can > help. > > 1. gphoto auto detect error :[ 'Model Port ' , ' _ _ _ _ _ _ _' ] > 2. gphoto - - auto detect error : Command ' gphoto - - auto detect '

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-01-30 Thread Dan Fandrich via curl-library
Is the code calling curl_global_cleanup() before checking for leaks? Does this happen on the latest curl releae (8.5.0)? -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html

Re: HTTP header validation

2024-01-29 Thread Dan Fandrich via curl-library
On Mon, Jan 29, 2024 at 08:59:03PM +, Stephen Booth via curl-library wrote: > I eventually tracked the problem down to the bearer token being passed > having an extra newline inserted at the end. This was copied through to > the http request (adding a blank line and making the server ignore

Re: Seek problem with curl_formadd with CURLFORM_STREAM

2024-01-29 Thread Dan Fandrich via curl-library
On Mon, Jan 29, 2024 at 07:33:59PM +, Jeff Mears via curl-library wrote: > I have code that’s attempting to use CURLFORM_STREAM with curl_formadd, and it > is getting a CURLE_SEND_FAIL_REWIND error from the library. > > Looking at the libcurl code, it looks like it might be a bug, but it’s

Re: CURL_FTP_HTTPSTYLE_HEAD

2024-01-18 Thread Dan Fandrich via curl-library
On Wed, Jan 17, 2024 at 03:28:11PM +0100, Nejc Drašček via curl-library wrote: > I'm using ftp library ( github.com/embeddedmz/ftpclient-cpp ), which under > the hood uses libcurl, and some requests are "polluting" stdout with http > headers: > > Last-Modified: Mon, 15 Jan 2024 14:32:44 GMT >

Re: problem with unpaused connection

2024-01-18 Thread Dan Fandrich via curl-library
On Thu, Jan 18, 2024 at 01:46:34PM +0300, Sergey Bronnikov via curl-library wrote: > Before Curl version 8.4.0 everything worked fine (exactly with Curl 8.3.0), > but after updating Curl to 8.4.0 in our HTTP client Have you tried 8.5.0? There have been some important HTTP/2 changes since that

Re: CURL_FTP_HTTPSTYLE_HEAD

2024-01-17 Thread Dan Fandrich via curl-library
On Wed, Jan 17, 2024 at 03:28:11PM +0100, Nejc Drašček via curl-library wrote: > I'm using ftp library ( github.com/embeddedmz/ftpclient-cpp ), which under > the hood uses libcurl, and some requests are "polluting" stdout with http > headers: > > Last-Modified: Mon, 15 Jan 2024 14:32:44 GMT >

Re: Experimenting with parallel tests on Debian

2024-01-12 Thread Dan Fandrich via curl-library
On Thu, Jan 11, 2024 at 10:44:42AM -0300, Samuel Henrique via curl-library wrote: > I have recently pushed an experimental build of curl with parallel test > execution on Debian. This was done with the hopes of helping reporting issues > and understanding if it's feasible to enable it for

Re: [gphoto-devel] I have a suggestion for gphoto2

2023-12-28 Thread Dan Fandrich
On Tue, Dec 26, 2023 at 09:07:34PM +, dan b wrote: > Has canon 1300d / t6b compatibility  It should work fine over USB. > I was wonder/ would like to see the RPI 3B etc.. > > To connect either wirelessly through Bluetooth or > > Through HDMI Wirelessly through HDMI? I'm not sure how

[akregator] [Bug 477891] Digest authentication failure

2023-12-16 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 --- Comment #5 from Dan Fandrich --- For the record, the Qt issue seems to be https://bugreports.qt.io/browse/QTBUG-98280 -- You are receiving this mail because: You are the assignee for the bug.

[akregator] [Bug 477891] Digest authentication failure

2023-12-16 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 --- Comment #5 from Dan Fandrich --- For the record, the Qt issue seems to be https://bugreports.qt.io/browse/QTBUG-98280 -- You are receiving this mail because: You are watching all bug changes.

[akregator] [Bug 477891] Digest authentication failure

2023-12-16 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 Dan Fandrich changed: What|Removed |Added Resolution|--- |UPSTREAM Status|REPORTED

[akregator] [Bug 477891] Digest authentication failure

2023-12-16 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 Dan Fandrich changed: What|Removed |Added Resolution|--- |UPSTREAM Status|REPORTED

Re: Empty file name in CURLOPT_COOKIEFILE optimization

2023-12-13 Thread Dan Fandrich via curl-library
On Wed, Dec 13, 2023 at 09:49:07PM +, Dmitry Karpov via curl-library wrote: > I propose to add a simple check for the cookie file name length and call > fopen() only if it is greater than zero like: Sounds reasonable. >if(data) { > FILE *fp = NULL; > -if(file) { > +if(file

Re: Callback after http request has been submitted

2023-12-07 Thread Dan Fandrich via curl-library
On Thu, Dec 07, 2023 at 08:02:04PM +0100, Jeroen Ooms via curl-library wrote: > I am looking for a way in libcurl to trigger a callback once, after a > http request has been completely submitted (including upload if any), > but before the server has responded. So basically when we have done > our

[akregator] [Bug 477891] Digest authentication failure

2023-12-02 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 --- Comment #3 from Dan Fandrich --- Unfortunately, my server isn't public. I could probably come up with a dockerfile to run a local server if you'd like. -- You are receiving this mail because: You are the assignee for the bug.

[akregator] [Bug 477891] Digest authentication failure

2023-12-02 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 --- Comment #3 from Dan Fandrich --- Unfortunately, my server isn't public. I could probably come up with a dockerfile to run a local server if you'd like. -- You are receiving this mail because: You are watching all bug changes.

[akregator] [Bug 477891] Digest authentication failure

2023-12-01 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 --- Comment #1 from Dan Fandrich --- One thing I just noted: the other clients respond with 64 hexadecimal characters (i.e. 256 bits) in the "response" field of the Authorization: header, but akregator responds with 32 hex bytes (i.e

[akregator] [Bug 477891] Digest authentication failure

2023-12-01 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 --- Comment #1 from Dan Fandrich --- One thing I just noted: the other clients respond with 64 hexadecimal characters (i.e. 256 bits) in the "response" field of the Authorization: header, but akregator responds with 32 hex bytes (i.e

[akregator] [Bug 477891] New: Digest authentication failure

2023-12-01 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 Bug ID: 477891 Summary: Digest authentication failure Classification: Applications Product: akregator Version: 5.24.3 Platform: Flatpak OS: Linux Status: REPORTED

[akregator] [Bug 477891] New: Digest authentication failure

2023-12-01 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477891 Bug ID: 477891 Summary: Digest authentication failure Classification: Applications Product: akregator Version: 5.24.3 Platform: Flatpak OS: Linux Status: REPORTED

[akregator] [Bug 477889] New: Cannot access password-protected feeds

2023-12-01 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477889 Bug ID: 477889 Summary: Cannot access password-protected feeds Classification: Applications Product: akregator Version: 5.24.3 Platform: Flatpak OS: Linux Status:

[akregator] [Bug 477889] New: Cannot access password-protected feeds

2023-12-01 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=477889 Bug ID: 477889 Summary: Cannot access password-protected feeds Classification: Applications Product: akregator Version: 5.24.3 Platform: Flatpak OS: Linux Status:

Re: systemd-resolved support

2023-11-24 Thread Dan Fandrich via curl-library
On Fri, Nov 24, 2023 at 08:25:05PM +0100, Max Kellermann via curl-library wrote: > For the long term, I was wondering whether libcurl would be interested > in incorporating a systemd-resolved mode if I were to submit a pull > request. Wouldn't it work to simply switch to c-ares for resolving

Re: How to identify that extensions are not supported on SFTP server? [libcurl]

2023-11-22 Thread Dan Fandrich via curl-library
On Wed, Nov 22, 2023 at 07:26:15PM +, Nimit Dhulekar via curl-library wrote: > We have been using statvfs as a CURLOPT_QUOTE command via libcurl to identify > whether the entry on the SFTP server is a file or folder. Is there any way to > know in advance (preferably through libcurl) that a

Re: [gphoto-devel] Support for Canon PowerShot G5X Mark II

2023-10-31 Thread Dan Fandrich
On Tue, Oct 31, 2023 at 08:29:54PM +0100, Jens Lieder wrote: > Hello I own a Canon PowerShot G5X Mark II > > I tried to use it for a photo booth, but it seems not to be supported.  May be > it will be supported in future. According to http://gphoto.org/doc/remote/, it is supported. > *** Error

Re: Fwd: Adding IPFS Trustless Gateway Protocol Questions

2023-10-26 Thread Dan Fandrich via curl-library
On Thu, Oct 26, 2023 at 03:42:34PM +0200, Hugo Valtier via curl-library wrote: > Instead of using the Path Gateway it uses the Trustless Gateway which > answers with a stream of blocks and walks the merkle-tree, verifies > hashes and deserializes it on the fly. > This would make curl or libcurl

Re: "getaddrinfo() thread failed to start" under heavy load

2023-10-17 Thread Dan Fandrich via curl-library
On Tue, Oct 17, 2023 at 12:29:55PM +, m brandenberg via curl-library wrote: > On Mon, 16 Oct 2023, Matt Toschlog via curl-library wrote: > > I'm using libcurl in a voice server app running on Ubuntu 20.04 on an > > Amazon AWS EC2 instance.  When I get around 500 users on the system I > > start

Re: Test server SSL handshake using libcurl

2023-10-06 Thread Dan Fandrich via curl-library
On Fri, Oct 06, 2023 at 02:54:22PM +, Taw via curl-library wrote: > Hi, I am trying to use libcurl to test a handshake with an internal server. > Unfortunately GET/HEAD methods do no work, I get 404 error from the server. > Practically I would like the cURL equivalent of this command: "openssl

Re: Handling Cloudfare issues

2023-09-26 Thread Dan Fandrich via curl-library
On Tue, Sep 26, 2023 at 11:29:16PM +0200, Mac-Fly via curl-library wrote: > To rant a little: I don't now whats wrong with the internet these days > and why such checks are required at all. I am sure they break a lot of > applications like mine! (Rant off.) You're preaching to the choir here. >

Re: 8.3.0: test1474 fails every time

2023-09-23 Thread Dan Fandrich via curl-library
On Sat, Sep 23, 2023 at 08:16:42PM +0200, Christian Weisgerber via curl-library wrote: > So in the end this regress test is built on assumptions and is > therefor non-portable and prone to fail. That basically verifies my guess as to what was happening. Thanks for following up on this. Dan

Re: curl_multi_perform creates new thread

2023-09-21 Thread Dan Fandrich via curl-library
On Thu, Sep 21, 2023 at 12:08:33PM -0400, Anass Meskini via curl-library wrote: > Thanks Dan for the clarification.  > I think it might be worth mentioning in the doc that this function might > create > a thread. It is called the "threaded resolver" after all, and that name is found in 8

Re: curl_multi_perform creates new thread

2023-09-20 Thread Dan Fandrich via curl-library
On Wed, Sep 20, 2023 at 09:11:32PM -0400, Anass Meskini via curl-library wrote: > I compiled curl from the github repository with --with-openssl then I compiled > multi-app.c. > When I run the program in gdb and add a breakpoint for pthread_create I see: curl will use the threaded resolver option

Re: 8.3.0: test1474 fails every time

2023-09-19 Thread Dan Fandrich via curl-library
On Tue, Sep 19, 2023 at 01:47:45PM +0200, Daniel Stenberg wrote: > Maybe we should consider adding a way to > disable/enable tests based on the OS name where it runs? There's already the "win32" feature for that platform since it's needed often because of its "special" behaviour. For

Re: 8.3.0: test1474 fails every time

2023-09-19 Thread Dan Fandrich via curl-library
On Mon, Sep 18, 2023 at 01:13:34PM +0200, Christian Weisgerber via curl-library wrote: > Dan Fandrich: > > I wanted to try this patch on NetBSD to see if it's related > > to Nagle's algorithm, but couldn't get to the point where I could try it: > > > -http://%HOSTIP:%HTTP

Re: libcurl usage - memory error

2023-09-18 Thread Dan Fandrich via curl-library
On Mon, Sep 18, 2023 at 09:26:36AM -0400, Anass Meskini via curl-library wrote: > When I run my program in valgrind, I see memory errors. What am I doing wrong? Both these instances occur in GnuTLS, which deliberately uses some undefined memory in its operation. It has code to mark these areas as

Re: 8.3.0: test1474 fails every time

2023-09-17 Thread Dan Fandrich via curl-library
On Sun, Sep 17, 2023 at 10:43:17PM +0200, Christian Weisgerber via curl-library wrote: > The comment for test1474 says "This test is quite timing dependent and > tricky to set up." On OpenBSD, it fails every time for me. And this > is not an overloaded machine. I've noticed failures on the

Re: LibSSH2 password expire issue

2023-09-08 Thread Dan Fandrich via libssh2-devel
On Thu, Sep 07, 2023 at 01:18:51PM +0600, Amirul Islam via libssh2-devel wrote: > I am having a little problem, I checked around online, but could not find a > reasonable explanation. I am trying to authenticate a session with a linux > box. The user password is expired, but the functions >

Re: Curl Configuration Weirdness for libz.a

2023-09-01 Thread Dan Fandrich via curl-library
On Fri, Sep 01, 2023 at 01:53:27PM -0400, rsbec...@nexbridge.com wrote: > Slight change, please. The i386 should be x86 (and eventually x86_64 when I > get the 64-bit builds working). i386 is a historical tag that basically means 32-bit Intel x86 architecture these days. We should probably

Re: Curl Configuration Weirdness for libz.a

2023-08-31 Thread Dan Fandrich via curl-library
On Thu, Aug 31, 2023 at 01:50:07PM -0400, rsbec...@nexbridge.com wrote: > On Thursday, August 31, 2023 1:41 PM, Dan Fandrich wrote: > >On Thu, Aug 31, 2023 at 11:09:58AM -0400, Jeffrey Walton via curl-library > wrote: > >> I think you should change strategies. You sho

Re: Curl Configuration Weirdness for libz.a

2023-08-31 Thread Dan Fandrich via curl-library
On Thu, Aug 31, 2023 at 11:09:58AM -0400, Jeffrey Walton via curl-library wrote: > I think you should change strategies. You should use sed to change > references from -lz to libz.a (and friends). While that would work, devs shouldn't need to do this. curl's configure is simply doing the wrong

Re: Curl Configuration Weirdness for libz.a

2023-08-30 Thread Dan Fandrich via curl-library
On Wed, Aug 30, 2023 at 06:08:38PM -0400, rsbec...@nexbridge.com wrote: > Unfortunately, the packaging team for the platform did not help on this one. > zlib.h is in the /usr/coreutils/include directory, the zlib.a, zlib.so, > zlib.so.1.2.11 are in /usr/coreutils/lib (which collide). The zlib.pc

Re: Curl Configuration Weirdness for libz.a

2023-08-30 Thread Dan Fandrich via curl-library
On Wed, Aug 30, 2023 at 05:03:34PM -0400, rsbec...@nexbridge.com wrote: > Actually, there is no libtool on the platform, so upgrading will be > difficult. No LIB, INCLUDES, or other compile-related environment variables. Then it will be using the built-in libtool, which should be fairly recent.

Re: Curl Configuration Weirdness for libz.a

2023-08-30 Thread Dan Fandrich via curl-library
On Wed, Aug 30, 2023 at 03:27:34PM -0400, Randall via curl-library wrote: > ln: failed to create hard link '.libs/libcurl.lax/lt1-libz.a' => > '/usr/coreutils/lib/libz.a': Cross-device link This looks like a bad assumption on the part of libtool that a hard link is possible. I don't know why it's

Re: Adding a new --option to the tool

2023-08-28 Thread Dan Fandrich via curl-library
On Mon, Aug 28, 2023 at 08:11:14PM +0300, Florents Tselai via curl-library wrote: > Is there any documentation / how to on the process I’d need to follow to add a > new option to the tool ? > Particularly the sequence of files / function / macros I’d need to There are lots of documentation in

Re: Cirrus CI limiting free compute time

2023-08-22 Thread Dan Fandrich via curl-library
On Tue, Aug 22, 2023 at 04:06:17PM +0200, Jimmy Sjölund via curl-library wrote: > Considering that Cirrus CI lists curl and use the logo on their first page I didn't notice that before! Usually, it's the companies that pay to show up on the curl sponsors page. curl has become such a trusted

Cirrus CI limiting free compute time

2023-08-21 Thread Dan Fandrich via curl-library
The curl Cirrus CI pages now link[1] to a notice that they're limiting their free CI tier starting next week. The new limit will be "50 compute credits" per month, which seems to buy us about 260 hours of compute time. Unfortunately, curl has been using about 6000 hours of compute time per month

Re: NSS and gskit are getting the axe

2023-07-18 Thread Dan Fandrich via curl-library
On Wed, Jul 19, 2023 at 12:30:02AM +0200, Patrick Monnerat via curl-library wrote: > No tests on OS400: would need perl among other features. These are available > under PASE which is an AIX emulation, but certainly not native OS400. If the tests won't even run there, then maybe you can convince

Re: Ajuda com instalação AutoGPT -Library não carrega

2023-07-08 Thread Dan Fandrich via curl-library
On Sat, Jul 08, 2023 at 08:18:26PM +, Ligya Fernandes via curl-library wrote: > Desde já agradeço a ajuda, Dan! Você sabe onde eu posso encontrar uma > biblioteca libcurl que seja compatível? Pode me indicar o local, por meio de > um > link, se não for pedir muito? My point is that you

Re: Ajuda com instalação AutoGPT -Library não carrega

2023-07-08 Thread Dan Fandrich via curl-library
On Fri, Jul 07, 2023 at 08:21:33PM +, Ligya Fernandes via curl-library wrote: > Fatal: failed to load library "libcurl -4.dll This is an indication that your git installation is corrupt. Whatever way you installed git should have also installed a compatible libcurl library. Dan --

Bug#1038608: rust-coretuils: FTBFS: error: no matching package named `remove_dir_all` found

2023-06-19 Thread Dan Fandrich
This dependency was removed upstream in v0.0.18 (and v0.0.19).

Bug#1038608: rust-coretuils: FTBFS: error: no matching package named `remove_dir_all` found

2023-06-19 Thread Dan Fandrich
This dependency was removed upstream in v0.0.18 (and v0.0.19).

Re: Goal: for every setopt, have at least one stand-alone example

2023-06-09 Thread Dan Fandrich via curl-library
On Fri, Jun 09, 2023 at 10:35:45AM +0200, Daniel Stenberg via curl-library wrote: > The idea is simple: for every existing option we have to curl_easy_setopt(), > there should be at least one full-size stand-alone example (in > docs/examples/) showing how it could be used. This would be really

Re: Parallel curl tests

2023-06-08 Thread Dan Fandrich via curl-library
On Thu, Jun 08, 2023 at 05:40:04PM +0200, Daniel Stenberg via curl-library wrote: > Just a few days ago, Dan Fandrich merged the necessary commits into master > that now lets us try out running the curl tests in parallel as compared to > the old serial way. It's been a long road of re

Re: multi interface with hsts cache

2023-05-29 Thread Dan Fandrich via curl-library
On Mon, May 29, 2023 at 11:41:04PM +0200, Przemysław Sobala via curl-library wrote: > If I understand the documentation correctly, the HSTS cache is applied to each > curl easy handle and it's read and written on each easy handle open and close > action. > I'd like to use the in-memory cache as

Re: WebSocket custom port name as in JavaScript websockets

2023-05-25 Thread Dan Fandrich via curl-library
On Thu, May 25, 2023 at 05:23:58PM +0200, Johny Bravo via curl-library wrote: > I have tried websocket API, but I cannot get it working and receive message. > If I use the ws in JavaScript, I have: > > var socket = new WebSocket( "wss://some_url", "example"); > > However, I dont know, how to set

Re: curl tests now use perl module Memoize.pm

2023-05-17 Thread Dan Fandrich via curl-library
On Wed, May 17, 2023 at 09:48:39AM +0200, Rainer Jung via curl-library wrote: > I just wanted to note, that the test suite now uses the perl module > Memoize.pm. That module is contained in the perl base package eg. for RHEL > 7, but for RHEL 8 must be installed as perl-Memoize. I had assumed

Re: Progress meter always there

2023-04-19 Thread Dan Fandrich via curl-library
On Wed, Apr 19, 2023 at 01:26:13PM +, Arnaud Compan via curl-library wrote: > Is there a way to silence the internal progress meter ? There's an opt for that: CURLOPT_NOPROGRESS -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette:

Re: Help using libcurl with HTTP proxy on Android device

2023-04-12 Thread Dan Fandrich via curl-library
On Wed, Apr 12, 2023 at 03:08:02PM -0700, David Castillo via curl-library wrote: > What permissions does OpenSSL need to read the certificates? I'm guessing the app would need the READ_EXTERNAL_STORAGE permission. -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette:

Re: curl/openssl crash

2023-03-24 Thread Dan Fandrich via curl-library
On Fri, Mar 24, 2023 at 05:45:18PM +, Philippe Lefebvre via curl-library wrote: > we are having some crashes when using CURL library. We are in mutltithreaded > environment, and in these crashes mostly happend on heavy/loaded process (lots > of data, lots of Get/Post requests). The first

Re: Parallel curl testing project

2023-03-23 Thread Dan Fandrich via curl-library
On Thu, Mar 23, 2023 at 01:24:18PM -0400, Jeffrey Walton wrote: > You can run particular self tests rather than the entire test suite. The problem is, I'm changing the test suite itself so I need to run everything to get a better chance of hitting the edge cases. Stefan is similarly working on

Re: Parallel curl testing project

2023-03-23 Thread Dan Fandrich via curl-library
On Thu, Mar 23, 2023 at 08:57:20AM +0100, Stefan Eissing wrote: > very happy that you will work on this. I like to run the test suite locally > before a large push and the time it takes on my machine is around 10 minutes. > I'd very much appreciate that to go down! I've been hit pretty hard

Re: On more stable curl releases

2023-03-22 Thread Dan Fandrich via curl-library
On Wed, Mar 22, 2023 at 04:10:32PM -0700, bch via curl-library wrote: > This is a curl binary, or a release tarball The daily tar balls are available at https://curl.se/snapshots/ > (how much processing *does* go on > from a repo checkout -> curl-x.y.z.tar.gz?)? I think it's just running

Parallel curl testing project

2023-03-22 Thread Dan Fandrich via curl-library
want to follow along. Dan Fandrich [1]: https://curl.se/dashboard1.html#tests [2]: https://curl.se/mail/lib-2018-10/0004.html [3]: https://github.com/curl/curl/pull/5247 [4]: https://github.com/curl/curl/files/11023995/curl.parallel.testing.proposal.pdf [5]: https://github.com/curl/curl/issues/

Re: On more stable curl releases

2023-03-22 Thread Dan Fandrich via curl-library
On Wed, Mar 22, 2023 at 09:17:48AM +0100, Daniel Stenberg via curl-library wrote: > So, how about this for adjusted release cycle and release management: > > - Increase the post-release ("cool down") margin before we open the feature >window. We currently have it 5 days, we could double it

Re: On more stable curl releases

2023-03-21 Thread Dan Fandrich via curl-library
On Tue, Mar 21, 2023 at 12:40:28PM -0400, Timothe Litt via curl-library wrote: I expect that with frequent patch releases, curl would end up in the situation of most M$ releases whose strategy is- "wait for the other people to find the bugs and only take the nth patch release."  And with fewer

Re: On more stable curl releases

2023-03-21 Thread Dan Fandrich via curl-library
On Wed, Mar 22, 2023 at 12:10:56AM +0100, Daniel Stenberg wrote: BTW, "regression" is just another word for "test coverage gap", since if we had tested the thing we would've detected the problem and the bug would not have been shipped. It is important that we learn from the regressions and

On more stable curl releases

2023-03-21 Thread Dan Fandrich via curl-library
curl .1 release is (practically) always strictly better than anything that preceded it so people can upgrade from a .0 release without thinking, and those who are looking to maximize stability can just wait for the .1 (or timeout waiting). Dan Fandrich -- Unsubscribe: https://lists.haxx.se/mailman/

Re: Drop support for building with mingw v1?

2023-03-02 Thread Dan Fandrich via curl-library
On Thu, Mar 02, 2023 at 05:51:07PM +0100, Daniel Stenberg via curl-library wrote: > Today I fell into an issue with PR #10651 where everything builds fine, > execpt on Windows with mingw v1. > > There's really nothing unusual with that while working on a PR, but this > time it struck that I

Re: CURLOPT_XOAUTH2_BEARER use?

2023-02-20 Thread Dan Fandrich via curl-library
On Tue, Feb 21, 2023 at 03:19:12AM +, Matthew Bobowski wrote: > No cast is necessary. > > #define CURLAUTH_BEARER (((unsigned long)1)<<6) Ah, good. Many of the other contants (like CURLSSH_AUTH_* and CURLFTPAUTH_*) *do* need that cast. -- Unsubscribe:

Re: CURLOPT_XOAUTH2_BEARER use?

2023-02-20 Thread Dan Fandrich via curl-library
On Tue, Feb 21, 2023 at 03:01:53AM +, Matthew Bobowski via curl-library wrote: > c = curl_easy_setopt(pCurl, CURLOPT_HTTPAUTH, CURLAUTH_BEARER); Don't forget to cast this to a long; this makes a difference in some environments. Dan -- Unsubscribe:

Re: Roadmap 2023 ? -- Enhance security of curl's release

2023-02-09 Thread Dan Fandrich via curl-library
On Thu, Feb 09, 2023 at 05:14:12PM +0100, Daniel Stenberg via curl-library wrote: > On Thu, 9 Feb 2023, Diogo Sant'Anna via curl-library wrote: > > Checking https://curl.se/dev/release-procedure.html, it seems the > > project's release is still managed manually. Have you considered > > migrating

Re: Close sockets asynchronously when using libdispatch (GCD)

2023-01-31 Thread Dan Fandrich via curl-library
On Tue, Jan 31, 2023 at 09:58:13AM +0100, Frederik Seiffert wrote: > Could you please explain what you mean by "compiling with a different > resolver"? I didn’t see any build options like that. Do you maybe mean > building with "CURL_DISABLE_SOCKETPAIR"? I mean using the

Re: HTTP/2 PING : how can execute curl_easy_perform function only to connect to the server side

2023-01-18 Thread Dan Fandrich via curl-library
Are you looking for CURLOPT_CONNECT_ONLY? -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html

Re: Close sockets asynchronously when using libdispatch (GCD)

2023-01-16 Thread Dan Fandrich via curl-library
On Mon, Jan 16, 2023 at 04:30:48PM +0100, Frederik Seiffert via curl-library wrote: > When receiving CURL_POLL_REMOVE, I call dispatch_source_cancel() [2] to stop > the dispatch source. As this is done asynchronously, it is required to wait > for the cancellation handler before closing the

Re: Accidental debug-enabled version

2023-01-11 Thread Dan Fandrich via curl-library
On Wed, Jan 11, 2023 at 02:24:57PM +0100, Daniel Stenberg via curl-library wrote: > Like this: > > $ curl -V > WARNING: this libcurl is Debug-enabled, do not use in production Writing the same thing as the first line of -v output would double the chance it's actually seen. -- Unsubscribe:

Re: Time to deprecate gskit

2023-01-06 Thread Dan Fandrich via curl-library
On Fri, Jan 06, 2023 at 01:44:48PM -0400, Calvin Buckley via curl-library wrote: > - I have capacity on a shared system intended for open source > development. I should be able to set up some kind of CI runner here. > The very annoying part is Go isn't supported (bar an experimental >

[tellico] [Bug 463717] New: Internet Search on IMDB always returns a single, bogus result with Title "Find - IMDb" and nothing else

2023-01-02 Thread Dan Fandrich
https://bugs.kde.org/show_bug.cgi?id=463717 Bug ID: 463717 Summary: Internet Search on IMDB always returns a single, bogus result with Title "Find - IMDb" and nothing else Classification: Applications Product: tellico Version:

Re: verbose Log from libcurl to a file

2022-12-30 Thread Dan Fandrich via curl-library
On Fri, Dec 30, 2022 at 05:24:46PM +, Samantray Bhuyan, Madhusudan (GE Digital) via curl-library wrote: > How to I redirect libcurl verbose output to a log file . I found https:// > stackoverflow.com/questions/38720602/ > getting-verbose-information-from-libcurl-to-a-file but the log file is

Re: option to disallow IDN ?

2022-12-16 Thread Dan Fandrich via curl-library
On Fri, Dec 16, 2022 at 01:18:12PM -0500, Timothe Litt via curl-library wrote: > And/or the callback registration could specify "all domain names", "Just IDN" > - The browsers (at least Firefox) do something subtle but pretty useful for avoiding spoofing. Based on the name registration policies

Re: credentials in memory

2022-11-19 Thread Dan Fandrich via curl-library
On Fri, Sep 30, 2022 at 09:43:39AM +0200, Daniel Stenberg via curl-library wrote: > libcurl hold credentials (passwords for servers and proxies) in memory in > clear text, potentially for a long time. If something goes wrong and that > memory is accessed by an external party, things would be bad.

Re: Slow Performance with libcurl when changing Ip Address

2022-11-01 Thread Dan Fandrich via curl-library
On Tue, Nov 01, 2022 at 08:42:45PM +0800, frankfreak via curl-library wrote: curl 7.70.0 (x86_64-pc-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/ 1.28 libssh2/1.8.0 You're using mismatched versions—an over 2-year-old CLI (ver. 7.70.0) with an almost 10-year-old library (ver.

Re: Tgz file is not copying properly

2022-10-28 Thread Dan Fandrich via libssh2-devel
On Fri, Oct 28, 2022 at 12:54:55PM +0530, Gautham Kumar via libssh2-devel wrote: > We have a device using curl with the libssh2 to copy some files from the > device > to the server. When I try to use the curl with SCP option the file gets > corrupted. This issue happens only with SCP on curl. Is

Re: [RELEASE] curl 7.86.0

2022-10-26 Thread Dan Fandrich via curl-library
On Wed, Oct 26, 2022 at 10:26:40AM -0400, Randall via curl-library wrote: > If we build under 64-bit, which is scheduled later in the > year, then there is no need to override the defaults. Do you want a PR for > this? Keep in mind that this will cause an ABI break on this platform. --

Re: On CURLOPT_AUTOREFERER privacy

2022-10-17 Thread Dan Fandrich via curl-library
On Mon, Oct 17, 2022 at 04:34:05PM +0200, Daniel Stenberg via curl-library wrote: > On Mon, 17 Oct 2022, Timothe Litt via curl-library wrote: > > > > My initial PR for this work: https://github.com/curl/curl/pull/9750 > > > > > Why change the default behavior? > > For improved privacy. Because

Re: Undefined reference of a new libcurl function

2022-10-13 Thread Dan Fandrich via curl-library
On Thu, Oct 13, 2022 at 08:46:20AM +, Arnaud Compan via curl-library wrote: > In details, I've added the function in lib/multi.c: > void my_test(struct Curl_easy *data) > { > } > And in include/curl/multi.h: > CURL_EXTERN void my_test(CURL *curl_handle);

Re: App fails when rebuilt with newer library, but only when MTU is small

2022-09-29 Thread Dan Fandrich via curl-library
On Thu, Sep 29, 2022 at 09:58:58PM +, Mark Fanara wrote: >> Some servers have an issue with 100-continue, and I don't recall which >> version >> of libcurl enabled it by default. You could try disabling it and see what >> happens. It theoretically shouldn't have anything to do with MTU,

Re: App fails when rebuilt with newer library, but only when MTU is small

2022-09-29 Thread Dan Fandrich via curl-library
On Thu, Sep 29, 2022 at 08:05:00PM +, Mark Fanara wrote: > Sorry if my response is not per best practices as far as formatting goes. I > will respond to a number of your questions here rather than inline. See https://curl.se/mail/etiquette.html#Do_Not_Top_Post > As to MTU - I of course

Re: App fails when rebuilt with newer library, but only when MTU is small

2022-09-29 Thread Dan Fandrich via curl-library
On Thu, Sep 29, 2022 at 01:58:23PM +, Mark Fanara via curl-library wrote: > Recently the device vendor updated the OS image to Debian Buster. The subject of this message doesn't match this line. If it's an OS upgrade that happened, then it's much more than just a newer libcurl that's

Re: [EXTERNAL] Re: Feature request: provide ability to set a global callback function telling libcurl if IPv6 works on the system

2022-09-23 Thread Dan Fandrich via curl-library
On Thu, Sep 22, 2022 at 11:48:58PM +, Dmitry Karpov via curl-library wrote: > And for me the biggest problem is that I just can't change the code of > certain curl-based components used in my application. > They are written by some other developers and closed for any modifications. That is

Re: [EXTERNAL] Re: Feature request: provide ability to set a global callback function telling libcurl if IPv6 works on the system

2022-09-21 Thread Dan Fandrich via curl-library
On Wed, Sep 21, 2022 at 06:21:08PM -0700, Dan Fandrich wrote: > On Thu, Sep 22, 2022 at 12:24:57AM +, Dmitry Karpov via curl-library > wrote: > > > If Curl_ipv6works() were not called in the CURL_IPRESOLVE_V6 case, would > > > that solve the issues that are remaining

Re: [EXTERNAL] Re: Feature request: provide ability to set a global callback function telling libcurl if IPv6 works on the system

2022-09-21 Thread Dan Fandrich via curl-library
On Thu, Sep 22, 2022 at 12:24:57AM +, Dmitry Karpov via curl-library wrote: > > If Curl_ipv6works() were not called in the CURL_IPRESOLVE_V6 case, would > > that solve the issues that are remaining? > > Your question was: > "So, if libcurl eliminated that call in the CURL_IPRESOLVE_V4 case,

  1   2   3   4   5   6   7   8   9   10   >