Do you really need the second Qpsmtpd::TcpServer object? Could you not do:
$plugin_loader->start_connection(); $plugin_loader->run();
in the child processes?
Possibly. I haven't tried. I just wanted to mirror the tcpserver setup as much as possible, so the child code, after duping stdin/stdout to the socket, is exactly the same as the old qpsmtpd code.
Though the performance gain there is practically zero.
Matt.
