THRIFT-638. php: BufferedTransport + C extensions block until recv timeout is reached...
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 4 Mar 2011 01:25:17 +0000 (01:25 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 4 Mar 2011 01:25:17 +0000 (01:25 +0000)
commitc46f32ce181164ecd28de7c328e5cd704282a699
tree1429772a58bb3879be87254fdb84529c3d685dfa
parenta971fb094877b4245142c45abe67fc4e5568af30
THRIFT-638. php: BufferedTransport + C extensions block until recv timeout is reached on last fread call

This patch refactors TSocket to make use of stream_select() for timeout detection.

Patch: Nicholas Telford

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1076917 13f79535-47bb-0310-9956-ffa450edef68
lib/php/src/transport/TSocket.php