Dont remove offer at EOFException

This commit is contained in:
Manfred Karrer 2016-06-10 22:28:07 +02:00
parent 6057c20406
commit 0bc9a8a7f8

View File

@ -168,7 +168,11 @@ public class P2PDataStorage implements MessageListener, ConnectionListener {
"closeConnectionReason=" + closeConnectionReason +
" / isIntended=" + closeConnectionReason.isIntended +
" / Memory(MB): " + Profiler.getUsedMemory());
doRemoveProtectedExpirableData(protectedData, hashOfPayload);
// TODO We get closeConnectionReason TERMINATED which removes offers which should nto be removed
// TODO investigate why EOFException happens
//doRemoveProtectedExpirableData(protectedData, hashOfPayload);
} else {
log.debug("Remove data ignored as we don't have an entry for that data.");
}