You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "ffang (via GitHub)" <gi...@apache.org> on 2026/10/16 13:51:11 UTC
[PR] CXF-8542: Add a regression test for MTOM attachment stream failures [cxf]
ffang opened a new pull request, #3593:
URL: https://github.com/apache/cxf/pull/3593
If the InputStream of an MTOM attachment's DataHandler throws an IOException while the server is writing the response, the client must not receive the truncated data as if it were complete. This has been fixed by CXF-9057, which aborts the response in that case.
The new test fails the attachment stream after 1 KB (response not yet committed) and after 1 MB (response committed), with both the default HttpClient conduit and the URLConnection conduit, and checks that the client either gets an exception from the invocation or an IOException while reading the attachment. Unlike the CXF-9057 tests, it uses an IOException (as in the report) at a deterministic position. It fails without the CXF-9057 changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CXF-8542: Add a regression test for MTOM attachment stream failures [cxf]
Posted by "ffang (via GitHub)" <gi...@apache.org>.
ffang merged PR #3593:
URL: https://github.com/apache/cxf/pull/3593
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CXF-8542: Add a regression test for MTOM attachment stream failures [cxf]
Posted by "ffang (via GitHub)" <gi...@apache.org>.
ffang commented on PR #3593:
URL: https://github.com/apache/cxf/pull/3593#issuecomment-6218398814
Thanks @coheigea !
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org