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

response.header.status == 0x20 #43

Closed
chylvina opened this issue Feb 21, 2014 · 1 comment
Closed

response.header.status == 0x20 #43

chylvina opened this issue Feb 21, 2014 · 1 comment

Comments

@chylvina
Copy link

Hi, I found this code in server.js line 82:

...
} else if (response.header.status == 0x20) {
...

there is no status 0x20 specified in the protocol, what does it mean?

@alevy
Copy link
Member

alevy commented Feb 21, 2014

a 0x20 status code means authentication is required in order to continue: https://github.com/memcached/memcached/blob/master/protocol_binary.h#L71

(For the future, I'd rather answer these sorts of questions (clarifications on the code or protocol) over e-mail rather than issues)

@alevy alevy closed this as completed Feb 21, 2014
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

No branches or pull requests

2 participants