drbrain / net-http-persistent

Thread-safe persistent connections with Net::HTTP
http://seattlerb.rubyforge.org/net-http-persistent
339 stars 117 forks source link

always set cert store to system default if not passed in #8

Closed mmb closed 13 years ago

mmb commented 13 years ago

Pull request for issue #7.

Using ruby 1.8 it does not seem to be able to find the system certificate store without explicitly calling set_default_paths. This patch calls it even when @verify_mode is left as the default (verify peer).

drbrain commented 13 years ago

Thanks for the patch!