{"author":"Stefan Eissing","author_email":"stefan@eissing.org","author_time":1740224802,"commit_time":1740232060,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"cfc657a48dbafb4194676d4c9d841388b3a22210","message":"multi: event based rework\n\nRework the event based handling of transfers and connections to\nbe \"localized\" into a single source file with clearer dependencies.\n\n- add multi_ev.c and multi_ev.h\n- add docs/internal/MULTI-EV.md to explain the overall workings\n- only do event handling book keeping when the socket callback\n  is set\n- add handling for \"connection only\" event tracking, when internal\n  easy handles are used that are not really tied to a connection.\n  Used in connection pool.\n- remove transfer member \"last_poll\" and connections \"shutdown_poll\"\n  and keep all that internal to multi_ev.c\n- add CURL_TRC_M() for tracing of \"multi\" related things, including\n  event handling and connection pool operations. Add new trace\n  feature \"multi\" for trace config.\n  multi traces will show exactly what is going on in regard to\n  event handling.\n- multi: trace transfers \"mstate\" in every CURL_TRC_M() call\n- make internal trace buffer 2048 bytes and end the silliness\n  with +n here -m there. Adjust test 1652 expectations of resulting\n  length and input edge cases.\n- add trace feature \"lib-ids\" to perfix libcurl traces with transfer\n  and connection ids. Useful for debugging libcurl applications.\n\nCloses #16308\n","parents":["886f5dea80135d6e70af5f68939f7ed194ef3671"],"tree_hash":"b8a4a2cab9a9a55e95f75f2b818127f9a364d013"}