Let the rapiddiskd daemon to answer API requests without invoking rapiddisk executable #125
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. |
Beta Was this translation helpful? Give feedback.
-
This was addressed in #139. |
Beta Was this translation helpful? Give feedback.
-
Implemented in #139. |
Beta Was this translation helpful? Give feedback.
-
@matteotenca Thank you for closing this. And again, thank you for the wonderful and hard work to make this happen. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
as in the title, I believe it would be nice to avoid the invocation of the
rapiddisk
executable 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
Beta Was this translation helpful? Give feedback.
All reactions