Re: The application does not have to keep the string around after setting this option

2023-04-20 Thread Timothe Litt via curl-library
On 20-Apr-23 07:01, Andreas Falkenhahn via curl-library wrote: On 20.04.2023 at 12:31 Timothe Litt via curl-library wrote: If there are any cases where the string is not copied and must be retained, the documentation should say so explicitly. +1 To make matters more confusing, I've also

Re: The application does not have to keep the string around after setting this option

2023-04-20 Thread Patrick Monnerat via curl-library
On 4/20/23 12:31, Timothe Litt via curl-library wrote: On 20-Apr-23 05:24, Frank Gevaerts via curl-library wrote: On Wed, Apr 19, 2023 at 06:47:42PM +0200, Andreas Falkenhahn via curl-library wrote: Many manpages of curl options that take a string say: "The application does not have to

Re: The application does not have to keep the string around after setting this option

2023-04-20 Thread Henrik Holst via curl-library
luckily the man page for CURLOPT_POSTFIELDS already contains that info: The data pointed to is NOT copied by the library: as a consequence, it must be preserved by the calling application until the associated transfer finishes. This behaviour can be changed (so libcurl does copy

Re: The application does not have to keep the string around after setting this option

2023-04-20 Thread Andreas Falkenhahn via curl-library
On 20.04.2023 at 12:31 Timothe Litt via curl-library wrote: > If there are any cases where the string is not copied and must be > retained, the documentation should say so explicitly. +1 To make matters more confusing, I've also found this information: "There are currently over 80 options

Re: The application does not have to keep the string around after setting this option

2023-04-20 Thread Timothe Litt via curl-library
On 20-Apr-23 05:24, Frank Gevaerts via curl-library wrote: On Wed, Apr 19, 2023 at 06:47:42PM +0200, Andreas Falkenhahn via curl-library wrote: Many manpages of curl options that take a string say: "The application does not have to keep the string around after setting this option". Does this

Re: The application does not have to keep the string around after setting this option

2023-04-20 Thread Frank Gevaerts via curl-library
On Wed, Apr 19, 2023 at 06:47:42PM +0200, Andreas Falkenhahn via curl-library wrote: > Many manpages of curl options that take a string say: "The application does > not have to keep the string around after setting this option". Does this > imply that curl options which do NOT contain this

RE: Progress meter always there

2023-04-20 Thread Arnaud Compan via curl-library
> -Original Message- > From: curl-library On Behalf Of Dan > Fandrich via curl-library > Sent: Wednesday, April 19, 2023 5:39 PM > To: curl-library@lists.haxx.se > Cc: Dan Fandrich > Subject: Re: Progress meter always there > > External Email: Use caution in opening links or