[Python-Dev] very bad network performance
Curt Hagenlocher
curt at hagenlocher.org
Mon Apr 14 21:34:35 CEST 2008
On Mon, Apr 14, 2008 at 12:17 PM, A.M. Kuchling <amk at amk.ca> wrote:
> On Mon, Apr 14, 2008 at 11:10:12AM -0700, Curt Hagenlocher wrote:
> > while True:
> > left = size - buf_len
> > ! recv_size = max(self._rbufsize, left)
> > data = self._sock.recv(recv_size)
>
> What version is this patch against? (The last 2.5 release, maybe?)
Yes, sorry. I thought I had checked this against the repository --
particularly because the max->min change is what kicked off this
thread.
--
Curt Hagenlocher
curt at hagenlocher.org
More information about the Python-Dev
mailing list