-*- coding: utf-8 -*-
Changes with Apache 2.5.0
+ *) mod_logio: Fix logging of %^FB (time to first byte) on the first request on
+ an SSL connection. PR 58454.
+ [Konstantin J. Chernov <k.j.chernov gmail.com>]
+
*) mod_ssl: Support compilation against libssl built with OPENSSL_NO_SSL3,
and change the compiled-in default for SSL[Proxy]Protocol to "all -SSLv3",
in accordance with RFC 7568. PR 58349, PR 57120. [Kaspar Brand]
logio_config_t *cf = ap_get_module_config(c->conn_config, &logio_module);
cf->bytes_out += bytes;
- if (!cf->first_byte_seen) {
- /* cleared during log_transaction, after mod_log_config */
+ /* writes for handshake i/o, before cf->r is set in post_read_request, don't count */
+ if (cf->r && !cf->first_byte_seen) {
+ /* cleared during log_transaction with cf->r, after mod_log_config */
+ logio_dirconf_t *conf = (logio_dirconf_t*)
+ ap_get_module_config(cf->r->per_dir_config, &logio_module);
cf->first_byte_seen = 1;
-
- if (cf->r) {
- logio_dirconf_t *conf = (logio_dirconf_t*)
- ap_get_module_config(cf->r->per_dir_config, &logio_module);
- if (conf && conf->track_ttfb) {
- cf->ttfb = apr_time_now() - cf->r->request_time;
- }
+ if (conf && conf->track_ttfb) {
+ cf->ttfb = apr_time_now() - cf->r->request_time;
}
}
}