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

curl_multi_perform creates new thread

2023-09-20 Thread Anass Meskini via curl-library
Hello, 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: > gdb) bt > #0 __pthread_create_2_1 (newthread=0x55590d50, attr=0x0, > start_routine=0x77f61d20,

Re: Monitoring of sleeping connections

2023-09-20 Thread Daniel Stenberg via curl-library
On Wed, 20 Sep 2023, Matthias Klein via curl-library wrote: What determines the block size libcurl uses to transfer the data? libcurl uses dedicated buffers allocated for downloads and uploads. It even provides options for setting the sizes. It will then always try to receive and send as

Monitoring of sleeping connections

2023-09-20 Thread Matthias Klein via curl-library
Hi, Context: We use libcurl 7.82.0 with OpenSSL/3.0.10 (Yocto kirkstone) on moving IoT devices to transfer data to the Internet. In some cases we experience sleeping connections, but also slow transfer rates over cellular. (depending on location, provider, etc.). Here we see libcurl