On Fri, Jul 05, 2019 at 01:39:21PM +0200, Ruediger Pluem wrote: > How much portable is this and do we have / should have something in > APR that does that portability? We probably should guard this with a > check for > > #ifndef CMSG_DATA > #error This module only works on unix platforms with the correct OS support > #endif
Ah, good call, I'd completely forgotten that mod_proxy_fdpass uses exactly the same technique. I'm guessing it's not really APR material since it's a quite Unix-specific. My two-decade-old copy of Stevens's UNP talks about differences between 4.4BSD and SVR4, but the API appears to be a POSIX standard these days. Regards, Joe