On Thu, 14 Mar 2019, Luca Di Rocco via curl-library wrote:

Since I didn't have so much time to investigate and understand all the
software structure, I focused on imap.c and implemented a simple trick.
In the imap_state_select_resp function, after a custom command is
successfully sent, I parse the command to  check if it meets one of the 4
formats above.

...

I have attached the patch file,

This is hardly an approach that we can use in curl so while this might fix Luca's current problem, it is not a patch we can merge as-is.

I would be interested in discussing what we should or could do to support this feature in a more proper and curl-friendly way.

--

 / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to