search for: renewline

Displaying 2 results from an estimated 2 matches for "renewline".

Did you mean: newline
2015 Apr 08
2
pop3 retr responses too large lines - Fails with current python's poplib
Since December 2014, clients using the Python poplib library (getmail in my case) started to limit the line length of RETR and other command responses sent from the server to 2048 bytes: See https://bugs.python.org/issue16041 (Included at least in Python-2.7.9) Dovecot doesn't have line split in the POP3 module, so Python fails to retrieve messages with long lines. RFC 1939 says: "
2015 Apr 10
2
pop3 retr responses too large lines - Fails with current python's poplib
...98b908/Lib/poplib.py#l227 https://hg.python.org/cpython/file/0db36098b908/Lib/poplib.py#l165 https://hg.python.org/cpython/file/0db36098b908/Lib/poplib.py#l142 https://hg.python.org/cpython/file/0db36098b908/Lib/poplib.py#l370 def _getline(self): line = "" renewline = re.compile(r'.*?\n') match = renewline.match(self.buffer) while not match: self._fillBuffer() >>> if len(self.buffer) > _MAXLINE: # _MAXLINE=2048 >>> raise error_proto('line too long')...