commit | 14991f904184cc57b5d3e74a4266a0d6fbaf4832 | [log] [tgz] |
---|---|---|
author | James E. King III <jking@apache.org> | Tue Mar 06 09:47:33 2018 -0500 |
committer | James E. King III <jking@apache.org> | Tue Mar 06 09:53:21 2018 -0500 |
tree | 690bb9a1b93daab433b333c76c12d3a309f6f34e | |
parent | 78755f5297ae931b1f2268e9215d041dc4c0dcc7 [diff] |
THRIFT-4354: fix php socket blocking behavior Patch: Robert Lu <robberphex@gmail.com> Client: php This closes #1384
diff --git a/lib/php/lib/Transport/TSocket.php b/lib/php/lib/Transport/TSocket.php index 93bd1cf..5147efa 100644 --- a/lib/php/lib/Transport/TSocket.php +++ b/lib/php/lib/Transport/TSocket.php
@@ -138,6 +138,7 @@ public function setHandle($handle) { $this->handle_ = $handle; + stream_set_blocking($this->handle_, false); } /**