-
Notifications
You must be signed in to change notification settings - Fork 21
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 useless OOM handling #13
Labels
Comments
silvioprog
added a commit
that referenced
this issue
Feb 1, 2019
silvioprog
added a commit
that referenced
this issue
Feb 3, 2019
silvioprog
added a commit
that referenced
this issue
Feb 3, 2019
silvioprog
added a commit
that referenced
this issue
Feb 3, 2019
silvioprog
added a commit
that referenced
this issue
Feb 4, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
there are some points which handles OOM in a pessimist way, for example:
src/sg_httpres.c#L153
.Such handling should be replaced by something like this:
so the programmer has a chance to decide how the OOM will be handled at run time. (it is already possible at build time by replacing the
oom()
macro too)The text was updated successfully, but these errors were encountered: