我有一台运行嵌入式码头的CXF Web服务服务器。
客户端连接并向服务器发送几个成功的请求。
5-10秒后,客户端突然挂机。
客户端/服务器对所有请求重用相同的连接。
使用-Djavax.net.debug = all运行服务器后,在连接挂起之前,我注意到以下消息。

Keep-Alive-Timer, called close()
Keep-Alive-Timer, called closeInternal(true)
Keep-Alive-Timer, SEND TLSv1 ALERT:  warning, description = close_notify
Keep-Alive-Timer, WRITE: TLSv1 Alert, length = 22


有什么想法应该解决以禁用此Keep-Alive-Timer来关闭连接吗?

最佳答案

升级到cxf 3.1.0后,问题消失了。

10-07 12:43
查看更多