Trustin Lee
e556958abc
Fix a buffer leak in BinaryMemcacheEncoderTest
...
BinaryMemcacheEncoderTest.shouldEncodeContent() did not release one of
the three buffers.
2015-08-29 11:54:01 +09:00
Trustin Lee
cde319dabd
Adhere to our getter/setter naming rules
...
Motivation:
Persuit for consistent method naming across all classes
Modifications:
Remove 'get' prefix for the getter methods in codec-memcache
Result:
More consistent method naming
2014-06-24 16:10:32 +09:00
Michael Nitschinger
37ee6ef79a
[codec-memcache] Simplify object hierachy and remove Headers.
...
This changeset removes the separate message headers and merges the
field directly into the messages. This greatly simplifies the
object hierachy and also saves header allocations in the pipeline.
2014-03-04 13:05:30 +01:00
Trustin Lee
df346a023b
Change the return type of EmbeddedChannel.read*() from Object to an ad-hoc type parameter
...
.. so that there's no need to explicitly down-cast.
Fixes #2067
2014-02-13 17:19:26 -08:00
Michael Nitschinger
b17a765615
codec-memcache: prefix abstract classes with Abstract.
2014-02-13 17:09:21 -08:00
Trustin Lee
9840de82f0
Fix another buffer leak in BinaryMemcacheDecoderTest
2014-02-13 17:05:25 -08:00
Trustin Lee
b592a18cd1
Fix buffer leaks in BinaryMemcacheDecoderTest
2014-02-13 17:05:19 -08:00
Trustin Lee
acf7dbf811
Fix buffer leaks in BinaryMemcacheEncoderTest
2014-02-13 17:04:58 -08:00
Trustin Lee
fab56bae94
Fix a buffer leak in BinaryMemcacheObjectAggregatorTest
2014-02-13 17:03:05 -08:00
Trustin Lee
d417e3dbd0
Fix a buffer leak in BinaryMemcacheObjectAggregatorTest
2014-02-13 17:02:58 -08:00
Michael Nitschinger
a1526bedd3
codec-memcache: removed println in test case.
2014-02-13 16:51:45 -08:00
Michael Nitschinger
183bfe8f9f
codec-memcache: fix decoding issue for value parts.
...
This changeset fixes an issue when decoding would stop if the value
comes separated in two or more packets, leading to invalid bytes read.
2014-02-13 16:51:37 -08:00
Trustin Lee
71b6439c66
Fixed various inspector warnings
2014-02-13 15:38:52 -08:00
Trustin Lee
3dd7fba320
Moved constant classes out of util
2014-02-13 15:38:20 -08:00
Michael Nitschinger
20f6f7e018
Implementing the Binary Memcache protocol
...
This changeset implements the full memcache binary protocol spec, including
a first batch of tests. Ascii protocol and more coverage and helper classes
will follow.
2014-02-13 15:29:38 -08:00