diff options
author | Stefan Eissing <icing@apache.org> | 2021-03-09 13:55:55 +0100 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2021-03-09 13:55:55 +0100 |
commit | 7c5e4c9ab2861dd877156be38edc1d110d234f68 (patch) | |
tree | 471c1be835bce6e8293d4157aee506bc9a41fb3d /modules/http2/h2_alt_svc.c | |
parent | lets try ASN1_STRING_data() for openssl 1.0.2 (diff) | |
download | apache2-7c5e4c9ab2861dd877156be38edc1d110d234f68.tar.xz apache2-7c5e4c9ab2861dd877156be38edc1d110d234f68.zip |
Using the new ap_ssl_conn_is_ssl() and ap_ssl_var_lookup() in all internal modules.
* leaving mod_nw_ssl and mod_ssl itself untouched
* removing mod_ssl.h includes where no longer necessary
* some modules might skip post_config hooks, but those were left in, even when empty now.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1887364 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/h2_alt_svc.c')
-rw-r--r-- | modules/http2/h2_alt_svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/http2/h2_alt_svc.c b/modules/http2/h2_alt_svc.c index 7f44100f36..0e7bc30f7f 100644 --- a/modules/http2/h2_alt_svc.c +++ b/modules/http2/h2_alt_svc.c @@ -98,7 +98,7 @@ static int h2_alt_svc_handler(request_rec *r) */ const char *alt_svc = ""; const char *svc_ma = ""; - int secure = h2_h2_is_tls(r->connection); + int secure = ap_ssl_conn_is_ssl(r->connection); int ma = h2_config_rgeti(r, H2_CONF_ALT_SVC_MAX_AGE); if (ma >= 0) { svc_ma = apr_psprintf(r->pool, "; ma=%d", ma); |