Re: Above and beyond 32 protocols

2021-09-28 Thread Ray Satiro via curl-library
On 9/13/2021 7:01 AM, Daniel Stenberg via curl-library wrote: > A) If we drop the < 64 bit requirement (1), we can introduce > CURLOPT_PROTOCOLS_LARGE etc that use a (guaranteed) 64 bit type and we > double room for protocols, which should be enough for the forseeable > future. > > B) If we maintai

Re: A canonical URL host name dilemma

2021-10-10 Thread Ray Satiro via curl-library
On 10/10/2021 4:48 AM, Daniel Stenberg via curl-library wrote: > Stick to returning the name *un*-encoded by default in URLs and > introduce a new option that percents-encode the host name when the URL > is retrieved. > > This, to maintain the existing behavior to a larger extent. Parsing a > URL w

Re: libcurl 7.81.0 via homebrew on macOS clean up issues

2022-01-17 Thread Ray Satiro via curl-library
On 1/17/2022 4:06 PM, Gavin Henry via curl-library wrote: > I'm getting alternate failing tests (my own tests) on macOS with this from > lldb: > > Process 13623 stopped > * thread #1, queue = 'com.apple.main-thread', stop reason = > EXC_BAD_ACCESS (code=EXC_I386_GPFLT) > frame #0: 0x7fff33

Re: Curl 7.64.1 crash on MacOS.

2022-01-27 Thread Ray Satiro via curl-library
On 1/27/2022 12:45 PM, Frank Spano via curl-library wrote: > Our program is sending ~800 requests per minute, and experiencing > crashes every ~5 minutes. We verified that every CurlEasy handle is > allocated/deallocated properly (no nullptr after allocation, no double > frees happening). When enco

Re: Curl 7.64.1 crash on MacOS.

2022-01-27 Thread Ray Satiro via curl-library
On 1/27/2022 5:59 PM, Ray Satiro wrote: > You can bisect the issue. It just occurred to me you will actually have to do a reverse bisect, since you would be looking for when an issue was fixed not when it was broken. git bisect now has terms old and new for that. So for example curl-7_64_1 would

Re: infinite "easy_transfer function" wait loop

2022-02-07 Thread Ray Satiro via curl-library
On 2/7/2022 8:16 AM, Lilia Boneva via curl-library wrote: > The infinite loop problem showed again (after ~20hours running program in > debug). > > > > The html used is 1.1 default version (not sure how to use html/2 > libraries). The environment is single threaded static lib Win32 Visual > C++

Re: Too many calls to the write callback

2022-02-08 Thread Ray Satiro via curl-library
On 2/8/2022 12:42 PM, Henrik Holst via curl-library wrote: > > As you can see above recvfrom returns with 562 bytes and then I get 9 > calls to write_callback from that, so the chunking is not due to the > network transfer but happens inside curl. Due to the varying sizes > this is not due to hitti

Re: infinite "easy_transfer function" wait loop

2022-02-08 Thread Ray Satiro via curl-library
On 2/8/2022 2:32 AM, Lilia Boneva via curl-library wrote: > It seems I was not set google drive link properly. Now should be OK > (https://drive.google.com/file/d/1kdMSBS9fZPBW4WoMJ4qgHIeB01h46d4V/view?usp=sharing). > Also thank you for links and winsock info. > > I will try making working code t

Re: Not able to access rtsp stream

2022-02-27 Thread Ray Satiro via curl-library
On 2/27/2022 8:07 AM, VINEETH NAIR via curl-library wrote: > I am trying to access the following stream using > libcurl: rtsp://rtsp.stream/pattern . This is a public URL and I am > able to access it from a system located in America. But the same link > is not accessible from India. Is there any pa

Re: Not able to access rtsp stream

2022-02-28 Thread Ray Satiro via curl-library
On 2/28/2022 3:05 AM, VINEETH NAIR wrote: > yes, it's the exact same version. Following is the version that I am > using: > > curl 7.79.1 (Windows) libcurl/7.79.1 Schannel > Release-Date: 2021-09-22 > > Thanks > > Regards, > Vineeth Nair > > > On Mon,

Re: Not able to access rtsp stream

2022-02-28 Thread Ray Satiro via curl-library
On 2/28/2022 6:43 AM, VINEETH NAIR via curl-library wrote: > Hi, sorry about the top-posts. I am using libcurl version 7.79.1 and > the application is exactly the same in the machines in America and in > India. I used wireshark to monitor the packets and observed that the > rtsp stream gives a "OK"

Re: how to pass .crt file as CURLOPT

2022-02-28 Thread Ray Satiro via curl-library
On 2/28/2022 10:05 PM, Venkat Maddisetti via curl-library wrote: > > * connect to 192.168.11.200 port 3001 failed: Connection refused > > * Failed to connect to 192.168.11.200 port 3001: Connection refused > The cert file format isn't the only problem. The connection was refused. -- Unsubscribe:

Re: core dump on curl function call

2022-03-01 Thread Ray Satiro via curl-library
On 2/28/2022 1:42 AM, treesa fairy joseph via curl-library wrote: > Could not come back to this issue, for a while. Right now, back on this > problem. > The below shows the sample program which also generates the seg flt > > > > /

Re: connectimeout

2022-03-04 Thread Ray Satiro via curl-library
On 3/4/2022 10:08 AM, vin via curl-library wrote: > Would like to ask if it is possible to set a different connecttimeout for the > proxy connection vs the actual url connection. Would like to distinguish > between them, in some way. > > Incase of PHP > CURLOPT_URL > CURLOPT_PROXY > CURLOPT_C

Re: core dump on curl function call

2022-03-04 Thread Ray Satiro via curl-library
On 3/4/2022 5:35 AM, treesa fairy joseph wrote: > On Tue, Mar 1, 2022 at 2:00 PM Ray Satiro via curl-library > wrote: >> On 2/28/2022 1:42 AM, treesa fairy joseph via curl-library wrote: >> >> Could not come back to this issue, for a while. Right now, back on this >&g

Re: bug in configure?

2022-03-17 Thread Ray Satiro via curl-library
On 3/17/2022 11:38 AM, Robert Brose via curl-library wrote: > > --disable-tls-srp   Disable TLS-SRP authentication > > When building for gnutls as the SSL backend doesn't undefine: > HAVE_GNUTLS_SRP > > in the curl_config.h > > which causes a compile error for me. I need to correct that by hand

Re: How to diagnose the issue

2022-03-24 Thread Ray Satiro via curl-library
On 3/24/2022 2:11 PM, Shawn Cao via curl-library wrote: > I'm using curl lib in my C++ application, running on a Mac laptop, > here is what I saw, and looking for help on how to diagnose the root > cause.  > > *Version:* curl 7.79.1 (x86_64-apple-darwin21.0) libcurl/7.79.1 > (SecureTransport) Libre

Re: Protocol \ "https\" Not Supported or Disabled In Libcurl

2022-03-30 Thread Ray Satiro via curl-library
On 3/30/2022 3:08 PM, Garry I via curl-library wrote: > > I created a windows MFC application in VS-10 on a windows 7 machine to > obtain some financial information from Rapid API endpoint early last > year. It has been working fine, the typical URL for the request(s) was > simple: > > https://yh-f

Re: Protocol \ "https\" Not Supported or Disabled In Libcurl

2022-03-30 Thread Ray Satiro via curl-library
On 3/30/2022 3:55 PM, Garry I wrote: > I used the MS Visual studio IDE, it is what I am most familiar with. > Basically opened up curl-all.sln, and went from there. I suggest choose one of the project configurations that uses Windows SSPI and libcurl will use the Windows OS SSL library Schannel t

Re: How to pass additional flags to OPENSSL_init_ssl?

2022-04-07 Thread Ray Satiro via curl-library
On 4/7/2022 5:22 AM, 豪殷 via curl-library wrote: > We use curl 7.80.0 with openssl 3.0.2 in our environment, I wonder > what is the proper way to pass additional flags from global_init > to OPENSSL_init_ssl? > > Seems like some flags will be added in compile-time in ossl_init > function, but run tim

Re: Changes I had to make to libcurl sources for Windows mutual auth to work

2022-04-15 Thread Ray Satiro via curl-library
On 4/12/2022 5:56 PM, Tuomas Kaikkonen via curl-library wrote: > I had to comment out few lines that check Windows NT version number in > order to get curl mutual auth to work with 90m/CAC cards (Windows > certificates). > > Without this change, the curl would close TLS connection after sending > o

Re: Funds, server hosting and more

2022-05-18 Thread Ray Satiro via curl-library
On 5/13/2022 4:58 AM, Daniel Stenberg via curl-library wrote: > My plan is to charge the curl fund maybe 1,000 USD per month (on a > yearly basis), to cover for my expenses and work on server "stuff". > The amount is pretty arbitrarily picked out of the air and is meant to > be reasonable and cover

Re: Turning two command-line curl calls into c++, using libcurl

2022-05-24 Thread Ray Satiro via curl-library
On 5/23/2022 11:15 AM, J via curl-library wrote: > I'm trying to turn a (working) command-line call to curl into an > equivalent c++ program. Use option --libcurl filename.c and the curl tool will generate C code for libcurl. [1] [1]: https://curl.se/docs/manpage.html#--libcurl -- Unsubscribe

Re: Which PRs should we merge?

2022-05-25 Thread Ray Satiro via curl-library
On 5/24/2022 11:08 AM, Daniel Stenberg via curl-library wrote: > We have several pull requests in the queue that are in good shape for > inclusion, that I fear lack a *need* and *desire* from the community. > > I don't think we should adopt new features just because someone wrote > an excellent PR

Re: Which PRs should we merge?

2022-05-26 Thread Ray Satiro via curl-library
On 5/25/2022 4:01 AM, Daniel Stenberg wrote: > There are times when the PR seems fine and I'm on the fence about it. > I would prefer to have a more organized way to handle them. And a way > for everyone to find those PRs and chime in on them. > > Let me give you three current examples: Sure, I

Getting YOUR feedback on developing pull requests for curl

2022-05-28 Thread Ray Satiro via curl-library
On 5/25/2022 6:00 AM, Max Dymond via curl-library wrote: > Hi! > > I'm presenting at curl-up about Continuous Integration and developer > velocity, specifically related to submitting feature / pull requests to the > curl project itself on github. > > I want to hear from people with all levels of

Re: Loopback ip

2022-05-28 Thread Ray Satiro via curl-library
On 5/26/2022 10:37 AM, Александр Карелин via curl-library wrote: > I have one issue when use curl. After performing a http request I call > method curl_easy_get info with second parameter CURLINFI_LOCAL_IP. And > every time I get 127.0.0.1 as a result, but my server is on another > machine with n n

Re: Funds, server hosting and more

2022-06-15 Thread Ray Satiro via curl-library
On 5/18/2022 7:08 AM, Daniel Stenberg wrote: > On Wed, 18 May 2022, Ray Satiro via curl-library wrote: > >> I suggest figure out and then document what the actual expenses are >> and charge for that rather than an arbitrary amount. I'd guess donors >> won't

Re: Bug(?): problem with imap fetch CURLOPT_CUSTOMREQUEST

2022-06-22 Thread Ray Satiro via curl-library
On 6/15/2022 7:38 AM, Adrian Lewandowski via curl-library wrote: > When sending the following custom request to imap server: > >   curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, >                      "fetch 1 rfc822" >                   ); >                   > libcurl yields unexpected results pro

Re: Builds Option for Windows to use different builds folder?

2022-06-30 Thread Ray Satiro via curl-library
On 6/27/2022 5:56 AM, Christian Schmitz via curl-library wrote: > We may prefer to have the builds folder be somewhere else than inside the > curl function. > > We currently manually change MakefileBuild.vc and Makefile.vc to change > ../builds/ into something like C:/Temp/ > > Maybe we could hav

Re: rtsp mjpeg stream stops streaming in windows

2022-07-09 Thread Ray Satiro via curl-library
On 7/8/2022 9:39 AM, VINEETH NAIR via curl-library wrote: > I am using libcurl version 7.79.1. I have an application that uses > libcurl to connect to an IP camera with RTSP mjpeg stream. The > application reads the frames from the camera. > > The problem is, when I run this application in windows,

Re: Client side Authentication query with libcrul

2022-07-25 Thread Ray Satiro via curl-library
On 7/25/2022 2:49 AM, Minal Patil via curl-library wrote: > I am looking to configure client side certificate validation in my > libcurl based application communicating with https protocol. > > As per the documentation I need to configure the CURLOPT_SSLCERT > attribute. Sample code available on it

Re: curl-7.84.0_9-win64-mingw - SChannel problem - The certificate chain was issued by an authority that is not trusted.

