summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorDaniel Lowrey <rdlowrey@php.net>2015-03-09 22:30:38 -0600
committerDaniel Lowrey <rdlowrey@php.net>2015-03-09 23:15:57 -0600
commit676a5059b215c2d725ed219d4258d8221759ee0c (patch)
tree5a00d43b3ec1d0522d5963f37c93bbc0ea494762 /ext/pcre/php_pcre.c
parentf678c14a6c570cd6511ec3b9c1db4bf1a185f2d9 (diff)
downloadphp-git-676a5059b215c2d725ed219d4258d8221759ee0c.tar.gz
Add crypto info to stream_get_meta_data() result on encrypted streams
A "crypto" key is added to the output of stream_get_meta_data() calls when invoked using a stream on which crypto is currently active. The new key's associated array contains the following keys: - protocol (string e.g. TLSv1.2, TLSv1.1, etc) - cipher_name (string) - cipher_bits (int) - cipher_version (string) If the TLS ALPN extension was used to successfully negotiate an application protocol that protocol's identifier is stored in the following key: - alpn_protocol If no ALPN protocol was negotiated the "alpn_protocol" key is not present in the crypto meta data array. More meta information concerning the stream's active encryption state may be added in the future.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions