HTTP stream context settings are currently being created based only on the various options passed to the 'request' function. These settings should take precedence but any default stream context settings should be used as the base.
Also, stream transport can be used with a proxy so we don't need to require curl for proxy connections. Rather than simply switching to curl when a proxy is needed, transports that do not support proxies (only socket) should exclude themselves when a proxy is required.
Tracker: https://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33835&start=0
When you use the Joomla! Update component, you will get the 'no transport available' error.
After
You will not get that error because Joomla will select the socket transport when curl is not available and will configure it to use your proxy settings.
@mflr26 You should get an error if you followed the instructions. It might be possible that you need to click the 'clear cache' button on the joomla update page. I don't know if that's necessary but maybe. I don't think it should matter if you're using the latest version or not. Joomla doesn't know that the current version is the latest version until it connects somewhere and checks. If you have followed the instructions, it will not be able to make that check because, currently, curl is the only transport that is allowed if Joomla needs to use a proxy.
Thank you for creating this. It's been some time since you created this and there are now some merge conflicts that prevent a direct merge. Please update your PR, then this can be reviewed. Thank you!
Setup
curl
extension.Before
When you use the
Joomla! Update
component, you will get the 'no transport available' error.After
You will not get that error because Joomla will select the
socket
transport whencurl
is not available and will configure it to use your proxy settings.