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

ChristopherSchultz pushed a commit to branch use-posts-for-writes
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git

commit 81857eba05a3168735e2d0d36e69e48238ec08e1
Author: ChristopherSchultz <[email protected]>
AuthorDate: Tue Oct 20 22:13:29 2026 +0000

    Use correct error status
---
 native/common/jk_status.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/native/common/jk_status.c b/native/common/jk_status.c
index 9d26d4d6b..00c8e3c73 100644
--- a/native/common/jk_status.c
+++ b/native/common/jk_status.c
@@ -5078,6 +5078,10 @@ static int JK_METHOD service(jk_endpoint_t *e,
                    "Status worker '%s' failed to parse POST body",
                    w->name);
 
+            if (is_error) {
+                *is_error = JK_HTTP_SERVER_ERROR;
+            }
+
             JK_TRACE_EXIT(l);
             return JK_FALSE;
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to