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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Wed Dec 04 08:01:29 2024 UTC