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

Remove use of exit() #34

Closed
shakthimaan opened this issue Apr 20, 2011 · 1 comment
Closed

Remove use of exit() #34

shakthimaan opened this issue Apr 20, 2011 · 1 comment

Comments

@shakthimaan
Copy link

Since, hiredis is a client library that will be used by other applications, it shouldn't invoke exit.

It would be better to return an error or simply a non-zero value that the application can check for.

@pietern
Copy link
Contributor

pietern commented Apr 21, 2011

This is now available on master, for the blocking API (it should be OOM-safe now). The async API will fail on OOM. I'm not going to tackle that one, since it relies on other libraries that might abort on OOM, reducing the value of an OOM-safe async API.

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