Re: Apache 2.4 adoption revisited -- now 16.4% of Apache sites

2015-03-13 Thread Jacob Perkins
I can tell you at cPanel, we’ve had our default Apache version as 2.2 for a long time. We’ll be making a change to make 2.4 the default on new installations soon. Currently, we have around 90% of our clients on 2.2. By the end of next year, I’m looking to have 90% of our customers on 2.4. Th

Re: apr_pollcb

2015-03-13 Thread Ivan Zhakov
On 13 March 2015 at 14:01, Jim Jagielski wrote: > No doubt pollcb is a MUCH nicer interface. > Probably. I just wanted to noted the pollcb interface is hard to implement using IOCP on Windows: it require additional buffering. While IOCP is most performant API for sockets on Windows. -- Ivan Zha

Re: apr_skiplist dependency

2015-03-13 Thread Yann Ylavic
On Fri, Mar 13, 2015 at 12:00 PM, Jim Jagielski wrote: > That is a nice hack... How about if instead of that, we > simply pull into httpd skiplist, and then when APR's version > achieves parity, we use that. Is it still needed? Once/if we require an upper APR version (but even now with an APR_VE

Re: apr_skiplist dependency

2015-03-13 Thread Jim Jagielski
That is a nice hack... How about if instead of that, we simply pull into httpd skiplist, and then when APR's version achieves parity, we use that. If that sounds OK, I'll do it on Monday.

Re: apr_pollcb

2015-03-13 Thread Jim Jagielski
No doubt pollcb is a MUCH nicer interface. > On Mar 12, 2015, at 6:49 PM, Paul Querna wrote: > > right, libuv[1] is a good example of an IO completion API[2] that works > across both epoll/kqueue and IOCP. There have been a couple offhand > discussions about libuv on httpd-dev, but no one is

Re: apr_skiplist dependency

2015-03-13 Thread Yann Ylavic
That is: Index: server/mpm/event/event.c === --- server/mpm/event/event.c(revision 1666294) +++ server/mpm/event/event.c(working copy) @@ -1471,6 +1471,15 @@ static int indexing_compk(void *ac, void *b) return ((*t1 < t2)

Re: apr_skiplist dependency

2015-03-13 Thread Yann Ylavic
I think I have an acceptable solution for still APR-1.5's skiplists (having insert() with addne semantic) in httpd. For add semantic, simply use the following compare function and insert_compare(): static int indexing_add_comp(void *a, void *b) { apr_time_t t1 = (apr_time_t) (((timer_event_t *