[
https://jira.jboss.org/jira/browse/JBREM-1189?page=com.atlassian.jira.plu...
]
David Lloyd commented on JBREM-1189:
------------------------------------
A Connection represents multiple clients; the connection must remain open to drain all
existing requests. If the connection is dropped, all outstanding requests have an
indeterminate result. Just unbinding the server port isn't enough because that only
affects the creation of new Connections. To drain new Clients, we must keep the
connection up but refuse new client requests coming across.
Graceful connection close
-------------------------
Key: JBREM-1189
URL:
https://jira.jboss.org/jira/browse/JBREM-1189
Project: JBoss Remoting
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: r3 core: api, r3 core: remote
Reporter: David Lloyd
Fix For: 3.1.0.Beta1
Design a mechanism for graceful connection shutdown. This could work in one of a few
ways:
1. Refuse new clients, immediately close all clients, allow outstanding requests to
finish
2. Refuse new clients, keep connection up until all clients are closed and all
outstanding requests to finish
#1 might be better - since requests have a finite lifespan but clients can hang around
indifinitely.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira