-
Notifications
You must be signed in to change notification settings - Fork 356
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
Disconnected #265
Comments
I am on the Linux platform. The main program calls the dynamic library through dlopen、dlsym |
Can you show me a minimum compilable code that can reproduce the problem? Also please tell me which version of redis-plus-plus and hiredis are you using? B.T.W what do you mean the connection is gone? Regards |
You can test it ,write a main program to connect redis global variables to store connection information. Open the dynamic library in dlopen mode, and use the global variable in the dynamic library to call the redis setting or value viewing function. At this time, the global variable is not connected, and you need to connect again to call the setting viewing function. |
Sorry, but I do not quite understand your scenario. If you can share a minimum compilable code, I can do more help. Regards |
Also please check if you installed multiple versions of hiredis. Check this for reference. Regards |
Since there’s no update. I’ll close this issue. |
I connect redis in the running program. When I use it in the dynamic library, the connection is gone。I don't know if you have experienced it. Please help. Thank you!
The text was updated successfully, but these errors were encountered: