Bug 64783 - mod_ssl Environment variable HTTPD=on creation is not conditional on SSLOptions StdEnvVars
Summary: mod_ssl Environment variable HTTPD=on creation is not conditional on SSLOptio...
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 2.5-HEAD
Hardware: PC All
: P2 minor (vote)
Target Milestone: ---
Assignee: HTTP Server Documentation List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-01 23:38 UTC by sean
Modified: 2020-10-02 16:20 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sean 2020-10-01 23:38:04 UTC
ssl_engine_kernel.c

call to 
apr_table_setn(env, "HTTPS", "on");
is outside conditional block
if (dc->nOptions & SSL_OPT_STDENVVARS) { }

The documentation here:
http://httpd.apache.org/docs/current/mod/mod_ssl.html
says "This information is not provided by default for performance reasons. (See SSLOptions StdEnvVars, below.)"
Comment 1 sean 2020-10-01 23:50:05 UTC
variable "SSL_TLS_SNI" is in the same boat.

also the value the HTTPD takes (i.e. "on") does not seem to be documented.
Comment 2 Christophe JAILLET 2020-10-02 16:20:12 UTC
Correct.

Fixed in r1882199 on trunk and r1882201 in 2.4.x.
I've not added any details for the value of HTTPS. 'flag', even if not perfect, looks enough to me.

Thx for spotting it.