seanjensengrey / jmemcache-daemon

Automatically exported from code.google.com/p/jmemcache-daemon
Apache License 2.0
0 stars 0 forks source link

error in decoding request lines #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. send request where \r\n gets split because of mtu

What is the expected output? What do you see instead?
request is decoded correctly

What version of the product are you using? On what operating system?
> 1.0.0

Please provide any additional information below.
seems like an error in MemcachedCommandDecoder.eol()

check for readableBytes() >= MIN_BYTES_LINE is wrong.
it should be readbleBytes() - pos >= MIN_BYTES_LINE

Original issue reported on code.google.com by hun...@sipgate.de on 14 Nov 2013 at 2:38