Let the rapiddiskd daemon to answer API requests without invoking rapiddisk executable #125
Closed
matteotenca
started this conversation in
Ideas
Replies: 4 comments 2 replies
|
Hello. That was the original thought until I discovered a memory leak in the libjansson code preventing it from properly freeing json objects. The cleanest way to do that was to fork into the executable and then exit with return code/stdout output. Reviewing my notes from 2 years ago... I am very suspicious of this json_decref if statement (in jansson.h): I observed this memory leak in version 2.13.1 and older builds. Unfortunately, I never got around to proving the root cause of the problem. |
2 replies
|
@matteotenca Thank you for closing this. And again, thank you for the wonderful and hard work to make this happen. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi there,
as in the title, I believe it would be nice to avoid the invocation of the
rapiddiskexecutable from the daemon. Can this be achieved by moving some code to an external library? I am not much into this.Just an idea!
Regards
All reactions