This is actually a very good point. We should make the SO_REUSEPORT detection over the runtime.
I will put this comment into the change list. Thanks very much, Arkadiusz! Yingqi -----Original Message----- From: Arkadiusz Miśkiewicz [mailto:ar...@maven.pl] Sent: Tuesday, March 04, 2014 10:51 AM To: dev@httpd.apache.org Subject: Re: FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support On Tuesday 04 of March 2014, Jeff Trawick wrote: > For the configure-time check for 3.9 kernel: I think we'd also use > AC_TRY_COMPILE at configure time to confirm that the SO_REUSEPORT > definition is available, and not enable it if the system includes > doesn't define it. (Does that cause a problem for any significant > number of > people?) What if I build apache on newer kernel and run it on older? (not that uncommon in rpm/deb/other binary packaging system). It shouldn't be hard to detect SO_REUSEPORT support runtime, right? -- Arkadiusz Miśkiewicz, arekm / maven.pl