You can see in HttpHelper class, the ConnectionOptions::OPTION_PORT is still used, even tho it's deprecated, and the port should be part of the endpoint. For SSL it seems you cannot specify it twice.
To be able to connect to an SSL endpoint, I had te replace the second argument of fsockopen with -1, and specify the port only in the ConnectionOptions::OPTION_ENDPOINT. I don't know if this breaks some other connection types tho...
You can see in HttpHelper class, the
ConnectionOptions::OPTION_PORT
is still used, even tho it's deprecated, and the port should be part of the endpoint. For SSL it seems you cannot specify it twice.To be able to connect to an SSL endpoint, I had te replace the second argument of
fsockopen
with-1
, and specify the port only in theConnectionOptions::OPTION_ENDPOINT
. I don't know if this breaks some other connection types tho...