zendframework/zf2 — pull request #2197 by juriansluiman (2012-08-18 11:30:28+00:00)
Title: Allow capath steam context option to be set

The Socket adapter requires a capath option when verifypeer is set to
true (default value). As convenience, this path must be able to set
as option too, else people need to juggle with the stream context
function themselves.

As shown by [this thread](http://zend-framework-community.634137.n4.nabble.com/Re-Changes-to-Zend-Http-Client-Adapter-Socket-td4656215.html), the socket adapter broke with this change for various users because the capath was not set. Besides the required documentation, a convenience method to set the capath is required to make the adapter more usable