Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.6.1, 0.7, 0.8
-
None
-
None
-
Patch Available
Description
When interrup happent Tsoket wrong handle this situation. A work around is to sorount select system call in do-wile loop, Like this:
do { $writable = @stream_select($null, $write, $null, $this->sendTimeoutSec_, $this->sendTimeoutUsec_); } while($writable === false);
But here is some problem when stream_select return false in no interrup situation