Skip to content

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