netty5/codec-memcache/src
Xiaoyan Lin e053b96b5c Set the length fields of memcache messages automatically
Motivation:

People need to set all length fields manually when creating a memcache message and it's error prone. See #2736 for more dicussion.

Modifications:

This patch adds the logic to update the keyLength, extrasLength and totalBodyLength when key, extras or content is set.

Result:

The length fields of memcache messages will be updated automatically.
2016-04-07 06:30:42 +02:00
..
main/java/io/netty/handler/codec/memcache Set the length fields of memcache messages automatically 2016-04-07 06:30:42 +02:00
test/java/io/netty/handler/codec/memcache/binary Set the length fields of memcache messages automatically 2016-04-07 06:30:42 +02:00