Merge branch 'master' of http://gitlab.edu.yar.ru/composer/PHP_Library
This commit is contained in:
commit
13a3f1cac7
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class Connection_HttpRequest
|
|||
$port = ($this->proxy_port) ? $this->proxy_port : $this->port;
|
||||
$errno = 0;
|
||||
$errstr = '';
|
||||
$socket = fsockopen($host, $port, $errno, $errstr, 30);
|
||||
$socket = @fsockopen($host, $port, $errno, $errstr, 30);
|
||||
if (is_resource($socket)) {
|
||||
$header = $this->getHeader();
|
||||
fwrite($socket, $header);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue