Re: release vibes?

2021-12-07 Thread Mladen Turk
On 07/12/2021 16:16, Mladen Turk wrote: On 06/12/2021 11:36, Stefan Eissing wrote: Friends of httpd, how do you feel about a release in the next two weeks? +1 Release early, release often Anyhow, who I'm I to say, not even metinioned on https://httpd.apache.org/contributors

Re: release vibes?

2021-12-07 Thread Mladen Turk
On 06/12/2021 11:36, Stefan Eissing wrote: Friends of httpd, how do you feel about a release in the next two weeks? +1 Release early, release often Regards -- ^TM

Re: release vibes?

2021-12-07 Thread Mladen Turk
On 06/12/2021 12:27, Noel Butler wrote: On 06/12/2021 20:36, Stefan Eissing wrote: Friends of httpd, how do you feel about a release in the next two weeks? Kind Regards, Stefan -1 Thats days before christmas, most testers and i'm sure devs will be in holiday mode, even if not, that

Re: [RESULT - PASS] Release httpd-2.4.48

2021-05-26 Thread Mladen Turk
Should have vote -1 Patch http://svn.apache.org/viewvc?rev=1889037=rev breaks Windows On 25/05/2021 19:58, Christophe JAILLET wrote: Hi all, With 8 binding PMC +1 votes, 5 additional +1 votes from the community, and no -1 votes, I'm pleased to report that the vote has PASSED to release

Re: Plan to add sandbox branch

2018-11-29 Thread Mladen Turk
On 27.11.2018. 12:23, Jim Jagielski wrote: In the coming week or so, I will be committing my load balance, load determination and discovery work to a sandbox trunk. Many people have asked for more info, so here we go. Thanks for the info. Like said, I'm for the idea for

Re: Load balancing and load determination

2018-11-07 Thread Mladen Turk
On 30.10.2018. 13:53, Jim Jagielski wrote: As some of you know, one of my passions and area of focus is on the use of Apache httpd as a reverse proxy and, as such, load balancing, failover, etc are of vital interest to me. Been a while, but seems I'm back :D Love the idea to have more

Re: Balancer Persist testing

2012-12-14 Thread Mladen Turk
On 12/14/2012 01:10 PM, Rainer Jung wrote: - The Used count in balancer manager drops to 0 after restart/reboot with persist on. It seems the slot management is not completely right. Not yet further investigated. IMHO this should actually be a desired behaviour. I suppose one would expect to

Re: Balancer Persist testing

2012-12-14 Thread Mladen Turk
On 12/14/2012 05:15 PM, Rainer Jung wrote: On 14.12.2012 17:11, Mladen Turk wrote: On 12/14/2012 01:10 PM, Rainer Jung wrote: - The Used count in balancer manager drops to 0 after restart/reboot with persist on. It seems the slot management is not completely right. Not yet further

Re: Status of Windows-work for 2.4.x

2012-07-18 Thread Mladen Turk
On 07/18/2012 05:49 PM, Jeff Trawick wrote: Is it possible that this results in flaky behavior depending on third-party software installed? Well, MSDN clearly states: quote Note: The function pointer for the AcceptEx function must be obtained at run time by making a call to the WSAIoctl

Re: [VOTE] Release Apache httpd 2.4.1

2012-02-15 Thread Mladen Turk
On 02/13/2012 02:56 PM, Jim Jagielski wrote: [X] +1: Good to go Non binding of course. Few windows glitches, but mostly build related. Regards -- ^TM

Re: Intent to TR 2.4.1

