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;
|
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;
|
||||||
|
|
Loading…
Reference in New Issue