Bug #77390 [Com]: feof might hang on TLS streams in case of fragmented TLS records

From: Date: Mon, 31 Dec 2018 15:59:31 +0000
Subject: Bug #77390 [Com]: feof might hang on TLS streams in case of fragmented TLS records
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218710@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77390&edit=1 ID: 77390 Comment by: kelunik@php.net Reported by: kelunik@php.net Summary: feof might hang on TLS streams in case of fragmented TLS records Status: Assigned Type: Bug Package: OpenSSL related PHP Version: 7.2.13 Assigned To: kelunik Block user comment: N Private report: N New Comment: See https://github.com/php/php-src/pull/3729 Previous Comments: ------------------------------------------------------------------------ [2018-12-31 15:53:30] kelunik@php.net Description: ------------ See https://github.com/amphp/socket/pull/57 for a reproduction case. Test script: --------------- https://github.com/amphp/socket/pull/57 Expected result: ---------------- No hang. Actual result: -------------- Hangs. In this case permanently, because the server and client is in the same script. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77390&edit=1

« previous php.bugs (#218710) next »