multi: make the "general" list of easy handles a Curl_llist
Instead of having an especially "unique" linked list handler for the main list of easy handles within the multi handle, this now uses a regular Curl_llist for this as well. With this change, it is also clearer that every easy handle added to a multi handle belongs to one and only one out of three different lists: process - the general one for normal transfer processing pending - queued up waiting to get a connection (MSTATE_PENDING) msgsent - transfer completed (MSTATE_MSGSENT) An easy handle must therefore be removed from the current list before it gets added to another. Closes #14474
Showing
- lib/easy.c 8 additions, 2 deletionslib/easy.c
- lib/multi.c 77 additions, 103 deletionslib/multi.c
- lib/multihandle.h 4 additions, 8 deletionslib/multihandle.h
- lib/urldata.h 1 addition, 6 deletionslib/urldata.h
- lib/vquic/curl_ngtcp2.c 3 additions, 2 deletionslib/vquic/curl_ngtcp2.c
- lib/vquic/curl_osslq.c 9 additions, 6 deletionslib/vquic/curl_osslq.c
- lib/vquic/curl_quiche.c 10 additions, 8 deletionslib/vquic/curl_quiche.c
Please register or sign in to comment