[php-src] Issue #20367: OpenSSL Stream Context SSL Session Reuse

From: Date: Sun, 02 Nov 2025 19:50:28 +0000
Subject: [php-src] Issue #20367: OpenSSL Stream Context SSL Session Reuse
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-251165@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/20367
Author: tsmgeek

### Description

We have developed our own FTP client implementation using stream wrappers but we are unable to fully
support FTPS on some servers that enforce SSL Session Reuse on the DATA connection.

I have tried to capture the session somehow from the stream context but this is not available.

I can see this has been fixed for the native FTP ext https://github.com/php/php-src/pull/12851

It would be useful if we could capture this and re-use it for new stream sessions when passing
around context.

I am unsure if this already exists.

PHP 8.1/8.3


Thread (1 message)

  • tsmgeek
« previous php.bugs (#251165) next »