2012-02-13 Thread Mladen Turk
On 02/13/2012 04:55 AM, Gregg Smith wrote: On 2/12/2012 11:30 AM, Mladen Turk wrote: Note that I have used VC 6.0 + Server 2003R2 PSDK and build directly from .dsw/.dsp files. Also I used pcre sources from old httpd (the cmake build just sucks and I cannot make that working on windoze

Re: Intent to TR 2.4.1

2012-02-12 Thread Mladen Turk
On 02/12/2012 04:57 PM, Mario Brandt wrote: Bug 52402[1] isn't working yet. I wonder why it is marked as fixed in 2.4.x CHANGES[2] The shared memory stuff doesn't work yet on windows. Odd Behavior: 1. If mod_auth_digest is loaded and on Windows Vista/2008/7 do not try to start from console, it

mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Mladen Turk
Hi, mod_slotmem cannot work on windows by design. On windows we have two processes so the storage-grab/slotmem_grab will always fail because the inuse flag was already set in the parent, and since this is shared memory child will see it as used. On unixes fork is used so the inuse is set only

Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Mladen Turk
On 02/03/2012 11:46 AM, Jim Jagielski wrote: On Feb 3, 2012, at 4:25 AM, Mladen Turk wrote: Hi, mod_slotmem cannot work on windows by design. On windows we have two processes so the storage-grab/slotmem_grab will always fail because the inuse flag was already set in the parent, and since

Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Mladen Turk
On 02/03/2012 02:45 PM, Jim Jagielski wrote: On Feb 3, 2012, at 8:03 AM, Mladen Turk wrote: Right, seems that's not the reason for PR52402. Found the fix for it. The reason is the loop: while (s) { int i,j; proxy_balancer *balancer; sconf = s-module_config

Re: remove mod_heart* from 2.4?(was: 2.4.0 GA This week?)

2012-02-03 Thread Mladen Turk
On 01/03/2012 09:22 AM, Gregg L. Smith wrote: Since I have been the most vocal about this watchdog/hearmonitor/heartbeats on windows ... I should chime in. Is the issue still present and what the issue actually is. I have watchdog/hearmonitor/heartbeat working on windows using the current svn

Re: remove mod_heart* from 2.4?(was: 2.4.0 GA This week?)

2012-02-03 Thread Mladen Turk
On 02/04/2012 12:27 AM, William A. Rowe Jr. wrote: On 2/3/2012 12:51 PM, Gregg Smith wrote: a way of monitoring a cluster of servers and opening another way of balancing the load (lb_meathod_byheartbeat). This is what I see when I look at the bundle. With what external mechanisms that exist

Re: Win :: apr-util-1.4.1

2011-12-08 Thread Mladen Turk
On 12/08/2011 01:04 PM, Steffen wrote: Building out of the box on Windows including apr_crypto_oppenssl. Also apr_crypto_nss compiles fine, but have no nss3.lib here yet, so cannot link now. 1. You should use apr developers list http://apr.apache.org/mailing-lists.html 2. Use Mozilla's

Re: : apr-util-1.4.1 failes with Crypto

2011-12-08 Thread Mladen Turk
On 12/08/2011 03:47 PM, Steffen wrote: When APU-HAVE-CRYPTO = 0 and build project seperate it generates fine a apr_crypto_nss-1.dll (dynam) When APU-HAVE-CRYPTO = 1 and build project seperate it fails with: -- Build started: Project: apr_crypto_nss, Configuration: Release Win32 --

Re: Windows Laundry List pt3, mod_watchdog

2011-12-05 Thread Mladen Turk
On 12/05/2011 08:41 AM, William A. Rowe Jr. wrote: On 12/5/2011 1:22 AM, Mladen Turk wrote: Like said on another thread, give me couple of days and I'll fix the issue. Well, as soon as I compile httpd-2.4 on windows which might be tricky cause build procedure is completely broken

Re: Windows Laundry List pt3, mod_watchdog

2011-12-05 Thread Mladen Turk
On 12/05/2011 08:41 AM, William A. Rowe Jr. wrote: On 12/5/2011 1:22 AM, Mladen Turk wrote: Like said on another thread, give me couple of days and I'll fix the issue. Well, as soon as I compile httpd-2.4 on windows which might be tricky cause build procedure is completely broken

Re: Windows Laundry List pt3, mod_watchdog

2011-12-05 Thread Mladen Turk
On 12/04/2011 10:33 PM, Gregg L. Smith wrote: On 12/4/2011 8:46 AM, Rainer Jung wrote: Picking up this old discussion: Well, this is the same chunk of Win32 specific debugging code causing this module to crash yet again. Gregg: Can you tell us, in which line it is crashing? Debugger says

Re: Windows Laundry List pt3, mod_watchdog

2011-12-05 Thread Mladen Turk
On 12/05/2011 10:57 PM, Gregg L. Smith wrote: On 12/5/2011 5:15 AM, Mladen Turk wrote: Please backport to 2.4. Like said, already backported. Regards -- ^TM

Re: Are we there yet?

2011-12-04 Thread Mladen Turk
On 12/03/2011 08:32 AM, Gregg L. Smith wrote: On 12/2/2011 3:48 PM, Stefan Fritsch wrote: - modules docs - the follwing modules added since 2.2 lack documentation - mod_watchdog - mod_heartbeat - mod_heartmonitor - mod_lbmethod_heartbeat I vote these off the Windows boat, mod_watchdog crashes

Re: Are we there yet?

2011-12-04 Thread Mladen Turk
On 12/04/2011 06:37 PM, Jim Jagielski wrote: Let's shoot for an RC1 this week. I'll RM. Do we have bundled apr/apr-util versions defined? Regards -- ^TM

Re: Are we there yet?

2011-12-04 Thread Mladen Turk
On 12/04/2011 07:25 PM, Graham Leggett wrote: On 04 Dec 2011, at 8:03 PM, Mladen Turk wrote: Let's shoot for an RC1 this week. I'll RM. Do we have bundled apr/apr-util versions defined? Ideally we want apr-util v1.4.0, which is yet to be released. I've proposed to RM a release of apr-util

Re: Windows Laundry List pt3, mod_watchdog

2011-12-04 Thread Mladen Turk
On 12/04/2011 10:33 PM, Gregg L. Smith wrote: On 12/4/2011 8:46 AM, Rainer Jung wrote: Picking up this old discussion: On 03.07.2011 19:40, William A. Rowe Jr. wrote: On 7/1/2011 12:26 AM, Mladen Turk wrote: On 07/01/2011 06:31 AM, Gregg L. Smith wrote: Hi folks, Well, this is the same

Re: [VOTE] Release Apache httpd-2.3.13 as beta

2011-07-03 Thread Mladen Turk
On 07/03/2011 02:21 PM, Steffen wrote: The candidate Windows binary is now available at: http://www.apachelounge.com/viewtopic.php?p=18457 Not that it belongs here, but may I ask why the .rar? Regards -- ^TM

Re: Windows Laundry List pt3, mod_watchdog

2011-07-03 Thread Mladen Turk
On 07/03/2011 07:40 PM, William A. Rowe Jr. wrote: On 7/1/2011 12:26 AM, Mladen Turk wrote: On 07/01/2011 06:31 AM, Gregg L. Smith wrote: Attached patch just gets rid of it. This cannot be omitted. Getting the parent pid means we we are in the child process, so we must not init the parent

Re: Windows Laundry List pt3, mod_watchdog

2011-07-03 Thread Mladen Turk
On 07/03/2011 08:52 PM, William A. Rowe Jr. wrote: On 7/3/2011 1:49 PM, Mladen Turk wrote: I offered that to the httpd couple of years back, but the rejection was: Who will maintain windows nmake files IMHO those are few order of magnitude simpler then maintaining VS workspace/solutions

Re: Windows Laundry List pt3, mod_watchdog

2011-07-03 Thread Mladen Turk
On 07/03/2011 08:58 PM, William A. Rowe Jr. wrote: On 7/3/2011 1:52 PM, William A. Rowe Jr. wrote: Mladen, do you know anything of cl.exe's ability to generate dependencies? I've never looked before. I created an util

Re: Windows Laundry List pt3, mod_watchdog

2011-07-01 Thread Mladen Turk
On 07/01/2011 09:10 AM, Gregg L. Smith wrote: Hi Mladen, Ok, I'm just a dumb guy but for me, if it drops to the hard drive (it's built on my platform) it should at minimum load without crashing the server. Who said anything about being dumb. If it crashes on load, it should be fixed. Simple

