mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
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…
x
Reference in New Issue
Block a user