php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71104 socket_import_stream(): does not mention NO SSL/TLS support
Submitted: 2015-12-12 18:21 UTC Modified: 2017-01-28 13:13 UTC
Votes:6
Avg. Score:4.2 ± 0.9
Reproduced:6 of 6 (100.0%)
Same Version:3 (50.0%)
Same OS:1 (16.7%)
From: contact at sshilko dot com Assigned:
Status: Open Package: Sockets related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: contact at sshilko dot com
New email:
PHP Version: OS:

 

 [2015-12-12 18:21 UTC] 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);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-12 18:22 UTC] contact at sshilko dot com
-Summary: does not mention NO SSL/TLS support +Summary: socket_import_stream(): does not mention NO SSL/TLS support
 [2015-12-12 18:22 UTC] contact at sshilko dot com
updated title
 [2016-02-21 19:51 UTC] adrian dot sandu at asandu dot eu
Any updates/workarounds ?
 [2017-01-28 13:13 UTC] cmb@php.net
-Package: Documentation problem +Package: Sockets related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 03:01:29 2024 UTC