2022-08-29 Thread Ray Satiro via curl-library
On 8/29/2022 11:59 AM, Krüger, Carsten via curl-library wrote: I've trying to understand a windows specific problem regarding certificates. I'd like to use the SChannel backend. I'm enforcing the usage of SChannel via environment variable PS C:\Users\ckruegeradi\curl-7.84.0_9-win64-mingw\bin>

Re: Requesting Help on libcurl compile

2022-09-14 Thread Ray Satiro via curl-library
On 9/14/2022 4:48 AM, Coffee Bug via curl-library wrote: #include int main() {   curl_global_init(CURL_GLOBAL_DEFAULT); } I already encounter the following errors: libs\curl_new64\lib\libcurl.a(strerror.o):strerror.c|| undefined reference to `__imp___sys_nerr'| libs\curl_new64\lib\libcurl.a(s

Re: curl_version_info() thread-safety

2022-09-25 Thread Ray Satiro via curl-library
On 9/24/2022 12:22 PM, Patrick Monnerat via curl-library wrote: I just noticed curl_version_info() is not thread-safe when compiled with multi-ssl backends because the HTTPS-proxy feature bit is computed at run-time and may change between calls. This is the case until the effective SSL backend

Re: curl post fails.

2022-10-02 Thread Ray Satiro via curl-library
On 10/2/2022 2:09 PM, jian he via curl-library wrote: Follow this url (https://www.backblaze.com/b2/docs/b2_upload_file.html) The command line way will work. FILE_TO_UPLOAD=/home/jian/helloc/curl_1.c MIME_TYPE=text/plain SHA1_OF_FILE=$(openssl dgst -sha1 $FILE_TO_UPLOAD | awk '{pri

Re: noproxy breakage

2022-10-27 Thread Ray Satiro via curl-library
On 10/27/2022 5:29 PM, Daniel Stenberg via curl-library wrote: A regression in the noproxy filter functionality in 7.86.0 has been suggested to be reason enough for a patch release: https://github.com/curl/curl/issues/9813 I'm for patch releases for issues like that. We don't yet have any

Re: libcurl.dll 7.84.0 and higher causes a memory ACCESS_VIOLATION error.

2022-10-31 Thread Ray Satiro via curl-library
On 10/31/2022 11:13 AM, Patrick Vansevenant via curl-library wrote: We have been using libcurl.dll for a few years to do almost all our HTTP/HTTPS requests in our OpenEdge 11.7 environment (= our custom ERP solution). For more info about OpenEdge 11.7 see : https://www.progress.com/openedge/

Re: libcurl.dll 7.84.0 and higher causes a memory ACCESS_VIOLATION error.

2022-11-01 Thread Ray Satiro via curl-library
don't encounter any issues. Kind regards, Patrick --- Op di 1 nov. 2022 om 05:29 schreef Ray Satiro via curl-library : On 10/31/2022 11:13 AM, Patrick Vansevenant via curl-library wrote: We have been using libcurl.dll for a few years to do almost all our HTTP/HTTPS requ

Re: Is CURLSSLOPT_NATIVE_CA still experimental?

2023-01-05 Thread Ray Satiro via curl-library
On 1/5/2023 10:08 AM, Jeroen Ooms via curl-library wrote: I maintain the R bindings, which are used by a lot of Windows users inside corporate/academic networks. A few years ago, we switched the default-ssl-backend on Windows from openssl to schannel. The main motivation was that many corporate

Scripts to obtain Google OAuth bearer token for use with curl

2023-01-13 Thread Ray Satiro via curl-library
I've started a new project [1] that uses curl, jq and perl to request and refresh OAuth bearer tokens from Google. I think this project will be useful for users of curl and libcurl that can no longer access their Google account through Google's now banned "less secure apps" access (ie username/

Re: changed behavior of CURLOPT_SSL_VERIFYPEER + CURLOPT_CAINFO_BLOB (libcurl 7.87.0)

2023-01-27 Thread Ray Satiro via curl-library
On 1/27/2023 4:13 AM, Paul Groke via curl-library wrote: we noticed a change in behavior wrt. CURLOPT_SSL_VERIFYPEER and CURLOPT_CAINFO_BLOB with libcurl 7.87.0. Our application always sets CURLOPT_CAINFO_BLOB to a non-null value, because we never want to use any built-in default/system defaul

Re: excessive amount of output produced by `curl -v` for a TLSv1.3 connection

2023-03-29 Thread Ray Satiro via curl-library
On 3/29/2023 3:37 AM, Kamil Dudka via curl-library wrote: `curl -v` started to print an excessive amount of output for a TLSv1.3 connection. Is it really useful to get two lines of verbose output for each chunk of data (sometimes 1B) transferred over a TLS connection? $ curl -V curl 7.61.1 (x86

Re: Unreal Engine 5 SMTP Mail Sender with libcurl

2023-08-15 Thread Ray Satiro via curl-library
On 8/15/2023 7:56 AM, Frozen Forest via curl-library wrote: I have to send multiple attachments to*"To, Cc, Bcc" targets with proper mail subject.* If I use *payload_source *method, I can see subject and all recipients are in correct group but I can't attach any file. If I use *mime* method, I c

Re: Getting a list of easy handles in a multi handle - possible?

2023-08-27 Thread Ray Satiro via curl-library
On 8/26/2023 2:27 PM, Daniel Stenberg via curl-library wrote: Am I missing something or is this something that could be added? Something like this can absolutely be added, and it might even make a lot of sense. I think I personally would favor an approach that exports the list of easy handl

Re: office365 smtp auth issue

2023-09-27 Thread Ray Satiro via curl-library
On 9/25/2023 9:59 AM, Volker Schmid via curl-library wrote: we are using libcurl in version 7.71.1 (32 bit) on Windows to send email using SMTP. The login fails to some customers office365.com server. Here is the log. I replaced some sensitive information with xxx, please apologise.     C

Re: Connections fail on iOS with Secure Transport

2023-10-02 Thread Ray Satiro via curl-library
On 10/1/2023 12:56 PM, Andrew Patterson via curl-library wrote: We've been using libcurl for years but for a long time we were running with peer validation disabled. I know that's terrible, and it wasn't my decision, but I'm attempting to remedy it now. It took a couple of hours, but I figured

Re: Apology for Breaking CVE-2023-38545 Embargo

2023-10-12 Thread Ray Satiro via curl-library
On 10/12/2023 9:17 AM, Jacek Migacz via curl-library wrote: I am writing to extend my sincerest apologies for a breach of CVE-2023-38545 embargo that occurred recently. I deeply regret my actions, and I understand the gravity of the situation and the trust that has been broken. First and fore

Re: Re-running curl tests

2023-10-24 Thread Ray Satiro via curl-library
On 10/24/2023 1:56 PM, Jacob Hoffman-Andrews via curl-library wrote: I often have trouble efficiently debugging curl tests, and I wanted to ask if I'm doing it wrong, and/or if there are improvements possible. My workflow is like this: If I notice a set of tests are failing, I will usually run

Re: Add CURLOPT_SERVER_RESPONSE_TIMEOUT_MS option

2023-11-19 Thread Ray Satiro via curl-library
On 11/19/2023 2:35 PM, Timothe Litt via curl-library wrote: While I agree that a struct timespec* would be a better choice, consistency in an API is important. All the other _MS functions could also use a stuct timespec (you get nanoseconds). Perhaps a (CURLOPT_PRECISE_TIMEOUT, {CURLOPT_SE

Re: curl_multi_socket_action takes longer when using HTTPS

2023-12-01 Thread Ray Satiro via curl-library
On 12/1/2023 6:32 PM, Richa Shah via curl-library wrote: - libcurl version: 7.72 - TLS backend: OpenSSL, version: 1.0.2 Old versions. Try with the latest curl [1] and openssl [2]. libcurl has ca caching now because it takes some time for openssl to parse the certificates, so rather than do t

Re: Separate install

2023-12-21 Thread Ray Satiro via curl-library
On 12/21/2023 5:25 AM, Daniel Stenberg via curl-library wrote: A comment problem people seem to have, is installing a custom libcurl somewhere, only to find that their new curl executable does not use the new libcurl but instead load another/system libcurl. To help us not having to repeat ours

Re: Detection of failed connection

2024-01-03 Thread Ray Satiro via curl-library
On 1/3/2024 3:17 AM, Ali Nasir via curl-library wrote: I am trying to upload a file to an end point using multi interface. Example code used is https://curl.se/libcurl/c/postit2.html However, i see that when the server is down, there is no error reported from any of the curl interfaces. If i p

Re: Detection of failed connection

2024-01-03 Thread Ray Satiro via curl-library
On 1/3/2024 5:34 AM, Ali Nasir via curl-library wrote: * Connected to host.docker.internal (192.168.65.2) port 80 (#0) > POST /upload HTTP/1.1 Host: host.docker.internal Accept: */* Shoesize: 10 Content-Length: 321 Content-Type: multipart/form-data; boundary=b2b856525299e

Re: Support HTTP2 Goaway Frame callback for curl multi

2024-01-04 Thread Ray Satiro via curl-library
On 1/4/2024 10:45 PM, Cao Duc Quan via curl-library wrote: I am working on a small project where I need a callback from CURM when it receives the GOAWAY frame. I prepared a patch as follows and could get the callback for GOAWAY diff --git a/include/curl/multi.h b/include/curl/multi.h index e79

Re: Support HTTP2 Goaway Frame callback for curl multi

2024-01-05 Thread Ray Satiro via curl-library
On 1/5/2024 11:28 AM, Cao Duc Quan via curl-library wrote: 1. Open a new HTTP2 connection by creating an HTTP GET to an url path. I created a CURLM object and added the easy handle for HTTP GET Request to it. 2. Next HTTP request will be sent in the HTTP2 connection created by step 1. I created

Re: Support HTTP2 Goaway Frame callback for curl multi

2024-01-07 Thread Ray Satiro via curl-library
On 1/6/2024 12:04 PM, Cao Duc Quan wrote: "During" means the time since the Server sends the GOAWAY frame till the Server explicitly closes the TCP connection. This window is 60s. My library starts a new connection with an HTTP GET to the server and the server will respond in multipart. This HT

Re: Support HTTP2 Goaway Frame callback for curl multi

2024-01-07 Thread Ray Satiro via curl-library
On 1/7/2024 1:33 PM, Cao Duc Quan wrote: I think what I proposed for GOAWAY has the same idea as CURLOPT_PREREQFUNCTION. What do you think? On Sun, Jan 7, 2024 at 10:24 AM Cao Duc Quan wrote: Sorry, seems I only replied to you in previous emails. Are you saying that you want to p

Re: Support HTTP2 Goaway Frame callback for curl multi

2024-01-09 Thread Ray Satiro via curl-library
On 1/7/2024 7:47 PM, Cao Duc Quan wrote: You are asking for a low level signal that almost nobody needs. It sounds like you are trying to work around a server or application issue. Agree my use case is quite odd but that is the protocol we developed for years and I saw the benefit

Re: Support HTTP2 Goaway Frame callback for curl multi

2024-01-10 Thread Ray Satiro via curl-library
On 1/10/2024 2:28 PM, Cao Duc Quan wrote: Generally I agree that to lessen response times it is a good idea to have a valid established connection ready before subsequent requests are made to the same server Sounds like we have agreement on the benefit of having this callback.

Re: Support HTTP2 Goaway Frame callback for curl multi

2024-01-10 Thread Ray Satiro via curl-library
On 1/11/2024 1:13 AM, Cao Duc Quan wrote: If I grasp your point correctly, the statement "*curl may not process a GOAWAY immediately*" implies that there might be a delay in some of cURL's internal logic until a user initiates a request. However, I believe that my proposal will ensure the callb

Re: Crash in nw_in_read when client drives SSL sockets

2024-01-22 Thread Ray Satiro via curl-library
On 1/22/2024 3:46 PM, Dmitry Karpov via curl-library wrote: I can confirm that the checks for null data below prevent the crashes that I observed when client drives SSL sockets and steps on read/write errors. Should I create a PR with these changes? --- lib/cf-socket.c | 16 ++--

Re: Correct way to disable cookies temporarily

2024-01-23 Thread Ray Satiro via curl-library
On 1/23/2024 11:35 AM, Daniel Stenberg via curl-library wrote: On Tue, 23 Jan 2024, Max via curl-library wrote: I have not found in the documentation what is the correct way to disable an existing set of cookies (in the cookies engine) temporarily (that means for the next single connection whe

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

2024-01-30 Thread Ray Satiro via curl-library
On 1/30/2024 11:39 AM, Mos Yud via curl-library wrote: Machine: M1 sonoma 14.1.1 At my test I am using the shipped lib of curl, and its default used SSL, that is: curl 8.1.2 (x86_64-apple-darwin23.0) libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.55.1 I am getting memor

Re: curl multi, how can I get info about paused handle?

2024-03-21 Thread Ray Satiro via curl-library
On 3/21/2024 1:13 PM, Barton Mighty via curl-library wrote: It seems curl_multi_info_read() can only get finished easy handles. The problem is, for handle paused by returning CURL_WRITEFUNC_PAUSE, there is no easy way to figure out when the process of the handle has returned, thus a user callba

Re: length/size of data received/written with CURLOPT_WRITEFUNCTION

2024-03-28 Thread Ray Satiro via curl-library
On 3/28/2024 2:24 PM, R C via curl-library wrote: How can one 'find' the total number of bytes reveived and written  with a callback_write function with CURLOPT_WRITEFUNCTION Keep track of it yourself by using CURLOPT_WRITEDATA to set the user pointer. See the CURLOPT_WRITEFUNCTION example [

Re: Libcurl rebuild using Visual Studio

2024-06-27 Thread Ray Satiro via curl-library
On 6/27/2024 8:48 AM, JT, Srinivas (External) via curl-library wrote: Could you please confirm whether *Visual Studio 2010 SP1* can be used for rebuilding libcurl 8.8.0 along with openssl 3.3.1 and libssh2 1.11.0. We are also using Nasm-2.11.06 , Zlib-1.2.3-lib, ActivePerl-5.6.1.638-MSWin32-