There was an error while loading. Please reload this page.
2 parents 34e8fd0 + ca4e9f7 commit b76f48dCopy full SHA for b76f48d
1 file changed
lib/Base.php
@@ -22,7 +22,7 @@ public function setTimeout($timeout) {
22
$this->options['timeout'] = $timeout;
23
24
if ($this->socket && get_resource_type($this->socket) === 'stream') {
25
- stream_set_timeout($this->socket);
+ stream_set_timeout($this->socket, $timeout);
26
}
27
28
0 commit comments