search for: _maxline

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

2015 Apr 08
2
pop3 retr responses too large lines - Fails with current python's poplib
...-side): --- poplib.py.orig 2015-04-08 18:46:48.280879211 -0300 +++ poplib.py 2015-04-08 18:26:01.288556028 -0300 @@ -36,7 +36,7 @@ # reading arbitrary length lines. RFC 1939 limits POP3 line length to # 512 characters, including CRLF. We have selected 2048 just to be on # the safe side. -_MAXLINE = 2048 +_MAXLINE = 2048*100 class POP3: Thanks in advance. -- Guillermo M. Narvaja Lambda Sistemas S.R.L. www.fierro-soft.com.ar - radiocut.fm Tel: (5411) 3220-1520 (rotativas) y 4857-6662 Cel: (5411) 15-6783-4435 Email: guillermo.narvaja at fierro-soft.com.ar MSN: guillermo_narvaja at ho...
2015 Apr 10
2
pop3 retr responses too large lines - Fails with current python's poplib
...08/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') match = renewline.match(self.buffer) line = match.group(0) ... -- Guillermo M. Narvaja Lambda Sistemas S.R.L. www.fierro-soft.com.ar - radiocut.fm Tel: (5411) 3220-1520 (r...