(fix) numerous EAS fixes when connections are dropped before the EAS client receives the response (#3058, #2849)

This commit is contained in:
Ludovic Marcotte
2015-10-14 09:21:32 -04:00
parent c8c7aaa459
commit 8d85ca13df
9 changed files with 369 additions and 94 deletions
+11
View File
@@ -103,11 +103,22 @@ static EOAttribute *textColumn = nil;
}
+ (id) objectWithName: (NSString *) key inContainer: (id) theContainer
{
return [self objectWithName: key
inContainer: theContainer
useCache: YES];
}
+ (id) objectWithName: (NSString *) key inContainer: (id) theContainer useCache: (BOOL) useCache
{
SOGoCache *cache;
id o;
cache = [SOGoCache sharedCache];
if (!useCache)
[cache unregisterObjectWithName: key inContainer: theContainer];
o = [cache objectNamed: key inContainer: theContainer];
if (!o)