John Goerzen 9f5c8d708b Apply darwin.patch from Vincent Beffara
fixes #20

 04/27/2008 09:34 AM - Vincent Beffara

    * File darwin.patch added

OK, I finally installed an IMAPS server on my iMac, so I could test a
little further. For some reason, fixing the read() method in
imaplibutil.py did not seem to work (it hung on connecting to the
server) - however, modifying the file imapserver.py similarly to the
non-SSL case fixed the crash.

I also reduced the chunk size to 100k instead of 1M, as 1M seemed to
still trigger the memory error in some cases. Ah, and I added a
platform test, so that the patch does essentially nothing on
non-Darwin machines ...

So, still no guarantee, but the attached patch works for me. Any
comments ?

(If noone here screams in horror at my code, I will include the patch
into the Fink package and see what happens there.)
2008-05-01 15:20:56 -05:00
..
2008-03-20 12:08:57 -05:00
2007-10-10 00:12:22 +01:00
2006-08-12 05:15:55 +01:00
2008-03-03 08:22:44 -06:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:15:55 +01:00
2007-07-04 18:53:48 +01:00
2006-08-12 05:15:55 +01:00
2008-04-17 09:53:20 -05:00