FriendsOfPHP / Goutte

Goutte, a simple PHP Web Scraper
MIT License
9.26k stars 1.01k forks source link

proxy close connection #379

Open sattip opened 5 years ago

sattip commented 5 years ago

I use proxy but it looks like it does not close the connection

$goutte->setClient(new \GuzzleHttp\Client(['proxy' => 'example.com', 'headers' => ['Connection' => 'close'], CURLOPT_FORBID_REUSE => true,  CURLOPT_FRESH_CONNECT => true]));

can you help me?