Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for storage flags in Codec #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thenobody
Copy link

Added setting and reading of the storage flags (as described in https://github.com/memcached/memcached/blob/master/doc/protocol.txt) into the public API.
The intended point of usage is in the Codec trait's methods (i.e. serde operations should be aware of the flags, such as compression and similar).

Few notes:

  • FakeMemcached internals don't support the flags so ignoring/setting 0s where needed
  • unit test MemcachedSuite.increment-default is failing (it seems that it's been failing in previous builds as well)
  • the default codecs in BaseCodecs accept but otherwise ignore the flag values

@lloydmeta
Copy link
Collaborator

It looks like #50 incorporates the flags on Codec idea.

@alexandru alexandru force-pushed the master branch 3 times, most recently from d97b560 to 18da705 Compare August 16, 2017 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants