:04 AM
To: Discussion of IronPython
Subject: Re: [IronPython] 2.6.1 implements ssl module, but it crash...
I noticed that there is a wrap_socket() argument: suppress_ragged_eofs
The parameter suppress_ragged_eofs specifies how the SSLSocket.read() method
should signal unexpected EOF from the other
unexpected EOF errors raised
from the underlying socket; if False, it will raise the exceptions back to the
caller.But not working - 原文 - 发件人: qiuyin...@sohu.com 主 题: Re:
[IronPython] 2.6.1 implements ssl module, but it crash...时 间: 2010年4月14日
11:48:07I traced the bug and found it occurred
I traced the bug and found it occurred when our imap server close connection
after imap authentication.It seems that SSLSocket.read() cannot raise exception
in this situation. It return 0.Then IMAP4_SSL.readline() go into infiniteloop:
def
readline(self):
"""Read line from
qiuyin...@sohu.com wrote:
> import imaplib
> c = imaplib.IMAP4_SSL('imap.sohu.com', 993)
> c.login(myusername, mypassword)
>
> ipy.exe memory footprint increase to 170M... and crash soon.
>
> 2.6.1 and 2.6.1with.NET4 has the same problem
Any idea what the crash is? Is it popping up the normal w
import imaplib
c = imaplib.IMAP4_SSL('imap.sohu.com', 993)
c.login(myusername, mypassword)
ipy.exe memory footprint increase to 170M... and crash soon.
2.6.1 and 2.6.1with.NET4 has the same problem
___
Users mailing list
Users@lists.ironpython.com
htt