bzikarsky / gelf-php

A php implementation to send log-files to a gelf compatible backend like graylog
MIT License
408 stars 85 forks source link

Add support for verify_peer_name #138

Closed inventor96 closed 1 year ago

inventor96 commented 1 year ago

I found this option was required for a recent project I was working on.

See https://www.php.net/manual/en/context.ssl.php#context.ssl.verify-peer for PHP documentation.

bzikarsky commented 1 year ago

Hi! Sometimes I am really amazed by the age of this library. I didn't even realize that it was missing support for such a basic SSL param. Thanks for adding it! I'll merge once the CI passed and will also tag a new version shortly after.