httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lu, Yingqi" <>
Subject RE: Time for 2.4.11
Date Fri, 09 Jan 2015 17:57:04 GMT
Hi Jim,

Thanks for your email. I think it should not be very hard to back port. After you trunked
the original patch last June, I was working with Yann Ylavic last November to fix some minor
issues. With current trunked code, there is no major API change to 2.4 version and we have
tested with multiple workloads and usage cases for all 4 existing MPMs. It looks good to us.

Please note, with current code, there is a new configurable flag called "ListenCoresBucketsRatio".
The default value is 0 which means SO_REUSEPORT is disabled. This is different than the original
patch. The reason Yann decided to choose the opt-in way because he finds it safer, especially
for backports to stable. Given this said, I think it would be a good idea to add some document
to introduce the feature and the flag itself. This would allow users to take advantage of

Please let me know if you have any questions. Again, thanks very much for the help, really

The whole work can be followed in three threads with name:
1. "[PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support"
2. "svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c
server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c"
3. "Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk"


-----Original Message-----
From: Jim Jagielski [] 
Sent: Friday, January 09, 2015 5:47 AM
Subject: Re: Time for 2.4.11

Let me look... how easy is the backport?
> On Jan 8, 2015, at 12:22 PM, Lu, Yingqi <> wrote:
> Hi All,
> Can we make the "SO_REUSEPORT" support into this new stable version? The first version
of the patch was trunked last June. After tests and modifications, I think it is ready to
> Please let me know what you think.
> Thanks,
> Yingqi
> -----Original Message-----
> From: Jim Jagielski [] 
> Sent: Thursday, January 08, 2015 3:12 AM
> To: httpd
> Subject: Time for 2.4.11
> Let's shoot for a T&R next week. The work will keep me warm :)

View raw message