Skip to content

Add OpenSSL TLS configurable session resumption support#20296

Merged
bukka merged 1 commit intophp:masterfrom
bukka:openssl_tls_sessions
May 1, 2026
Merged

Add OpenSSL TLS configurable session resumption support#20296
bukka merged 1 commit intophp:masterfrom
bukka:openssl_tls_sessions

Conversation

@bukka
Copy link
Copy Markdown
Member

@bukka bukka commented Oct 25, 2025

This adds support for verious session options to stream ssl context. It allows setting new session callback and session data on client and get and delete session callbacks to server. The server also offers options to configure various session cache parameters.

RFC: https://wiki.php.net/rfc/tls_session_resumption_api

@bukka bukka force-pushed the openssl_tls_sessions branch 2 times, most recently from f45fee4 to 50a74dd Compare October 25, 2025 21:38
@bukka bukka force-pushed the openssl_tls_sessions branch from 50a74dd to df1f287 Compare December 22, 2025 20:11
@bukka bukka marked this pull request as ready for review December 22, 2025 21:05
@bukka bukka marked this pull request as draft January 29, 2026 22:12
@bukka bukka force-pushed the openssl_tls_sessions branch from df1f287 to 5441629 Compare January 29, 2026 22:26
@bukka bukka force-pushed the openssl_tls_sessions branch 2 times, most recently from f4ced33 to de5e40d Compare February 13, 2026 18:55
@bukka bukka marked this pull request as ready for review February 13, 2026 18:55
@bukka bukka requested a review from kocsismate as a code owner February 13, 2026 18:55
@bukka bukka force-pushed the openssl_tls_sessions branch from 4c19890 to 26ae4b8 Compare March 4, 2026 19:41
@bukka bukka force-pushed the openssl_tls_sessions branch from a3268f8 to 6d645b7 Compare April 24, 2026 21:30
bukka added a commit to bukka/php-src that referenced this pull request Apr 24, 2026
This adds support for various session options to the stream SSL context.
It allows setting a new session callback and session data on the client,
and get and remove session callbacks on the server. The server also offers
options to configure session cache parameters and the number of session
tickets. A new Openssl\Session class is introduced for session
import/export and introspection, along with Openssl\OpensslException
as the base exception for the extension.

RFC: https://wiki.php.net/rfc/tls_session_resumption_api

Closes phpGH-20296
bukka added a commit to bukka/php-src that referenced this pull request May 1, 2026
This adds support for various session options to the stream SSL context.
It allows setting a new session callback and session data on the client,
and get and remove session callbacks on the server. The server also offers
options to configure session cache parameters and the number of session
tickets. A new Openssl\Session class is introduced for session
import/export and introspection, along with Openssl\OpensslException
as the base exception for the extension.

RFC: https://wiki.php.net/rfc/tls_session_resumption_api

Closes phpGH-20296
@bukka bukka force-pushed the openssl_tls_sessions branch 2 times, most recently from 01ae0ba to f98444d Compare May 1, 2026 09:58
bukka added a commit to bukka/php-src that referenced this pull request May 1, 2026
This adds support for various session options to the stream SSL context.
It allows setting a new session callback and session data on the client,
and get and remove session callbacks on the server. The server also offers
options to configure session cache parameters and the number of session
tickets. A new Openssl\Session class is introduced for session
import/export and introspection, along with Openssl\OpensslException
as the base exception for the extension.

RFC: https://wiki.php.net/rfc/tls_session_resumption_api

Closes phpGH-20296
bukka added a commit to bukka/php-src that referenced this pull request May 1, 2026
This adds support for various session options to the stream SSL context.
It allows setting a new session callback and session data on the client,
and get and remove session callbacks on the server. The server also offers
options to configure session cache parameters and the number of session
tickets. A new Openssl\Session class is introduced for session
import/export and introspection, along with Openssl\OpensslException
as the base exception for the extension.

RFC: https://wiki.php.net/rfc/tls_session_resumption_api

Closes phpGH-20296
@bukka bukka force-pushed the openssl_tls_sessions branch from 39585cf to 624ccc9 Compare May 1, 2026 10:20
This adds support for various session options to the stream SSL context.
It allows setting a new session callback and session data on the client,
and get and remove session callbacks on the server. The server also offers
options to configure session cache parameters and the number of session
tickets. A new Openssl\Session class is introduced for session
import/export and introspection, along with Openssl\OpensslException
as the base exception for the extension.

RFC: https://wiki.php.net/rfc/tls_session_resumption_api

Closes phpGH-20296
@bukka bukka force-pushed the openssl_tls_sessions branch from 624ccc9 to bf7b4ab Compare May 1, 2026 12:12
@bukka bukka merged commit b1242c3 into php:master May 1, 2026
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant