-
Committer:
John Arbash Meinel
-
Date:
2011-09-13 11:00:25 UTC
-
mto:
(6133.4.49 2.5-soft-hangup-795025)
-
mto:
This revision was merged to the branch mainline in
revision
6170.
-
Revision ID:
john@arbash-meinel.com-20110913110025-5wbyzroh8zyh781p
Add a _wait_for_bytes_with_timeout helper function.
This adds a select.select() call, indicating whether there are
any bytes on the socket that we can read, or whether we timeout
waiting for more content.