Mercurial > p > roundup > code
diff CHANGES.txt @ 6582:3e8f2104753b
issue2551186 - replace socket.sslerror in mailgw.py.
roundup/mailgw.py:
replaced socket.sslerror with anypy/ssl_.SSLError
also looks like a socket.sslerror was removed from pops handling.
added it back using method above.
roundupanypy/ssl_.py:
defines replacement SSLError suitable for python2 or 3
tested by running nc -lp 995 or 993 (pop3s/imaps) and sending
gibberish when mailgw connects. This generates a bad version number
SSLError.
I need to get my imap and pop mock servers included for testing at
some point, but I am not sure how to make them bind to the right port
as they are priv ports.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 04 Jan 2022 18:39:40 -0500 |
| parents | 77a35268cd7c |
| children | 91ab3e0ffcd0 |
line wrap: on
line diff
--- a/CHANGES.txt Tue Jan 04 16:31:04 2022 -0500 +++ b/CHANGES.txt Tue Jan 04 18:39:40 2022 -0500 @@ -69,6 +69,10 @@ --prefix=/tmp/r2. Force insert --old-and-unmangable to get it to use a classic installer and not an easy install. This only affects python2. +- issue2551186 - Python versions >= 3.3 no longer use socket.sslerror. + Andrew (kragacles) patched uses of socket.sslerror in mailgy.py. + Patch adapted to allow trapping sslerror under both python2 and 3. + (John Rouillard) Features:
