Hi John, > On Tue, 20 Aug 2013, John Dunn wrote:
> I was able to reproduce this issue using VS2010 both with a static and dll > libcurl as well so it's not related to VS2012. That's a relief, to a certain degree, as that's one version of Visual Studio I'm not using - I compile for VC7.1, VC8, VC9 and VC10 but not VC11. > I'm attempting to use the IMAP support in libcurl 7.32.0 and it doesn't > seem very reliable. I'm not aware of any IMAP specific issues - maybe someone else on the list can step in if they are aware of any underlying connection timeout / out of memory issues. > There seems to be an issue with transfers past a given size. Is it reliably the same size when you see the problem and what sizes are you having issues with? > If my url is imaps://imap.gmail.com:993/INBOX/;UID=1;SECTION=TEXT the > request seems to be relatively reliable but I do see an occasional timeout. > If I attempt to get the entire message without specifying a section with a > url like imaps://imap.gmail.com:993/INBOX/;UID=1 I will get a > CURLE_OUT_OF_MEMORY error. I've reproduced this behavior using the > 7.32 prebuilt WIN32 binaries downloaded from the curl site. Sorry but I got a little confused... You mentioned it was a timeout but then mention an out of memory issue. Are these two separate issues? Also when you say timeout, what do you mean? For example: The connection stays alive but your callback doesn't get called after receiving some data and the curl_easy_perform() doesn't return. Are you able to reproduce the problem with a imap connection as opposed to a imaps connection? Additionally have you tried the curl command line utility to see if the same thing happens with that? Kind Regards Steve ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html