curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: Questions about new multi-handle notifications

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Sat, 8 Nov 2025 10:40:10 +0100 (CET)

On Fri, 7 Nov 2025, Dmitry Karpov via curl-library wrote:

> But if this is the case, then the number of curl_multi_info_read() calls
> will be essentially the same as when using curl_multi_info_read() in the run
> loop because all the messages must be consumed explicitly regardless of
> whether CURLMNOTIFY_INFO_READ notification is used or not.

Without the notifications, you have to poll for messages.

With the notifications, you are told when there is a message to read.

-- 
  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-11-08