Richard Zowalla created OPENJPA-3086:
----------------------------------------
Summary: TCPRemoteCommitProvider: add a read timeout for receiving
connections
Key: OPENJPA-3086
URL: https://issues.apache.org/jira/browse/OPENJPA-3086
Project: OpenJPA
Issue Type: Improvement
Reporter: Richard Zowalla
Assignee: Richard Zowalla
Fix For: 4.3.0
A receiving connection of the TCP remote commit provider waits for data without
a time limit, so a peer that stops sending in the middle of a message keeps a
receiver thread (and one of the MaxReceiveConnections) until TCP keep-alive
closes the connection. Add a configurable read timeout (SO_TIMEOUT) while a
message is being read, and close the connection when it expires, while idle
connections between messages stay open as today.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)