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

Introduce .close method for redisContextFuncs #1094

Merged
merged 1 commit into from Sep 2, 2022

Conversation

pizhenwei
Copy link
Contributor

Currently, hiredis supports TCP/SSL/Unix, all of the connection types
use a single FD(int), close() is enough to close a connection. For the
further step, introduce .close method for redisContextFuncs, this
allows to close a complex connection context, for example RDMA.

Signed-off-by: zhenwei pi pizhenwei@bytedance.com

Currently, hiredis supports TCP/SSL/Unix, all of the connection types
use a single FD(int), close() is enough to close a connection. For the
further step, introduce .close method for redisContextFuncs, this
allows to close a complex connection context, for example RDMA.

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
@michael-grunder
Copy link
Collaborator

Changes look fine to me, and at first glance I think we can include them before v2.0.0.

We'll need to bump the SONAME but we need to do that for the next version anyway.

@pizhenwei
Copy link
Contributor Author

Changes look fine to me, and at first glance I think we can include them before v2.0.0.

We'll need to bump the SONAME but we need to do that for the next version anyway.

Hi @michael-grunder
I'm a little confused, could you please give me any detailed hint about the next step?

@michael-grunder
Copy link
Collaborator

Nothing needed from your end. I'll get the changes merged, the only question is if it'll be in the next release, which I'm going to tag soon

@michael-grunder michael-grunder merged commit fce8abc into redis:master Sep 2, 2022
@michael-grunder
Copy link
Collaborator

Merged, thanks!

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