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

CLS command in pynsq #70

Open
kolyanu4 opened this issue Mar 26, 2014 · 2 comments
Open

CLS command in pynsq #70

kolyanu4 opened this issue Mar 26, 2014 · 2 comments

Comments

@kolyanu4
Copy link

I found in TCP protocol spec message CLS but in pynsq there is no method for this message.

CLS

Cleanly close your connection (no more messages are sent)

CLS\n

Success Responses:

CLOSE_WAIT

Error Responses:

E_INVALID
@mreiferson
Copy link
Member

yep, this should be part of the public API, thanks for reporting!

@crossjam
Copy link

+1, but piling on for a full disconnect/close operation on a Reader. CLS nsqd connections, close nsqlookupd conns, and clean up Tornado callbacks.

I half assed this last week, but it turned out to be trickier than I thought.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants