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

Close sockets asynchronously when using libdispatch (GCD)

2023-01-16 Thread Frederik Seiffert via curl-library
Hi all, I’m working on a networking API using multi handles and multi sockets, and using libdispatch (GCD) to monitor socket changes (via the "dispatch source" API [1]). When receiving CURL_POLL_REMOVE, I call dispatch_source_cancel() [2] to stop the dispatch source. As this is done

Re: curl_easy_upkeep : support sending HTTP/2 PING frame via multi interface

2023-01-16 Thread Stefan Eissing via curl-library
Hi Kalin, it is listed in the TODO as https://github.com/curl/curl/blob/6113dec2a829d4ab766428ccca9535b7a5efd012/docs/TODO#L482 but there are no plans yet when we get around to implement that. Kind Regards, Stefan > Am 16.01.2023 um 10:15 schrieb Kalin via curl-library > : > > Hello, > > I

curl_easy_upkeep : support sending HTTP/2 PING frame via multi interface

2023-01-16 Thread Kalin via curl-library
Hello, I read documentation and find out curl_easy_upkeep function which can be used to send PING frame in HTTP/2 protocol. As easy interface is blocking, but multi isn't in my application I use multi interface. Unfortunately, I'm not able to send PING frame via multi interface, it seems this