Re: [VOTE] Release Apache httpd-2.3.13 as beta

2011-07-01 Thread Mladen Turk
On 07/01/2011 06:08 AM, Gregg L. Smith wrote: Hi Bill, Steffen, All I can add to this at the moment is this is happening in XP, I am running in Vista x86 just fine. I have not built on 2008 R2 x64 yet but I will assume (ouch) for now it will work fine there as well. Same here. XP/SP3 is

Re: [VOTE] Release Apache httpd-2.3.13 as beta

2011-07-01 Thread Mladen Turk
On 07/01/2011 07:57 PM, Steffen wrote: PCRE is now a dep. Download 8.12 from ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ and compile the pcre.dll with CMake options: BUILD_SHARED_LIBS and CMAKE_BUILD_TYPE RelWithDebInfo. That's ridiculous. WTF has httpd win32 port gone? Regards

Re: [VOTE] Release Apache httpd-2.3.13 as beta

2011-07-01 Thread Mladen Turk
On 07/01/2011 09:45 PM, Steffen wrote: No problem for me to distribute the non ASF(apr) deps at http://www.apachelounge.com/ Like pcre, lua, openssl and zlib. Right, and after so many years it is now impossible to build httpd from ASF source dist only. Since you cannot compile httpd without

Re: Windows Laundry List pt3, mod_watchdog

2011-06-30 Thread Mladen Turk
On 07/01/2011 06:31 AM, Gregg L. Smith wrote: Hi folks, Well, this is the same chunk of Win32 specific debugging code causing this module to crash yet again. I remember suggesting it be removed before, now I am a little more adamant about it because it is really not needed, IMO of course. If

Re: id=51247 Enhance mod_proxy and _balancer with worker status flag to only accept sticky session routes

