Doc #71104 [Com]: socket_import_stream(): does not mention NO SSL/TLS support
| From: | adrian dot sandu at asandu dot eu | Date: | Sun, 21 Feb 2016 19:51:40 +0000 |
| Subject: | Doc #71104 [Com]: socket_import_stream(): does not mention NO SSL/TLS support | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13203@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71104&edit=1
ID: 71104
Comment by: adrian dot sandu at asandu dot eu
Reported by: contact at sshilko dot com
Summary: socket_import_stream(): does not mention NO SSL/TLS
support
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Any updates/workarounds ?
Previous Comments:
------------------------------------------------------------------------
[2015-12-12 18:22:05] contact at sshilko dot com
updated title
------------------------------------------------------------------------
[2015-12-12 18:21:26] contact at sshilko dot com
Description:
------------
---
From manual page: http://www.php.net/function.stream-set-timeout
---
socket_import_stream(): cannot represent a stream of type tcp_socket/ssl as a Socket Descriptor
Test script:
---------------
$stream = stream_socket_client('tls://google.com:443');
$sock = socket_import_stream($stream);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71104&edit=1