Skip to content

Commit 4092496

Browse files
committed
Fix issue gwhalin#57
1 parent ed5c305 commit 4092496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/schooner/MemCached/AscIIClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ private void loadMulti(LineInputStream input, Map<String, Object> hm, boolean as
11841184

11851185
// store the object into the cache
11861186
hm.put(key, o);
1187-
} else if (END.equals(line)) {
1187+
} else if (END.startsWith(line)) {
11881188
break;
11891189
}
11901190
}
@@ -1344,7 +1344,7 @@ private Map<String, Map<String, String>> stats(String[] servers, String command,
13441344
String key = info.length > 1 ? info[1] : null;
13451345
String value = info.length > 2 ? info[2] : null;
13461346
stats.put(key, value);
1347-
} else if (END.equals(line)) {
1347+
} else if (END.startsWith(line)) {
13481348
// finish when we get end from server
13491349
break;
13501350
} else if (line.startsWith(ERROR) || line.startsWith(CLIENT_ERROR) || line.startsWith(SERVER_ERROR)) {

0 commit comments

Comments
 (0)