2011-05-25 Thread Mladen Turk
On 05/25/2011 02:27 AM, Daniel Ruggeri wrote: I attached the patch to a bug opened by Cameron Stokes https://issues.apache.org/bugzilla/show_bug.cgi?id=48841 Just a quick note on the first thing I saw: +//worker-lbfactor = atoi(val); +worker-lbfactor = strtol(val, NULL, 10);

Re: Prior to apr 2.0 / httpd 2.4...

2011-03-20 Thread Mladen Turk
On 03/21/2011 12:47 AM, William A. Rowe Jr. wrote: Nobody has offered a reasonable response, let's try this again... the availability of pcre and expat are generally a both-or-neither proposition on most distributions. Ergo, any one of the following resolutions would restore logically

Re: PHP5.3.6

2011-03-18 Thread Mladen Turk
On 03/18/2011 04:12 PM, Rich Bowen wrote: On Mar 18, 2011, at 10:55 AM, Jeff Trawick wrote: What would it take, from our side or from Stefan's, to make it ok for us to say go here for Windows binaries? It surely seems that this would be a big win for both of us. AFAICT they do not

Re: PHP5.3.6

2011-03-18 Thread Mladen Turk
On 03/18/2011 04:43 PM, Jeff Trawick wrote: what if we add text to our download that says that official PHP binaries for Windows starting with 5.3.6 no longer work with our stable-ABI builds +1 Regards -- ^TM

Re: PHP5.3.6

2011-03-18 Thread Mladen Turk
On 03/18/2011 04:55 PM, Rich Bowen wrote: On Mar 18, 2011, at 11:48 AM, Mladen Turk wrote: On 03/18/2011 04:43 PM, Jeff Trawick wrote: what if we add text to our download that says that official PHP binaries for Windows starting with 5.3.6 no longer work with our stable-ABI builds +1

Re: PHP5.3.6

2011-03-18 Thread Mladen Turk
On 03/18/2011 05:19 PM, Graham Dumpleton wrote: On 18 March 2011 07:24, Rich Bowenrbo...@rcbowen.com wrote: If I read this right, this is a similar issue to what we have in the Python world with some Python extension modules on Windows. One discussion thread about it can be found at:

Re: official httpd VC9 builds

2011-01-31 Thread Mladen Turk
On 01/31/2011 11:54 AM, Ferenc Kovacs wrote: On Mon, Jan 31, 2011 at 10:54 AM, Nick Kew n...@webthing.com mailto:n...@webthing.com wrote: On 31 Jan 2011, at 09:39, Ferenc Kovacs wrote: does that mean that you can either support/provide the VC6 OR the VC9 builds, but not both?

Re: official httpd VC9 builds

2011-01-31 Thread Mladen Turk
On 01/31/2011 04:34 PM, William A. Rowe Jr. wrote: There are a host of reasons we never supported MSVCRn where n is an arbitrary value modified by Microsoft on a biannual basis. But indeed, at 2.4 we will be shipping to the then-shipping crt, not vc9. And the winner would be? Regards --

Re: official httpd VC9 builds

2011-01-31 Thread Mladen Turk
On 01/31/2011 04:36 PM, William A. Rowe Jr. wrote: On 1/31/2011 4:05 AM, Issac Goldstand wrote: I believe also that wrowe mentioned to me that we wanted to support command line (make) builds, and VC9 doesn't allow us to export makefiles. I'm +1 for making both VC6 and VC9 builds from 2.4 and

Re: official httpd VC9 builds

2011-01-31 Thread Mladen Turk
On 01/31/2011 06:20 PM, William A. Rowe Jr. wrote: On 1/31/2011 9:55 AM, Mladen Turk wrote: There is a solution to use DDK7.1 It can create binaries that links to MSVCRT, however this works for XP+ only. Which works... provided we continue on the makefile approach or use msbuild. Note

Re: official httpd VC9 builds

2011-01-31 Thread Mladen Turk
On 01/31/2011 07:33 PM, William A. Rowe Jr. wrote: On 1/31/2011 12:17 PM, Mladen Turk wrote: If we resist on using CRT stuff like strcpy_l/strcpy_s, _fstat64i32 and other weirdness from contemporary CRTs, we'd be fine. Actually most of those date back to msvcrt.dll or have been added over

Re: 2.4 and APR_HAS_THREADS, etc

2011-01-10 Thread Mladen Turk
On 01/07/2011 08:27 PM, Jim Jagielski wrote: For right now, APR_HAS_SHARED_MEMORY and APR_HAS_THREADS should be dropped for 2.3/2.4. I'd be happy with that for now ;) +1 I raised that question few years back and was told that the reason for (at least APR_HAS_THREAD) was not the lack of os

