]> git.ipfire.org Git - thirdparty/curl.git/commit
multi: remove PENDING + MSGSENT handles from the main linked list
authorDaniel Stenberg <daniel@haxx.se>
Tue, 14 Mar 2023 11:26:32 +0000 (12:26 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 15 Mar 2023 09:37:49 +0000 (10:37 +0100)
commitf6d6f3ce01e377932f1ce7c24ee34d45a36950b8
treea2747d5c70ea4f52d930c31c99b209c42d8f76d5
parenta208be371019a5bcbae9bc6c8ef302782ee43e8d
multi: remove PENDING + MSGSENT handles from the main linked list

As they are not driving transfers or any socket activity, the main loop
does not need to iterate over these handles. A performance improvement.

They are instead only held in their own separate lists.

Assisted-by: Stefan Eissing
Ref: #10743
Closes #10762
lib/multi.c
lib/multihandle.h
lib/urldata.h