Req #7321 [Fbk->Csd]: Please Add SSL support
| From: | garrettw87 at gmail dot com | Date: | Sun, 02 Nov 2014 20:02:15 +0000 |
| Subject: | Req #7321 [Fbk->Csd]: Please Add SSL support | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-11115@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=7321&edit=1
ID: 7321
Updated by: garrettw87@gmail.com
Reported By: wuxipaopao at gmail dot com
Summary: Please Add SSL support
-Status: Feedback
+Status: Closed
Type: Feature/Change Request
Package: Net_SmartIRC
Operating System: win XP
Package Version: 1.0.0
PHP Version: 5.0.4
-Assigned To:
+Assigned To: garrettw
Roadmap Versions:
New Comment:
-Status: Feedback
+Status: Closed
-Assigned To:
+Assigned To: garrettw
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Ok, you don't need to use setUseSockets() anymore.
Now there are a few ways to connect with SSL:
connect('ssl://server.domain.name', portNumber);
connect('ssl://server.ip', portNumber);
connect('ssl://server.ip.or.domain.name:portNumber');
and you can replace "ssl" with "tls" if your server supports it, and if
you want to use an IPv6 address, that works too -- just surround the
address portion with brackets, like 'ssl://[fe80::1]:6667' or something.
Previous Comments:
------------------------------------------------------------------------
[2014-10-27 06:35:17] garrettw
True, but you shouldn't have to change whether you use sockets or not.
Soon I will remove the need for "real" sockets entirely by replacing all
the socket
function calls with stream_socket_* stuff, and that will make it more
straight-forward.
------------------------------------------------------------------------
[2014-10-27 06:29:44] garrettw
-Status: Bogus
+Status: Feedback
------------------------------------------------------------------------
[2006-04-06 03:27:27] wuxipaopao at gmail dot com
I have found the solution.
setUseSockets( FALSE );
connect( 'ssl://the.server', 'the.ssl.port' );
------------------------------------------------------------------------
[2006-04-06 02:45:09] wuxipaopao at gmail dot com
Description:
------------
Please Add SSL support,so SmartIRC could connect to the server use SSL
like mIRC
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=7321&edit=1