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

Support for prepend, append, touch + cleaning #83

Merged
merged 3 commits into from
Apr 30, 2016
Merged

Support for prepend, append, touch + cleaning #83

merged 3 commits into from
Apr 30, 2016

Conversation

dterei
Copy link
Collaborator

@dterei dterei commented Apr 29, 2016

See individual commits.

@@ -53,17 +55,19 @@ exports.parseMessage = function(dataBuf) {
if (dataBuf.length < 24) {
return false;
}
var responseHeader = header.fromBuffer(dataBuf);
if (dataBuf.length < responseHeader.totalBodyLength + 24 || responseHeader.totalBodyLength < responseHeader.keyLength + responseHeader.extrasLength) {
var h = header.fromBuffer(dataBuf);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variables should be named meaningfully. If the issue is the if statement line length, break up the line instead

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Urgh, fine! :) so much noise.

@alevy
Copy link
Member

alevy commented Apr 29, 2016

Fix in master now. You should be able to just remove that commit in this branch.

@dterei dterei closed this Apr 29, 2016
@dterei dterei reopened this Apr 29, 2016
@dterei
Copy link
Collaborator Author

dterei commented Apr 29, 2016

K, should be good to go.

@dterei dterei merged commit 4edaa5d into memcachier:master Apr 30, 2016
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.

None yet

2 participants