Kindly explain the expected behavior from an engine when the application forks.
In case of an engine that uses system-wide resources and cannot work properly when duplicated (forked), is it possible to enforce/hint the application in any way to follow init-after-fork? Is there any guidelines
for applications to perform fork and engine init in certain order? Difference in behavior of OpenSSL speed -multi application:
/* * In a forked execution, an engine might need to be * initialised by each child process, not by the parent. * So store the name here and run setup_engine() later on. */ From this, can it be inferred that OpenSSL doesn’t expect an engine to work across forks?
Considering an engine that cannot work across forks, what should be the way to go? Thanks, Ramkumar Balu |