Hello, the attached patch fixes inetd mode. signal_pipe[] is not used in inetd mode, so it was left default-initialized to {0, 0}. Emptying "the pipe" would eat all input data.
The second hunk was already posted here by Michal Trojnara. Mirek
Miloslav Trmac a écrit :
Hello, the attached patch fixes inetd mode. signal_pipe[] is not used in inetd mode, so it was left default-initialized to {0, 0}. Emptying "the pipe" would eat all input data.
The second hunk was already posted here by Michal Trojnara.
This fixed my bug (reported as "Stunnel 4.10 + xinetd : Connection reset by peer"), thanks a lot!
Eric