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.)"
variable "SSL_TLS_SNI" is in the same boat. also the value the HTTPD takes (i.e. "on") does not seem to be documented.
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.