Should escape \r\n in exception message, closes #332.

This commit is contained in:
kimchy 2010-08-23 22:19:40 +03:00
parent b52d854711
commit 8079b5def5
1 changed files with 2 additions and 2 deletions

View File

@ -202,11 +202,11 @@ public class MemcachedDecoder extends FrameDecoder {
return request; return request;
} else { } else {
this.request = null; this.request = null;
throw new StreamCorruptedException("Expecting \r\n after data block"); throw new StreamCorruptedException("Expecting separator after data block");
} }
} else { } else {
this.request = null; this.request = null;
throw new StreamCorruptedException("Expecting \r\n after data block"); throw new StreamCorruptedException("Expecting separator after data block");
} }
} }
return null; return null;