[php-src] Issue #20225: Send COM_RESET_CONNECTION in mysqlnd_conn_data::restart_psession

From: Date: Sun, 19 Oct 2025 19:04:50 +0000
Subject: [php-src] Issue #20225: Send COM_RESET_CONNECTION in mysqlnd_conn_data::restart_psession
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-251088@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/20225 Author: TimWolla ### Description Inspired by the mailing list thread at https://externals.io/message/128741. To make the use of persistent connections with MySQL somewhat safer, MySQLnd should send a connection reset when “restarting” a persistent session. According to https://dev.mysql.com/doc/c-api/8.4/en/mysql-reset-connection.html, MySQL should then take care of cleaning up all connection-specific state.

« previous php.bugs (#251088) next »