Behat/Mink — Issue #199: How do I override timeout in Buzz\Client\Curl ?
Author: gabrielpillet
Created: 2012-02-23 10:49:03+00:00
State: open

I find it hard hacking into Buzz\Client\Curl to override curl timeout. I'm on a especially slow server and get random "name lookup timed out" errors with Sahi.

Looks like the only place I can access to this class is in SahiClient\Connection. Would it be worth making a PR ? Or is there something I missed ?

```php
limit = 600;

if (null !== $sid) {
$this->customSidProvided = true;
}

$this->sid = $sid;
$this->host = $host;
$this->port = $port;

if (null === $browser) {
$client = new Buzz\Client\Curl();
//$client->timeout = 1337
$this->browser = new Buzz\Browser($client);
} else {
$this->browser = $browser;
}
}
```