[php-src] PR #22802: Add OpenSSL TLS 1.3 early data (0-RTT) support

From: Date: Sun, 19 Jul 2026 12:32:27 +0000
Subject: [php-src] PR #22802: Add OpenSSL TLS 1.3 early data (0-RTT) support
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37147@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22802 Author: bukka This builds on the session resumption support to let clients send and servers accept TLS 1.3 early data through the stream SSL context. Clients set the early_data context option (a string) to send 0-RTT data, which is only sent when the resumed session allows it. Servers enable acceptance with max_early_data and receive the data through the early_data_cb callback, so nothing is buffered on the stream. The outcome is reported as accepted, rejected or not_sent in the early_data key of the crypto stream_get_meta_data() array. Enabling early data also shares the server SSL_CTX across accepted connections and keeps the session cache on, both of which 0-RTT resumption requires.

« previous php.git-pulls (#37147) next »