mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
multi: add notifications API
Add infrastructure to colled and dispatch notifications for transfers and the multi handle in general. Applications can register a callback and en-/disable notification type the are interested in. Without a callback installed, notifications are not collected. Same when a notification type has not been enabled. Memory allocation failures on adding notifications lead to a general multi failure state and result in CURLM_OUT_OF_MEMORY returned from curl_multi_perform() and curl_multi_socket*() invocations. Closes #18432
This commit is contained in:
parent
f4e83a0adc
commit
357808f4ad
24 changed files with 767 additions and 44 deletions
|
|
@ -225,6 +225,7 @@ LIB_CFILES = \
|
|||
mqtt.c \
|
||||
multi.c \
|
||||
multi_ev.c \
|
||||
multi_ntfy.c \
|
||||
netrc.c \
|
||||
noproxy.c \
|
||||
openldap.c \
|
||||
|
|
@ -357,6 +358,7 @@ LIB_HFILES = \
|
|||
mqtt.h \
|
||||
multihandle.h \
|
||||
multi_ev.h \
|
||||
multi_ntfy.h \
|
||||
multiif.h \
|
||||
netrc.h \
|
||||
noproxy.h \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue