Message76174
Just a thought here:
Maybe it would be better just to change socket._fileobject to always
use a minimum of 8k readbuffer for readline() just as read() already
does. The read() documentation states that recv(1) is very
inefficient, and so it is.
The intent, when calling makefile(bufsize=0) is probably to make sure
that buffering for write() is disabled.
Any thoughts? |
|
Date |
User |
Action |
Args |
2008-11-21 10:52:54 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson |
2008-11-21 10:52:53 | kristjan.jonsson | set | messageid: <1227264774.0.0.300756536942.issue4336@psf.upfronthosting.co.za> |
2008-11-21 10:52:53 | kristjan.jonsson | link | issue4336 messages |
2008-11-21 10:52:52 | kristjan.jonsson | create | |
|