commit | 4763ffdf0407e1c697da77a10599a2aecf7dcb04 | [log] [tgz] |
---|---|---|
author | PiBa-NL <pba_2k3@yahoo.com> | Tue Nov 28 23:22:14 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 02 13:24:47 2017 +0100 |
tree | 3b017d2c24ed13a4d460ba88865843a3c8ffd49e | |
parent | 721d8e028606b11d9f57febf3c7a9d16870a3e0a [diff] |
BUG/MINOR: mworker: fix validity check for the pipe FDs Check if master-worker pipe getenv succeeded, also allow pipe fd 0 as valid. On FreeBSD in quiet mode the stdin/stdout/stderr are closed which lets the mworker_pipe to use fd 0 and fd 1. Additionally exit() upon failure to create or get the master-worker pipe. This needs to be backported to 1.8.