Bug #78051 [Fbk->NoF]: Disabling crypto on a crypto-enabled stream socket succeeds silently

From: Date: Sun, 01 Dec 2019 04:22:08 +0000
Subject: Bug #78051 [Fbk->NoF]: Disabling crypto on a crypto-enabled stream socket succeeds silently
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223978@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78051&edit=1 ID: 78051 Updated by: php-bugs@lists.php.net Reported by: info at charuru dot moe Summary: Disabling crypto on a crypto-enabled stream socket succeeds silently -Status: Feedback +Status: No Feedback Type: Bug Package: OpenSSL related Operating System: Windows 7 Ultimate x64 PHP Version: Irrelevant Assigned To: bukka Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2019-11-17 18:26:59] bukka@php.net I don't see anything when opening the links - I guess it probably expired. Can you paste it here? ------------------------------------------------------------------------ [2019-05-26 16:38:17] info at charuru dot moe This bug exists across all maintained versions. 7.2.18 is just the one I tested locally. The others were tested on Travis CI. ------------------------------------------------------------------------ [2019-05-22 18:00:52] info at charuru dot moe Description: ------------ When you try to disable encryption on a stream socket (with encryption enabled), the operation succeeds, however PHP reports this as failure. Both the server and client are able to read and write successfully after disabling encryption. Test script: --------------- server.php: https://hastebin.com/zuwamexero.xml client.php: https://hastebin.com/idadesujal.xml Expected result: ---------------- server: string(17) "Hello unencrypted" bool(true) string(15) "Hello encrypted" bool(true) string(17) "Hello unencrypted" client: int(17) bool(true) int(15) bool(true) int(17) Actual result: -------------- server: string(17) "Hello unencrypted" bool(true) string(15) "Hello encrypted" bool(false) string(17) "Hello unencrypted" client: int(17) bool(true) int(15) bool(false) int(17) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78051&edit=1

« previous php.bugs (#223978) next »