{"author":"Daniel Stenberg","author_email":"daniel@haxx.se","author_time":1741774969,"commit_time":1741817806,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"0bb8465b1e529f4ac1f764baa56117ea1fd73fe4","message":"multi: call protocol handler done() if PROTOCONNECT or later\n\nThe protocol handlers' done() function would previous get called\nunconditionally in multi_done(), no matter how far the easy handle's\nstate machine has transitioned.\n\nThis caused problems in IMAP which in imap_connect() initializes things\nthat the imap_done() function assumes has occured. I think that seems\nlike a correct assumption and we should rather make sure that the done()\nfunction is only called if we have reached the PROTOCONNECT state.\n\nThis problem was found using OSS-Fuzz.\n\nAssisted-by: Catena cyber\n\nCloses #16681\n","parents":["886569e2db200c31073895a2626d20e0712e5207"],"tree_hash":"fe1f4517550c3358ec3fe453d6f7986923ffb4c1"}