Browse Source
Merge pull request #18 from gamadoleo/patch-1
Update SocketTrait.php
tags/1.1.1
1.1.1
FeelancerE
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
src/SocketTrait.php
|
|
|
@ -63,6 +63,9 @@ trait SocketTrait |
|
|
|
throw new ClientException('Unable to establish socket session, ' . $this->_socket_err_str); |
|
|
|
} |
|
|
|
|
|
|
|
//Timeout read
|
|
|
|
stream_set_timeout($socket, $this->config('timeout')); |
|
|
|
|
|
|
|
// Save socket to static variable
|
|
|
|
$this->setSocket($socket); |
|
|
|
} |
|
|
|
|