Skip to content

Commit

Permalink
add non-block
Browse files Browse the repository at this point in the history
  • Loading branch information
robberphex committed Oct 4, 2017
1 parent 39310da commit 5bc079a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/php/lib/Thrift/Transport/TSocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public function __construct($host='localhost',
public function setHandle($handle)
{
$this->handle_ = $handle;
stream_set_blocking($this->handle_, false);
}

/**
Expand Down

0 comments on commit 5bc079a

Please sign in to comment.