You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2022/05/27 13:47:38 UTC

[tomcat-connectors] branch main updated: Fix length for placeholder value

This is an automated email from the ASF dual-hosted git repository.

rjung pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new dbc963b83 Fix length for placeholder value
dbc963b83 is described below

commit dbc963b83255f46da93b9438a8d8132fa478797d
Author: Rainer Jung <ra...@kippdata.de>
AuthorDate: Fri May 27 15:47:25 2022 +0200

    Fix length for placeholder value
---
 native/common/jk_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/native/common/jk_util.c b/native/common/jk_util.c
index 85b6589af..91cdd34d7 100644
--- a/native/common/jk_util.c
+++ b/native/common/jk_util.c
@@ -734,7 +734,7 @@ int jk_request_log(jk_ws_service_t *s, jk_logger_t *l,
                 rc = 1;
             } else if (s->request_id == NULL) {
                 request_id = "NO-ID";
-                rc = 1;
+                rc = 5;
             } else {
                 request_id = s->request_id;
                 rc = (int)strlen(request_id);


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org