[php-src] master: Merge branch 'PHP-8.5'

From: Date: Mon, 21 Sep 2026 20:29:56 +0000
Subject: [php-src] master: Merge branch 'PHP-8.5'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141351@lists.php.net to get a copy of this message
Author: ndossche (ndossche) Date: 2026-09-21T22:29:49+02:00 Commit: https://github.com/php/php-src/commit/6763c25d1ae4bec07cfe169d683be16541476a25 Raw diff: https://github.com/php/php-src/commit/6763c25d1ae4bec07cfe169d683be16541476a25.diff Merge branch 'PHP-8.5' * PHP-8.5: Fix GH-23619: ext/ftp: cryptic error on servers that don't support TLS session resumption on data connection Changed paths: M ext/ftp/ftp.c Diff: diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index eaa1768156eb..943ab41e4c49 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -1782,7 +1782,10 @@ static databuf_t* data_accept(databuf_t *data, ftpbuf_t *ftp) /* get the session from the control connection so we can re-use it */ session = ftp->last_ssl_session; if (session == NULL) { - php_error_docref(NULL, E_WARNING, "data_accept: failed to retrieve the existing SSL session"); + php_error_docref(NULL, E_WARNING, "data_accept: failed to retrieve the existing SSL session from the control connection. " + "The server does not support TLS session resumption on the data connection, " + "which is necessary to protect against session data stealing. " + "PHP does not support such configuration."); SSL_free(data->ssl_handle); return 0; }

« previous php.cvs (#141351) next »