Log.debug("ServerCleanupTask is closing an incoming server session that has been idle for a long time. Last active: {}. Session to be closed: {}",session.getLastActiveDate(),session);
Log.debug("ServerCleanupTask is closing an outgoing server session that has been idle for a long time. Last active: {}. Session to be closed: {}",session.getLastActiveDate(),session);
Log.debug("Perform resumption on session {}. Closing session {}",otherSession,session);
session.close();
session.close();
}
}
...
@@ -405,7 +405,7 @@ public class StreamManager {
...
@@ -405,7 +405,7 @@ public class StreamManager {
Log.debug("Received acknowledgement from client: h={}",h);
Log.debug("Received acknowledgement from client: h={}",h);
if(!validateClientAcknowledgement(h)){
if(!validateClientAcknowledgement(h)){
Log.warn("Closing client session. Client acknowledges stanzas that we didn't send! Client Ack h: {}, our last stanza: {}",h,unacknowledgedServerStanzas.getLast().x);
Log.warn("Closing client session. Client acknowledges stanzas that we didn't send! Client Ack h: {}, our last stanza: {}, affected session: {}",h,unacknowledgedServerStanzas.getLast().x,session);
finalStreamErrorerror=newStreamError(StreamError.Condition.undefined_condition,"You acknowledged stanzas that we didn't send. Your Ack h: "+h+", our last stanza: "+unacknowledgedServerStanzas.getLast().x);
finalStreamErrorerror=newStreamError(StreamError.Condition.undefined_condition,"You acknowledged stanzas that we didn't send. Your Ack h: "+h+", our last stanza: "+unacknowledgedServerStanzas.getLast().x);