]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Factor out logic to determine if request is using SSL/TLS and use it
authorJoe Orton <jorton@apache.org>
Mon, 16 Apr 2018 10:14:25 +0000 (10:14 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 16 Apr 2018 10:14:25 +0000 (10:14 +0000)
commitfb92787465b7b116e32ba99e676973c7513f6d0d
tree6f3ce4a0b2daacb220bb1a6e3edef053fe7b912d
parentd72c4bb7830149993f546e9c7e0ce558a1b3c3dd
Factor out logic to determine if request is using SSL/TLS and use it
consistently.

* modules/ssl/ssl_util.c (modssl_request_is_tls): New function.

* modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Use it.

* modules/ssl/mod_ssl.c (ssl_hook_http_scheme, ssl_hook_default_port):
  Use it.

PR: 61519

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1829250 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/mod_ssl.c
modules/ssl/ssl_engine_kernel.c
modules/ssl/ssl_private.h
modules/ssl/ssl_util.c