]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Log the correct timeout
authorRuediger Pluem <rpluem@apache.org>
Tue, 14 Sep 2021 08:58:55 +0000 (08:58 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 14 Sep 2021 08:58:55 +0000 (08:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893333 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_session.c

index 3284aa2ff642c1bdadee6cf864d7e8911607eb82..dc883b5b96f9132c19bcc6e6312640936f22ea1b 100644 (file)
@@ -1717,8 +1717,8 @@ static void transit(h2_session *session, const char *action, h2_session_state ns
                     timeout = session->s->timeout;
                     update_child_status(session, SERVER_BUSY_READ, "idle");
                     ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, session->c, 
-                                  H2_SSSN_LOG("", session, "enter idle, timeout = %d sec"), 
-                                  (int)apr_time_sec(H2MAX(session->s->timeout, session->s->keep_alive_timeout)));
+                                  H2_SSSN_LOG("", session, "enter idle, timeout = %d sec"),
+                                  (int)apr_time_sec(timeout));
                 }
                 else if (session->open_streams) {
                     s = "timeout";