Commit 95e74479 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[JM-1366] HTTP sessions dieing by timeout now clean up properly.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10396 b35dd754-fafc-0310-a699-88a17e54d16e
parent 472d093a
......@@ -155,10 +155,7 @@ public class HttpSession extends LocalClientSession {
* on the session ID.
*/
public void close() {
if (isClosed) {
return;
}
conn.close();
closeConnection();
}
/**
......@@ -667,6 +664,8 @@ public class HttpSession extends LocalClientSession {
}
isClosed = true;
conn.close();
if (pendingElements.size() > 0) {
failDelivery();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment