curl_multi::get_info does not provide information which easy handle the message belongs to
Arguably, the most important piece of information returned by curl_multi_info_read is which exactly easy handle if done. This information, unfortunately, is not included in curl_massage, which makes it almost impossible to determine which transfer has finished.
Unfortunately, together with #76 this makes curl_multi interface almost unusable.
+1 for this issue, curl_multi actually should not implement is_finished and get_info in that way
-
curl_messageused in event loop to detect finished easy handles when multiple requests processed simultaniously - both methods are designed to handle only one easy handle, messages for other handles will be lost
I propose to add CURL* field to curl_message, deprecate get_info and is_finished and write new method read_info() which just reads one message.
hi @sergey-shambir If you want, you cant provide a pull request or a patch. That would be awesome. I'm too busy in this period :(
@sergey-shambir The referencing commit should solve the issue. Now get_next_finished returns a complete message including also the related curl_easy handle. The wrong methods have been removed (I mean get_info and is_finished)