[issue2808] asynchat forgets packets when push is called from a thread

2008-07-03 Thread Josiah Carlson
Changes by Josiah Carlson <[EMAIL PROTECTED]>: -- status: pending -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-l

[issue2808] asynchat forgets packets when push is called from a thread

2008-05-21 Thread xix xeaon
xix xeaon <[EMAIL PROTECTED]> added the comment: I have good reason to use this combination of asynchat and threads (in a way which doesn't cause any of these serious issues you speak of), but if you don't want it fixed then that's fine with me since I know how to work around it, I just reported

[issue2808] asynchat forgets packets when push is called from a thread

2008-05-21 Thread Josiah Carlson
Josiah Carlson <[EMAIL PROTECTED]> added the comment: My suggestion: don't do that. Asynchronous sockets, and asyncore/related libraries are not designed for, nor intended to be used as part of a threaded IO application. Why? Because most protocols are very concerned with data ordering, and se

[issue2808] asynchat forgets packets when push is called from a thread

2008-05-20 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola, josiah.carlson, josiahcarlson __ Tracker <[EMAIL PROTECTED]> __ __

[issue2808] asynchat forgets packets when push is called from a thread

2008-05-10 Thread xix xeaon
New submission from xix xeaon <[EMAIL PROTECTED]>: okay, my first bug post, hope I do it right. if you push more than 512 bytes (issue2073) from a thread then only the first packet will be sent, all other packets will be forgotten. the remaining packets will be sent when something else happens,