This is an automated email from the ASF dual-hosted git repository. robertlazarski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-rampart.git
commit 334a2963f4f541a1369e750b8f46ca3b8b1926c3 Author: Robert Lazarski <[email protected]> AuthorDate: Fri Nov 13 16:09:13 2026 -1000 Send integration test requests with Content-Length, not chunked The test client repository had no axis2.xml, so clients ran on the built-in defaults and chunked every request. The servlet answers before the terminating chunk arrives on a busy host, Jetty 12 then closes the connection as unconsumed, and the next pooled request fails with a broken pipe. Content-Length framing avoids the race; the servlet-side fix belongs in Axis2. Co-Authored-By: Claude Fable 5.1 <[email protected]> --- modules/rampart-integration/pom.xml | 1 + modules/rampart-integration/src/test/resources/conf/axis2.xml | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/rampart-integration/pom.xml b/modules/rampart-integration/pom.xml index ea5ae1f6..4cf525f5 100644 --- a/modules/rampart-integration/pom.xml +++ b/modules/rampart-integration/pom.xml @@ -71,6 +71,7 @@ <configuration> <modules>addressing,rampart,rahas</modules> <outputDirectory>target/test-resources/rampart_client_repo</outputDirectory> + <axis2xml>src/test/resources/conf/axis2.xml</axis2xml> </configuration> </execution> <execution> diff --git a/modules/rampart-integration/src/test/resources/conf/axis2.xml b/modules/rampart-integration/src/test/resources/conf/axis2.xml index fafdb7b1..4ce663d0 100755 --- a/modules/rampart-integration/src/test/resources/conf/axis2.xml +++ b/modules/rampart-integration/src/test/resources/conf/axis2.xml @@ -141,12 +141,16 @@ <transportSender name="http" class="org.apache.axis2.transport.http.impl.httpclient5.HTTPClient5TransportSender"> <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> - <parameter name="Transfer-Encoding" locked="false">chunked</parameter> + <!-- Not chunked: the servlet answers before the terminating chunk arrives, and + Jetty 12 then closes the connection as unconsumed, so the next pooled + request fails with a broken pipe. Content-Length avoids the race. --> </transportSender> <transportSender name="https" class="org.apache.axis2.transport.http.impl.httpclient5.HTTPClient5TransportSender"> <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> - <parameter name="Transfer-Encoding" locked="false">chunked</parameter> + <!-- Not chunked: the servlet answers before the terminating chunk arrives, and + Jetty 12 then closes the connection as unconsumed, so the next pooled + request fails with a broken pipe. Content-Length avoids the race. --> </transportSender> <!-- <transportSender name="jms" class="org.apache.axis2.transport.jms.JMSSender"/> -->
