Skip to content

Fix ip & tcp header calculation in memcache command - #20

Closed
allenlz wants to merge 1 commit into
bmatheny:masterfrom
allenlz:8ebaec2ee24eb8a2e3c59826e5770863b0a00c39
Closed

Fix ip & tcp header calculation in memcache command#20
allenlz wants to merge 1 commit into
bmatheny:masterfrom
allenlz:8ebaec2ee24eb8a2e3c59826e5770863b0a00c39

Conversation

@allenlz

@allenlz allenlz commented Jun 3, 2013

Copy link
Copy Markdown

Hi, it's my first time to use pull request.

I'm impressed by memkeys's work.
Since we also need it to find hot keys, I studied it a little bit and focused on the memcache command processing.

I found it ignores some part in IP & TCP head. Although, it's not a big deal, as it only accept alpha bytes in following 'makeResponse' function.

But I need to process binary protocol, so I fixed it. Hope it helps.
And I also implemented mget support and binary protocol support. If you need it, I can send those as pull requests too.

@bmatheny

bmatheny commented Jun 3, 2013

Copy link
Copy Markdown
Owner

Hello, thank you for your PR. I think it might be more useful to see the patch as an 'Add Binary Protocol Support' patch. Do you think you could update it with the other changes for adding binary support?

@allenlz

allenlz commented Jun 4, 2013

Copy link
Copy Markdown
Author

sure. please see #21

@bmatheny

bmatheny commented Jun 5, 2013

Copy link
Copy Markdown
Owner

Closing in favor of #21

@bmatheny bmatheny closed this Jun 5, 2013
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