Should escape \r\n in exception message, closes #332.
This commit is contained in:
parent
b52d854711
commit
8079b5def5
|
@ -202,11 +202,11 @@ public class MemcachedDecoder extends FrameDecoder {
|
|||
return request;
|
||||
} else {
|
||||
this.request = null;
|
||||
throw new StreamCorruptedException("Expecting \r\n after data block");
|
||||
throw new StreamCorruptedException("Expecting separator after data block");
|
||||
}
|
||||
} else {
|
||||
this.request = null;
|
||||
throw new StreamCorruptedException("Expecting \r\n after data block");
|
||||
throw new StreamCorruptedException("Expecting separator after data block");
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue