On 29/05/25 9:55 pm, Junio C Hamano wrote: > Phillip Wood <phillip.wood123@xxxxxxxxx> writes: > >> I'm wondering why anyone would want to switch the backend at run-time? >> There has been talk in the past about removing the openssl code [1] >> and just relying on the curl backend. I think that is a worthwhile >> goal as it simplifies the code and means we would avoid having to >> worry about whether we're using openssl correctly [2]. > > Excellent point. Is there a downside if we only do imap via cURL > library and lose the code that directly use OpenSSL? I think the only real down side is removing CRAM-MD5 support, which won't impact much, especially considering the fact that how little this is used. Although, most code will still be needed is you are using the tunnel option, so in terms of code cleanup, not much will be lost. Anyways, in v8, I have removed this patch, and added another ability to list the available folders.