且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Apache CXF客户端“连接重置”长期要求

更新时间:2023-09-19 15:33:16

问题是由分块机制,当请求大小超过阈值且服务器端不支持时,CXF将启用它。

The problem is caused by the chunking mechanism which gets enabled by CXF when the request size is beyond a threshold and which is not supported on server side.

这个分块可以是以编程方式禁用但是CXF中存在一个错误,使得编程配置

This chunking can be disabled programmatically but there is a bug in CXF which makes that programmatic configuration is not taken into account in case of SSL connection.

解决方案是通过 spring配置文件