Re: Arranging mod_proxy_balancer in trunk

2010-04-07 Thread Mladen Turk
On 04/07/2010 03:31 PM, jean-frederic clere wrote: Hi, In mod_proxy_balancer after runtime = find_session_route(*balancer, r,route,sticky, url); There is a logic that belongs to the LB implementation, my idea is to add a apr_status_t (*updatelbstatus)(proxy_balancer *balancer, proxy_worker

Re: svn commit: r923712 - in /httpd/httpd/trunk/docs/manual: ./ mod/

2010-03-16 Thread Mladen Turk
On 03/16/2010 06:24 PM, Roy T. Fielding wrote: I thought the only people who ever capitalize HTTP in httpd are clueless lawyers. apache_1.2.4.tar.gz/ABOUT_APACHE The Apache HTTP Server Project http://www.apache.org/ June 1997 Seems the HTTPD is used for a long time Regards -- ^TM

Re: svn commit: r923712 - in /httpd/httpd/trunk/docs/manual: ./ mod/

2010-03-16 Thread Mladen Turk
On 03/16/2010 09:37 PM, William A. Rowe Jr. wrote: I thought the only people who ever capitalize HTTP in httpd are clueless lawyers. apache_1.2.4.tar.gz/ABOUT_APACHE The Apache HTTP Server Project http://www.apache.org/ June 1997 Seems the HTTPD is used for a long time I'm sorry,

Re: [vote] release 2.2.15?

2010-03-04 Thread Mladen Turk
On 03/04/2010 12:29 AM, Joe Orton wrote: I'm fairly happy with refusing client-initiated reneg regardless. +1 Explicit OpenSSL option e.g. SSL_OP_DISABLE_CLIENT_INITED_RENEGOTIATION would be helpful and we won't be needing info callback in that case (which doesn't get called from

Re: [vote] release 2.2.15?

2010-03-03 Thread Mladen Turk
On 03/02/2010 07:09 AM, William A. Rowe Jr. wrote: Candidate at the usual /dev/dist/ URL; Your votes please... +/-1 [ X] Release 2.2.15 Win32/Win64/Fedora12/Solaris10 I'll proceed to fight with win32 tomorrow, fighting with my linux vm was enough fun for one day :) BTW, I

Re: [vote] release 2.2.15?

2010-03-03 Thread Mladen Turk
On 03/03/2010 07:02 PM, William A. Rowe Jr. wrote: On 3/3/2010 11:50 AM, Stefan Fritsch wrote: On Wednesday 03 March 2010, Mladen Turk wrote: BTW, I wouldn't recommend to compile against 0.9.8m. openssl s_client 0.9.8m block on renegotiation Have you only tried 0.9.8l as client? It has

Re: [vote] release 2.2.15?

2010-03-03 Thread Mladen Turk
On 03/03/2010 10:34 PM, William A. Rowe Jr. wrote: On 3/3/2010 2:00 PM, Mladen Turk wrote: Right, and I'm afraid if SSLInsecureRenegotiation (default) isn't set while compiled with 0.9.8m one can easily create an DoS attack. Stop. Weather I stop or not it will not make that disappear

Re: [vote] release 2.2.15?

2010-03-03 Thread Mladen Turk
On 03/03/2010 11:01 PM, Joe Orton wrote: On Wed, Mar 03, 2010 at 06:31:36PM +, Dr Stephen Henson wrote: If I understand the code correctly it looks like Apache is already trapping and aborting client initiated renegotiations so this hang situation shouldn't arise. This is true for

Re: [vote] release 2.2.15?

2010-03-03 Thread Mladen Turk
On 03/03/2010 11:33 PM, William A. Rowe Jr. wrote: Seriously, I was hoping 0.9.8m will reject legacy clients, unless explicitly SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION is set, but it seems that's not the case or we are doing something wrong in mod_ssl. It rejects the renegotation. It is

Re: [vote] release 2.2.15?

2010-03-03 Thread Mladen Turk
On 03/03/2010 11:45 PM, William A. Rowe Jr. wrote: On 3/3/2010 4:44 PM, Mladen Turk wrote: Sure that could be the solution if there is no option to tell the server to make that decision. It's not the server's to make, this alert follows the TLS specification. Didn't meant that, but anyhow

Re: r833582

2009-11-17 Thread Mladen Turk
On 17/11/09 10:06, Plüm, Rüdiger, VF-Group wrote: I now see the following warning: ssl_engine_kernel.c: In function `ssl_callback_Info': ssl_engine_kernel.c:1943: warning: passing arg 1 of `SSL_state' discards qualifiers from pointer target type See the:

Re: balancer-manager and server-status feature request.

2009-11-16 Thread Mladen Turk
On 16/11/09 11:33, Mark Watts wrote: The statistics one gets from both /balancer-manager and mod_status are useful but of course only exist until httpd is restarted. It would be nice if they could be configured to periodically write some lines to the error log (at LogLevel info or so) with

Re: Httpd 3.0 or something else

2009-11-08 Thread Mladen Turk
On 06/11/09 20:07, Jim Jagielski wrote: I'd like we remove the entire forwarding proxy stuff for example. So we have mod_forward_proxy and mod_reverse_proxy? Interesting take. Would make some sense to make mod_proxy and top-level framework and forward/reverse as submodules. I'd like that

Re: Httpd 3.0 or something else

2009-11-05 Thread Mladen Turk
On 05/11/09 12:38, Graham Leggett wrote: Jim Jagielski wrote: Let's get 2.4 out. And then let's rip it to shreds and drop buckets/brigades and fold in serf. I think we should decide on exactly what problem we're trying to solve, before we start thinking about how it is to be solved. +1

Re: William Rowe Jr. is now V.P., Apache HTTP Server

2009-07-16 Thread Mladen Turk
On 16/07/09 00:46, Roy T. Fielding wrote: BE IT FURTHER RESOLVED, that William Rowe Jr. be and hereby is appointed to the office of Vice President, Apache HTTP Server, to serve in accordance with and subject to the direction of the Board of Directors and the Bylaws of the Foundation until

Re: Events, Destruction and Locking

2009-07-07 Thread Mladen Turk
Paul Querna wrote: This deals with removing an event from the pollset, but what about an event that had already fired, as I gave in the original example of a timeout event firing the same time a socket close event happened? In that case I suppose the only solution is to make the operations

Re: Where Do I Create Queues in MPM Worker

2009-07-07 Thread Mladen Turk
ricardo13 wrote: I want to modify MPM Worker (worker.c) to develop some scheduling algorithms. A first scheduling algorithm would be implement priority. Two queues (worker_queue1 and worker_queue2) of sockets where threads (workers) get all requests from worker_queue1 first, afterget all

Re: Where Do I Create Queues in MPM Worker

2009-07-06 Thread Mladen Turk
ricardo13 wrote: Anyone ?? We are all on a vacation, sorry. Hi all, I would like to know how I create other queue of requests ?? Where I create ?? worker.c ?? What in your terminology creation of other/another queue of requests. The only thing I can think of is the ap_sub_req API

Re: Events, Destruction and Locking

2009-07-06 Thread Mladen Turk
Paul Querna wrote: Can't sleep, so finally writing this email I've been meaning to write for about 7 months now :D Pools don't help, but don't really make it worse, and are good enough for the actual cleanup part -- the difficultly lies in knowing *when* you can cleanup an object. Pool pre

Re: Creating a new thread inside a module

2009-07-01 Thread Mladen Turk
shaniro herath wrote: Hi Iroshan and All, Same problem here. I passed function with infinite while loop when creating the thread . Thread creation is done inside a function of another module. But after call the module function thread also terminate. What are the steps that I have missed

Re: Creating a new thread inside a module

2009-06-30 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: See asp_module_lock - this is entire windows specific; I see. Nice trick. you are right that we don't have the API to pin the module in an apr-manner. That really shouldn't be all that hard to do, I'll look. The register_hook API seems

Re: Creating a new thread inside a module

2009-06-29 Thread Mladen Turk
h iroshan wrote: Hi All, I want to open a port to communicate my Apache hhtpd (2.2) with small software run on a separate machine .Without affecting the httpd how can i create a new thread to listen to that software. Also I want to start this thread when the mod_proxy_balancer is

Re: Creating a new thread inside a module

2009-06-29 Thread Mladen Turk
h iroshan wrote: Hi All Actually I need *to* modify *Apache* and *run* one custom background *thread*. In addition, my custom modules have *to* be able *to* access the shared memory and it should be done through the background *thread*. Did anybody do this before? Is *there* an example I can

Re: Creating a new thread inside a module

2009-06-29 Thread Mladen Turk
William A. Rowe, Jr. wrote: However it requires to be statically compiled so it can survive the child death. *That's* the reason for static?!? See mod_aspdotnet and several others for how to pin a particular .so module for the lifetime of the process, instead of per-restart. Why can't we

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-11 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: To clarify, it's no longer possible to pipe 'hugefile' through rotatelogs with 1MB granularity. This should at least be noted in the docs if the patch is accepted. Jim is traveling, it would be good to get his feedback Monday on your proposed

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-10 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: I'd leave rotatelogs alone, please. Its design is not flawed. But I think Jim was working on something which would release the file just as soon as its time is up, and that is useful across all of the architectures, not windows specific

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-10 Thread Mladen Turk
Dan Poirier wrote: Would wait_for_io_or_timeout() be a good candidate for apr? There is apr_wait_for_io_or_timeout but it uses the apr_file_t-timeout which can be set only for pipes and sockets. Also the Win32 code will work only for stdhandles because they are pipes. In essence the answer

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-10 Thread Mladen Turk
Plüm, Rüdiger, VF-Group wrote: Any particular reason why not using apr_wait_for_io_or_timeout at least on unix? See the answer I gave to Dan. It uses file internal timeout which we cannot set, so no it cannot be used. Regards -- ^(TM)

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-10 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Code was testes both on windows and linux and it works like a charm (rotation is done at exact time regardless of log events). Foolish question, but rather than waking up every second, isn't it more rational to compute the expiry of the current

rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread Mladen Turk
Hi, Currently rotatelogs (at least on windows) holds the initial log file by parent process (well it tries to rotate if something is written from parent which is impossible for access logs). I plan to use the apr_wait_for_io_or_timeout before calling the apr_file_read(f_stdin, ...). This would

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Hi, Currently rotatelogs (at least on windows) holds the initial log file by parent process (well it tries to rotate if something is written from parent which is impossible for access logs). I plan to use the apr_wait_for_io_or_timeout before

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Wouldn't it be better if we simply implement the mechanism to share the same handle between the parent and child? Since the parent does not receive any access log hits how would that prevent it from holding that handle forever? The parent's

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Why? Timeout on reading from stdin is a nice and clean way for making the rotation to happen even when there is no log entries fired that would break the block on stdin. Rotation would always happen at midnight, not at some random point of time

Re: mod_proxy / mod_proxy_balancer

2009-05-05 Thread Mladen Turk
jean-frederic clere wrote: Jim Jagielski wrote: On May 5, 2009, at 4:45 AM, jean-frederic clere wrote: Hi, There are 2 weird things in the logic. - In ap_proxy_add_worker_to_balancer() we make a copy of the worker, why not just the address? If you looks to child_init() in mod_proxy and

Re: what is in modules vs what is in the core

2009-03-31 Thread Mladen Turk
Paul Querna wrote: mod_watchdog is the latest offender in a series of modules that expose additional functions to the API. (mod_proxy and mod_cache do too!) So, you came back from different direction, cool :) If you really like to put the watchdog functionality inside the mpm (and IMO that's

Re: mod_watchdog API, was Re: svn commit: r759751 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

2009-03-30 Thread Mladen Turk
Paul Querna wrote: On Sun, Mar 29, 2009 at 10:44 PM, Paul Querna p...@querna.org wrote: Inside a MPM that does it natively, just use the registered list of providers, and implement the same behavoirs as the module. The problem with mpm is that (IIRC the proposal) it uses the current free

Re: mod_watchdog API, was Re: svn commit: r759751 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

2009-03-30 Thread Mladen Turk
Paul Querna wrote: On Mon, Mar 30, 2009 at 10:48 AM, Mladen Turk mt...@apache.org wrote: Paul Querna wrote: On Sun, Mar 29, 2009 at 10:44 PM, Paul Querna p...@querna.org wrote: Inside a MPM that does it natively, just use the registered list of providers, and implement the same behavoirs

Re: mod_watchdog API, was Re: svn commit: r759751 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

2009-03-30 Thread Mladen Turk
Jim Jagielski wrote: fine, disagree with that, but what are your thoughts on switching to the provider API? +1 to provider... it's one of the best parts of httpd But it uses the provider already :) Regards -- ^(TM)

Re: svn commit: r759711 - /httpd/httpd/trunk/os/unix/unixd.c

2009-03-30 Thread Mladen Turk
Jim Jagielski wrote: FWIW, this means that apr-1.4 is no longer viable for httpd-trunk. As of a few days ago, I could build with 1.4.x no longer. Are we *sure* we want to do that? I was under the impression that apr-2 is now mandatory, regardless of the apr-2 permission setter api.

Re: svn commit: r759711 - /httpd/httpd/trunk/os/unix/unixd.c

2009-03-30 Thread Mladen Turk
Plüm, Rüdiger, VF-Group wrote: IMHO we shouldn't require APR 2.0 for trunk (although trunk should be capable to run with 2.0). Apart from the other stuff you mentioned before it makes it much harder to cut 2.4. So I am -1 on this change until APR 2.0 is at least in beta state. So Mladen

Re: httpd -k start illegal option -- k

2009-03-29 Thread Mladen Turk
Ruediger Pluem wrote: On 03/28/2009 08:11 PM, Mladen Turk wrote: Current trunk gives the $ ./httpd -k start httpd: illegal option -- k Is there some new config directive that needs to be added since mpm redesign, or it's just a temporary bug? I guess it is bug that has something to do

Re: httpd -k start illegal option -- k

2009-03-29 Thread Mladen Turk
Ruediger Pluem wrote: $ ./httpd -k start httpd: illegal option -- k Is there some new config directive that needs to be added since mpm redesign, or it's just a temporary bug? I guess it is bug that has something to do with how ap_mpm_rewrite_args is now called. Well they were not

Re: mod_watchdog API, was Re: svn commit: r759751 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

2009-03-29 Thread Mladen Turk
Paul Querna wrote: On Sun, Mar 29, 2009 at 9:17 PM, mt...@apache.org wrote: Author: mturk Date: Sun Mar 29 19:17:30 2009 New Revision: 759751 URL: http://svn.apache.org/viewvc?rev=759751view=rev Log: Use child singleton watchdog for running the heartbeat module Modified:

httpd -k start illegal option -- k

2009-03-28 Thread Mladen Turk
Current trunk gives the $ ./httpd -k start httpd: illegal option -- k $ ./httpd -V Server version: Apache/2.3.3-dev (Unix) Server built: Mar 28 2009 19:59:29 Server's Module Magic Number: 20090208:1 Server loaded: APR 2.0.0-dev, APR-UTIL 2.0.0-dev Compiled using: APR 2.0.0-dev, APR-UTIL

Re: moving towards loadable MPMs

2009-03-24 Thread Mladen Turk
Jeff Trawick wrote: (no plans here to touch WinNT MPMs, and I don't see any compelling reason to leave it broken; it should build as before once the inevitable minor slips are corrected) The major problem with that is the huge amount of platform dependent code for managing the service,

Re: moving towards loadable MPMs

2009-03-24 Thread Mladen Turk
Jeff Trawick wrote: On Tue, Mar 24, 2009 at 12:41 PM, Mladen Turk mt...@apache.org mailto:mt...@apache.org wrote: Jeff Trawick wrote: (no plans here to touch WinNT MPMs, and I don't see any compelling reason to leave it broken; it should build as before once

Re: moving towards loadable MPMs

2009-03-24 Thread Mladen Turk
Paul Querna wrote: I was hoping someone will address the separation of child process management from the mpm. Majority of this stuff is common and duplicated across mpms while there can be an api for that thought. Yes, the simple mpm inteded to go there, and only uses APR functions for

Re: [PATCH] fix recognition of APR 2.x

2009-03-08 Thread Mladen Turk
William A. Rowe, Jr. wrote: If someone is shipping apr trunk, that's a big mistake (theirs, not ours, we'll still ship the true apr 2.0 at some point which will be grossly incompatible to such one-offs). Part of this is the desire by Paul to move the project to scons. I'm prepared to merge

Re: [PATCH] fix recognition of APR 2.x

2009-03-02 Thread Mladen Turk
Jeff Trawick wrote: I wouldn't be at all surprised if other folks are already using APR trunk with httpd trunk daily and I've missed something basic, so comments appreciated ;) Right, I hand-crafted this, so you have my +1 Anyhow, what about making some release apr-2 dependent so we can

Re: Problems with EOS optimisation in ap_core_output_filter() and file buckets.

2009-02-17 Thread Mladen Turk
Graham Dumpleton wrote: 2009/2/17 Mladen Turk mt...@apache.org: Graham Dumpleton wrote: 2009/2/17 Joe Orton jor...@redhat.com: I did used to perform a dup, but was told that this would cause problems with file locking. Specifically was told: I'm getting lost here. What has file locking got

Re: Problems with EOS optimisation in ap_core_output_filter() and file buckets.

2009-02-16 Thread Mladen Turk
Graham Dumpleton wrote: 2009/2/17 Joe Orton jor...@redhat.com: I did used to perform a dup, but was told that this would cause problems with file locking. Specifically was told: I'm getting lost here. What has file locking got to do with it? Does mod_wscgi rely on file locking somehow?

Re: svn commit: r741947 - in /httpd/httpd/trunk/modules/mappers: config9.m4 mod_watchdog.c mod_watchdog.h

2009-02-08 Thread Mladen Turk
Ruediger Pluem wrote: +} +if (w-is_running w-callbacks == NULL) { +/* This is hook mode watchdog + * running on WatchogInterval + */ +w-step += (apr_time_now() - curr); +if (w-step = wd_interval) { +if

  1   2   3   4   5   >