Hello,
a client setup such as this:
client = yes foreground = yes connect = example.com:80 exec = cat execargs = cat
causes stunnel-4.54 to fail with error:
Service [stunnel]: Inetd mode must define one endpoint
The attached patch fixes the problem for me. Dunno if the endpoint check is too lax for other cases then, though.