Permalink
Browse files

Merge pull request #1 from leithoff/trunk

improve connection handling (targeting failed connects)
  • Loading branch information...
2 parents a2c3dee + f6c678b commit bbbc52b68f75d4f93929d7b38ef52da72376d63d @CloCkWeRX CloCkWeRX committed Aug 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Net/Socket.php
View
2 Net/Socket.php
@@ -177,7 +177,7 @@ function connect($addr, $port = 0, $persistent = null,
@ini_set('track_errors', $old_track_errors);
$this->fp = $fp;
-
+ $this->setTimeout($this->timeout);
return $this->setBlocking($this->blocking);
}

0 comments on commit bbbc52b

Please sign in to comment.