Message60976
Logged In: YES
user_id=341410
Because the socket is in blocking mode, performing
self.fp.read(x) with an x > 1 will generally block until it
has read x bytes or the other end disconnects. As such, I
believe it is intended behavior.
For your own application, you could perhaps write a response
class that uses non-blocking sockets to handle readline,
switching back to blocking sockets after header reading is over. |
|
Date |
User |
Action |
Args |
2008-01-20 09:58:55 | admin | link | issue1542407 messages |
2008-01-20 09:58:55 | admin | create | |
|