[issue11181] TLS end connection not detected properly in retrbinary

2011-02-12 Thread Adi Roiban
Adi Roiban added the comment: Hi, I apologies for raising this issues. It looks like FTP_TLS is not available in Python 3.1 ... and retrbinary is working in Python 2.7. What I actually done, was backporting ftplib.py from 2.7 to 2.5 and using pyOpenSSL instead of the standard ssl module. I

[issue11181] TLS end connection not detected properly in retrbinary

2011-02-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Please provide more information. Have you actually seen this happen? retrlines method isn't currently looking for EOF. -- ___ Python tracker ___

[issue11181] TLS end connection not detected properly in retrbinary

2011-02-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: high -> normal stage: -> needs patch type: crash -> behavior versions: -Python 3.1 ___ Python tracker ___ _

[issue11181] TLS end connection not detected properly in retrbinary

2011-02-11 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> giampaolo.rodola nosy: +giampaolo.rodola priority: normal -> high ___ Python tracker ___ __

[issue11181] TLS end connection not detected properly in retrbinary

2011-02-10 Thread Adi Roiban
New submission from Adi Roiban : FTP_TLS.retrybinary should detect the end of a TLS read in the same way as FTP.TLS_retryline does. it should be something like this... catching ssl.ZeroReturnError as a valid expection for signaling EOF. try: data =