Skip to content

Commit

Permalink
Close socket connection in Downloader::fetchCertificates() (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtech-dobes authored and freekmurze committed Feb 2, 2018
1 parent c15f421 commit 6d5f3fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Downloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ protected function fetchCertificates(string $hostName): array

$response = stream_context_get_params($client);

fclose($client);

return $response;
}

Expand Down

0 comments on commit 6d5f3fe

Please sign in to comment.