[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)
Josiah Carlson
report at bugs.python.org
Tue Mar 31 18:41:45 CEST 2009
Josiah Carlson <josiahcarlson at users.sourceforge.net> added the comment:
When push is called in the current trunk (as of 2.6), the data is
automatically chopped up into self.ac_out_buffer_size blocks for later
writing.
In order to force the use of the asynchat.simple_producer class (which
takes an argument for the block size to send), you must pass the
producer itself with push_with_producer() .
Closing as out of date.
----------
resolution: -> out of date
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2073>
_______________________________________
More information about the Python-bugs-list
mailing list