Re: svn commit: r425454 - in /httpd/httpd/trunk: CHANGES modules/proxy/NWGNUproxyajp modules/proxy/ajp_utils.c modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h modules/proxy/mod_proxy_ajp.c modules

2006-07-26 Thread Mladen Turk
Joe Orton wrote: On Tue, Jul 25, 2006 at 04:50:07PM -, Mladen Turk wrote: Author: mturk Date: Tue Jul 25 09:50:07 2006 New Revision: 425454 URL: http://svn.apache.org/viewvc?rev=425454&view=rev Log: Added cping/cpong support for the AJP protocol. This is missing a prototype in a

Re: proxy balancer backports for 2.2.3

2006-07-26 Thread Mladen Turk
William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: All of this sounds great! But I'm planning to T&R by Wednesday, it's just been way too long since we've had a release. Pathetic really :) Just to make sure 2.2.3 and 2.0.59 are rock solid, I'll slide this to Thursday morning. Please g

Re: proxy balancer backports for 2.2.3

2006-07-26 Thread Mladen Turk
Nick Kew wrote: On Wednesday 26 July 2006 11:02, Mladen Turk wrote: There are lots of things to backport. IMHO its the entire HEAD, and spread over the multiple svn commits. How we should deal with that? Having multiple backports or a single one? IMO if we try and deal with that for a

Re: proxy balancer backports for 2.2.3

2006-07-26 Thread Mladen Turk
Jim Jagielski wrote: Mladen Turk wrote: There are lots of things to backport. IMHO its the entire HEAD, and spread over the multiple svn commits. How we should deal with that? Having multiple backports or a single one? we should simply update STATUS as usually... most of the backports are

Re: load balancer "cluster" set

2006-07-31 Thread Mladen Turk
Jim Jagielski wrote: I'm trying to figure out which impl of the the LB cluster set makes the most sense and would appreciate the feedback. Basically, I see 2 different methods: 1. Members in all cluster sets which have the same or lower set numbers are checked 2. Only members is a

Re: svn commit: r427172 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy.c modules/proxy/mod_proxy.h modules/proxy/mod_proxy_balancer.c

2006-07-31 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Author: jim Compiles/builds clean: passes test framework as well as more normal usage tests ;) -chartimeout_set; +chartimeout_set; -characquire_set; -apr_size_t recv_buffer_size; -char

Re: httpd-proxy-scoreboard

2006-08-02 Thread Mladen Turk
Jean-frederic Clere wrote: Hi, I am trying to get the slotmem persistent (because for the moment it didn't persist even a graceful restart). So I have a question: - Is there a way to have a pool in a module that will only be cleaned up when httpd stops? I suppose you should do that like i

Re: svn commit: r428008 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2006-08-02 Thread Mladen Turk
William A. Rowe, Jr. wrote: It seems that WAIT_ABANDONED should simply result in a continue here reiterating over wait_for_many_objects. Thoughts? I'll try and see if that fixes the ABANDONED. According to the MSDN it should. Anyhow even for the normal WAIT_OBJECT_NN the wait_for_many_objec

Re: balancer

2006-08-03 Thread Mladen Turk
Jim Jagielski wrote: I guess we've all agreed that checking hot standbys 1st before checking other sets is what makes the most sense, so I've gone ahead and enabled that. -trunk is now complete (except for the docs)... Right. In all other cases it really does not mater where the next request w

How to detect the mpm used via apxs?

2006-08-19 Thread Mladen Turk
Hi, Anyone knows how to detect the mpm used so that module can be build with/without threading code depending if the mpm is prefork or any other threaded one like worker by using apxs? The only way I can imagine is to parse the stdout from httpd, but IMHO something like apxs -q MPM should do the

Re: How to detect the mpm used via apxs?

2006-08-19 Thread Mladen Turk
Randy Kobes wrote: Anyone knows how to detect the mpm used so that module can be build with/without threading code depending if the mpm is prefork or any other threaded one like worker by using apxs? /path/to/apxs -q MPM_NAME That was exactly what I needed. Thanks, Mladen.

Re: How to detect the mpm used via apxs?

2006-08-19 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Randy Kobes wrote: Anyone knows how to detect the mpm used so that module can be build with/without threading code depending if the mpm is prefork or any other threaded one like worker by using apxs? /path/to/apxs -q MPM_NAME That was exactly

Re: load balancer and http(s) sticky sessions

2006-09-14 Thread Mladen Turk
Jim Jagielski wrote: There is a lot of confusion where the users think that simply adding the stickysession param to the http worker attribute *adds* the required sticky session info (cookie). I'm looking into adding functionality that actually does that and therefore avoiding this large and com

Re: svn commit: r451580 - /httpd/httpd/trunk/modules/proxy/proxy_util.c

2006-10-02 Thread Mladen Turk
Jim Jagielski wrote: I'm not sure about this... is the patch complete or are other things being added at some point? For example: It was mostly copy/paste from mod_jk where it was not reported for a failure on any platform. Just make some code cleanup. Also, does this mean that the "curren

Re: svn commit: r451582 - /httpd/httpd/trunk/modules/proxy/mod_proxy.h

2006-10-02 Thread Mladen Turk
Ruediger Pluem wrote: URL: http://svn.apache.org/viewvc?view=rev&rev=451582 Log: Move new struct member to the end of the struct, so we can keep the compatibility. Sorry for nitpicking, but I am still missing the minor bump. There was no 2.3 releases, so no need for version bump. Regards,

Re: svn commit: r451582 - /httpd/httpd/trunk/modules/proxy/mod_proxy.h

2006-10-02 Thread Mladen Turk
Paul Querna wrote: Mladen Turk wrote: Ruediger Pluem wrote: URL: http://svn.apache.org/viewvc?view=rev&rev=451582 Log: Move new struct member to the end of the struct, so we can keep the compatibility. Sorry for nitpicking, but I am still missing the minor bump. There was no

Re: svn commit: r451582 - /httpd/httpd/trunk/modules/proxy/mod_proxy.h

2006-10-02 Thread Mladen Turk
Paul Querna wrote: Mladen Turk wrote: But the trunk is usually build as is with all custom modules. What's the point of it if we need to preserve backward compatibility. (For what version, SVN head from DD/MM/ or what). When the first version gets tagged from trunk, then we can have

Re: mod_proxy and balancer problems

2006-10-05 Thread Mladen Turk
Mathias Herberts wrote: Oops I forgot one thing the 'ajp.patch' does. It introduces a new parameter 'stickycasesession' which is just like 'stickysession' but is case insensitive. This is needed as the servlet spec says the session cookie must be named JSESSIONID but the URL rewriting scheme must

Re: mod_proxy_ajp problem with multiple ports on same host

2006-10-08 Thread Mladen Turk
hv @ Fashion Content wrote: I have a setup that works when I proxy to the first AJP connector, but not when I try the second one (Get a forbidden message). If I change to http proxying it works just fine. Has anyone experienced this? Nope. It works just fine for multiple hosts on the same I

Re: svn commit: r454114 - /httpd/httpd/trunk/docs/conf/httpd-win.conf

2006-10-09 Thread Mladen Turk
André Malo wrote: * [EMAIL PROTECTED] wrote: Author: mturk Date: Sun Oct 8 02:58:21 2006 New Revision: 454114 URL: http://svn.apache.org/viewvc?view=rev&rev=454114 Log: Add compat module by default. More interesting would have been, why. What's the use of this? Because default configurat

Re: svn commit: r454114 - /httpd/httpd/trunk/docs/conf/httpd-win.conf

2006-10-09 Thread Mladen Turk
André Malo wrote: * Mladen Turk wrote: André Malo wrote: * [EMAIL PROTECTED] wrote: Author: mturk Date: Sun Oct 8 02:58:21 2006 New Revision: 454114 URL: http://svn.apache.org/viewvc?view=rev&rev=454114 Log: Add compat module by default. More interesting would have been, why. What&#

Re: Issue with persistent http proxy backend connection

2006-10-12 Thread Mladen Turk
Ruediger Pluem wrote: But yes, in theory their remains a race here if the proxy reuses the connection faster then the backend needs time to close the socket after sending the response. Does the problem exists with the current trunk as well? The way how trunk detects the closed backend has ch

Re: svn commit: r464141 - in /httpd/httpd/trunk/srclib/pcre: dftables.c dftables.dsp

2006-10-15 Thread Mladen Turk
William A. Rowe, Jr. wrote: why not s#/wd:4996#/D "_CRT_SECURE_NO_DEPRECATE"# /wd with colon like (/wd:4966) gives: Command line error D8021 : invalid numeric argument '/wd:4996' cl when converted to VS2005. BTW according to the MSDN the proper format is /wd not /wd: Also the _CRT_S

Re: svn commit: r464141 - in /httpd/httpd/trunk/srclib/pcre: dftables.c dftables.dsp

2006-10-16 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: William A. Rowe, Jr. wrote: why not s#/wd:4996#/D "_CRT_SECURE_NO_DEPRECATE"# /wd with colon like (/wd:4966) gives: Command line error D8021 : invalid numeric argument '/wd:4996'cl when converted to VS2005. BTW accor

Re: [Fwd: Re: Apache 2.2.3 mod_proxy issue]

2006-10-29 Thread Mladen Turk
Ruediger Pluem wrote: I guess we should create a directive like DefineWorker (I do not really care about the exact name), that enables the administrator to define / create a worker. Then you can easily just use ProxySet ... It will define a 'known' worker. There is no need for an addit

Re: [Fwd: Re: Apache 2.2.3 mod_proxy issue]

2006-10-30 Thread Mladen Turk
Ruediger Pluem wrote: Then you can easily just use ProxySet ... It will define a 'known' worker. There is no need for an additional directive. Yes, this idea came also up to me after sending the mail. It seems to be an acceptable solution for this problem, but we should really add ProxyS

Re: Apache BUG: 36495 : ajp_proxy_connect_backend failure

2006-11-07 Thread Mladen Turk
Benjamin Cuthbert wrote: http://issues.apache.org/bugzilla/show_bug.cgi?id=36495 Does anyone know if this bug was fixed ? It is in the trunk, where there is alternative socket is_connected detection. Can you check the trunk, or at least copy the new is_socket_connected from tunk's proxy_uti

Re: Apache BUG: 36495 : ajp_proxy_connect_backend failure

2006-11-07 Thread Mladen Turk
Benjamin Cuthbert wrote: Okay i am not sure i follow, so when you say copy the trunk from proxy_util.c do you have the example that you used so that i can put it into my build ? Copy the alternate is_socket_connected code instead the current one. Also, please do not use HTML mails when co

Re: Apache BUG: 36495 : ajp_proxy_connect_backend failure

2006-11-07 Thread Mladen Turk
Benjamin Cuthbert wrote: Can you show me where this trunk is ? URL ? svn export http://svn.apache.org/repos/asf/httpd/httpd/trunk httpd-head Anyhow: http://httpd.apache.org/dev/ Regards, Mladen.

Re: Time for 2.2.4?

2006-11-08 Thread Mladen Turk
Jim Jagielski wrote: Looking over CHANGES and STATUS, I think we should start thinking about a 2.2.4 release. Comments? I would like to propose the backport of proxy alternate is_socket_connected. This is IMHO very crucial for AJP to work. Without that the loadbalancer is unusable for most plat

Re: Time for 2.2.4?

2006-11-08 Thread Mladen Turk
Jim Jagielski wrote: I know that Bill is looking at a release of APR and that alternate method would, I think, be better implemented in APR than directly in httpd... Sure it can be done, but in that case it would require at least a minor version bump. I have a proto that uses APR_SO_DISCONNECT

Re: Time for 2.2.4?

2006-11-08 Thread Mladen Turk
Jim Jagielski wrote: In any case, I don't see a backport in STATUS so it's all academic anyway ;) Sure, like said, I'd like to propose... Anyhow the code was tested on 2.4 and 2.6, Solaris 9+ and Windows. On those platforms it works. Could not tell for things like Netware, OS2 etc... Anyhow

Re: Time for 2.2.4?

2006-11-08 Thread Mladen Turk
Jim Jagielski wrote: Mladen Turk wrote: Anyhow, mod_jk works on all the platforms with the exact code like a charm ;) With my non-devil's-advocate hat on, the code itself is pretty basic Steven's anyway... It might be, not sure, but as Ferengi Rule 31 states: Never make fun of a

Re: Time for 2.2.4?

2006-11-09 Thread Mladen Turk
Jim Jagielski wrote: I know that Bill is looking at a release of APR and that alternate method would, I think, be better implemented in APR than directly in httpd... Eww, no thanks. AFAIK the same results can be achieved using existing APR interfaces: a non-blocking apr_socket_recv() passin

Re: Are you shure about this?

2006-11-11 Thread Mladen Turk
Paul Querna wrote: To my surprise several people just expressed the opinion that LUA should be part of the apache core in the long run. Could you explain for what purposes you want to do this? Because its fun. Do you know where to find LUA developer resources? One thing I could never find fo

Re: JOB [CONTRACT] + Re: Windows + MP2 in a production environment

2006-11-21 Thread Mladen Turk
Issac Goldstand wrote: I don't think that the problem is mod_perl, as much as the winnt MPM in Apache2. The bottom line is that if anything goes wrong, you need the singleton child process to recycle itself, and very often in the case of mod_perl that can take a long time. There is experim

mod_proxy pending patches

2006-11-25 Thread Mladen Turk
Hi, There are some pending mod_proxy patches for 2.2.x. I would like to push some testing on the http://svn.apache.org/viewvc?view=rev&revision=468941 (explicit flushing from recent Tomcats) and http://svn.apache.org/viewvc?view=rev&revision=425454 (cping/cpong support) The patches are part of t

Re: Headache, Win32 Service Name for Apache 2.2

2007-01-04 Thread Mladen Turk
William A. Rowe, Jr. wrote: The default service name is Apache2, both in the 2.0 and 2.2 WinNT MPMs. One of three things can happen here... please express your preference (if you have one) [ ] Change the MPM code to use Apache2.2 by default (and Apache2.4 in trunk) [X] Change the Installer t

Re: Arranging mod_proxy_ajp

2007-03-15 Thread Mladen Turk
Jean-Frederic wrote: -if (status != APR_SUCCESS) { +if (! isok) { /* We had a failure: Close connection to backend */ conn->close++; This is what concerns me (not your code but the old conn->close++. Hope It wasn't me ;) Anyhow, AJP should keep the connection to bac

Re: Arranging mod_proxy_ajp

2007-03-15 Thread Mladen Turk
Rainer Jung wrote: Caution: this line exactly has been added as a patch for BZ 40310. I didn't follow this too closely, but it looked like a serious issue for the user. http://issues.apache.org/bugzilla/show_bug.cgi?id=40310 The user comments, that the fix might be relevant for mod_jk too,

Re: mod_proxy patches

2007-03-16 Thread Mladen Turk
Mathias Herberts wrote: The 'forceclose' patch will ensure that this situation will never happen as the Cmax connections will not be kept idle. It will have a slight performance penalty but that's better than a total inability to serve requests (which should only happen when T0 is really serving

Re: mod_proxy patches

2007-03-19 Thread Mladen Turk
Jim Jagielski wrote: On Mar 16, 2007, at 8:52 AM, Mathias Herberts wrote: I agree that reusing the backend connections can be a good thing, but there are times when this is just not a very good idea. I agree that there are times when having a single-shot connection is "better" than having

Re: Arranging mod_proxy_ajp

2007-03-19 Thread Mladen Turk
Rainer Jung wrote: Mladen Turk wrote: Jean-Frederic wrote: -if (status != APR_SUCCESS) { +if (! isok) { /* We had a failure: Close connection to backend */ conn->close++; http://issues.apache.org/bugzilla/show_bug.cgi?id=40310 The user comments, that the

Re: 2.2.4 windows binary w/ssl?

2007-03-22 Thread Mladen Turk
Guenter Knauf wrote: Hi, Should we add a cert-creation .sh and .vbs script to support/ for this purpose (on any platform)? Sounds like a great idea to me! +1 from me. If you find my vbs useful then I will contribute it. > I've spent a good time to find at least something working; Drop an eye

Re: 2.2.4 windows binary w/ssl?

2007-03-23 Thread Mladen Turk
Joe Orton wrote: Drop an eye on: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/examples/mkcerts?view=markup - auto-generating dummy certs which claim to be issued by or to the ASF doesn't seem like a good idea at all It is an example, so anyone is entitled to change it for its par

Re: Bug 41897 / Session-Stickiness with mod_proxy_balancer

2007-04-02 Thread Mladen Turk
Georg von Zezschwitz wrote: As I (with Rüdigers help :-) ) found out, there is already a bug report to my problem: #41897 describes the problem that the case-sensitivity of the "stickysession"-Parameter does not comply to the Java Servlet Spec (Cookie: "JSESSIONID", url based session manage

Re: Bug 41897 / Session-Stickiness with mod_proxy_balancer

2007-04-03 Thread Mladen Turk
Plüm wrote: IMHO adding config parameters is no blocker for a backport. I was under different perception. It is probably more easy to add balancer->stickyurl = "jsessionid" when balancer->sticky is "JSESSIONID" and NULL otherwise. Or in get_path_param() test for "jsessionid" when balanc

Re: Bug 41897 / Session-Stickiness with mod_proxy_balancer

2007-04-03 Thread Mladen Turk
Jean-Frederic wrote: We could do that then by using existing directive and decide during configure time. For example: stickysession="JSESSIONID [C]" stickysession=";jsessionid [P]" Does that mean that stickysession="JSESSIONID" will work as it does now? Yes. I don't think we need "Case in

Re: Bug 41897 / Session-Stickiness with mod_proxy_balancer

2007-04-04 Thread Mladen Turk
Plüm wrote: 1. You want to change sticky in struct proxy_balancer from const char *sticky to something like const char *sticky[MAX_ENTRIES] Yes, although MAX_ENTRIES would be 3 for now (cookie, path and env) Why is FOO stored in balancer->sticky-[2]? Is it because stickysess

Re: Bug 41897 / Session-Stickiness with mod_proxy_balancer

2007-04-04 Thread Mladen Turk
Plüm wrote: Yes, although MAX_ENTRIES would be 3 for now (cookie, path and env) But this means that we break the ABI here. If struct proxy_balancer is part of a public API (I am not sure about this) this would require a major bump and would prevent backporting. The other solution is to kee

Re: Bug 41897 / Session-Stickiness with mod_proxy_balancer

2007-04-04 Thread Mladen Turk
Plüm wrote: Plus does it make sense to split the sticky string everytime we search for a route? From my performance feeling this split should be done during configuration time. We can use the NUL separated double NUL terminated string. Then a part is start + strlen(start) Regards, Mladen.

Re: mod_proxy buffering small chunks

2007-04-12 Thread Mladen Turk
Jim Jagielski wrote: This is only fixed in trunk so far. See http://issues.apache.org/bugzilla/show_bug.cgi?id=41056 and http://svn.apache.org/viewvc?view=rev&revision=480135 Hmmm. Looks like a backport candidate... I'll likely do some testing and propose if it works :) I have another on

Re: mod_proxy buffering small chunks

2007-04-13 Thread Mladen Turk
Plüm wrote: +1 I will try to check it once you have proposed it and give it a quick vote. I have another one that fixes this issues for non-chunked content. I haven't tried yet, but IMHO it should already work for non-chunked content. Is this not the case? Not according to my tests. The

Re: mod_proxy buffering small chunks

2007-04-13 Thread Mladen Turk
Jim Jagielski wrote: Not according to my tests. The simple server push still buffers the data. Hmmm a followup commit has: URL: http://svn.apache.org/viewvc?view=rev&rev=504559 so that may be exactly the case... Huh, looks like it works now. Although I didn't test is with mod_deflat

Re: Bug 41897 / Session-Stickiness with mod_proxy_balancer

2007-05-07 Thread Mladen Turk
Ruediger Pluem wrote: On 04/06/2007 01:13 PM, Georg von Zezschwitz wrote: Jim Jagielski wrote: attached is the patch for trunk with documentation & Co. Could anybody review it & commit? Many thanks for sending the patch and my apologies that reviewing it took that long. Please find my comm

Re: Apache 2.2.4 under Win32 Longhorn

2007-05-07 Thread Mladen Turk
William A. Rowe, Jr. wrote: yacsha wrote: what? I think Mario's post below is quite clear. I am wondering, however, *where* he sees the error message he cites. A log? A popup command window? An ok box? Is there additional details (a window caption or other details?) Does it continue to h

Re: Apache 2.2.4 under Win32 Longhorn

2007-05-07 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Just tracking the Vista problems down. One problem is the installer. Every awk config rewrite fails so the installation ends up without config files. Didn't try with Administrator account directly, but with the member of the administrators

Re: svn commit: r536272 - /httpd/httpd/branches/2.2.x/STATUS

2007-05-08 Thread Mladen Turk
William A. Rowe, Jr. wrote: Can't we do +else if (osvi.dwMajorVersion >= 6) { +*dwVersion = OS_VERSION_VISTA; for now (or simply 'else') so that this isn't instantly broken by the next version, irrespective of any changes required? Sure we can. Since we are only intereste

Re: svn commit: r536272 - /httpd/httpd/branches/2.2.x/STATUS

2007-05-08 Thread Mladen Turk
William A. Rowe, Jr. wrote: Can't we do +else if (osvi.dwMajorVersion >= 6) { +*dwVersion = OS_VERSION_VISTA; for now (or simply 'else') so that this isn't instantly broken by the next version, irrespective of any changes required? Nevertheless, completely unrelated ...

Re: svn commit: r536272 - /httpd/httpd/branches/2.2.x/STATUS

2007-05-08 Thread Mladen Turk
William A. Rowe, Jr. wrote: You want to commit or should I? Knock yourself out :) Cheers, Mladen.

Re: ProxyPass globbing

2007-05-11 Thread Mladen Turk
Jim Jagielski wrote: 1. ProxyPass /foo/* balancer://bar should silently rewrite itself to ProxyPass /foo/ balancer://bar In other words, we already assume a prefix glob. But should we? In other words, there is no difference between /foo/ and /foo/*. If you

Re: httpd returns 500 when a route does not belong to the balancer.

2007-07-12 Thread Mladen Turk
jean-frederic clere wrote: Hi, I would like to fix a problem in mod_proxy_balancer when the configuration is something like: +++ ProxyPass balancer://mycluster/myapp stickysession=JESSSIONID|jsessionid nofailover=On ProxyPass balancer://mytiti/titi stickysession=JESSSIONID|

Re: httpd returns 500 when a route does not belong to the balancer.

2007-07-12 Thread Mladen Turk
jean-frederic clere wrote: Mladen Turk wrote: jean-frederic clere wrote: Hi, I would like to fix a problem in mod_proxy_balancer when the configuration is something like: +++ ProxyPass balancer://mycluster/myapp stickysession=JESSSIONID|jsessionid nofailover=On ProxyPass

Re: httpd returns 500 when a route does not belong to the balancer.

2007-07-12 Thread Mladen Turk
jean-frederic clere wrote: Hmm, "nofailover=On" is used for non-matched routes. The failover stuff is between the members of a balancer not between balancers. Not true. ? In find_route_worker(proxy_balancer *balancer...) nofailover == sticky_force runtime = find_session_route(*

Re: httpd returns 500 when a route does not belong to the balancer.

2007-07-16 Thread Mladen Turk
jean-frederic clere wrote: Hi, I would like to fix a problem in mod_proxy_balancer when the configuration is something like: +++ ProxyPass balancer://mycluster/myapp stickysession=JESSSIONID|jsessionid nofailover=On ProxyPass balancer://mytiti/titi stickysession=JESSSIONID|

Re: httpd returns 500 when a route does not belong to the balancer.

2007-07-17 Thread Mladen Turk
Johnny Kewl wrote: Mladen... stupid question, but what is this stuff in the code @@ -470,15 +470,32 @@ http://www.network-theory.co.uk/articles/patchintro.html It doesn't exactly explain the format of the patch file, but it can be helpful :) Regards, Mladen

Re: svn commit: r556860 - /httpd/httpd/branches/2.2.x/STATUS

2007-07-17 Thread Mladen Turk
William A. Rowe, Jr. wrote: [EMAIL PROTECTED] wrote: Author: mturk Date: Tue Jul 17 02:23:30 2007 New Revision: 556860 URL: http://svn.apache.org/viewvc?view=rev&rev=556860 Log: Comment the backport concerns for ApacheMonitor --- httpd/httpd/branches/2.2.x/STATUS (original) +++ httpd/httpd/bra

Re: svn commit: r557188 - /httpd/httpd/trunk/support/win32/ApacheMonitor.c

2007-07-18 Thread Mladen Turk
William A. Rowe, Jr. wrote: [EMAIL PROTECTED] wrote: Author: mturk Date: Wed Jul 18 01:02:21 2007 New Revision: 557188 URL: http://svn.apache.org/viewvc?view=rev&rev=557188 Log: Simplify OS detection. We are only interested in NT and WIN2K+ (so we can use services.msc) Can we assume that vers

Re: svn commit: r573555 - /httpd/httpd/trunk/include/scoreboard.h

2007-09-07 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Author: jim /* stuff which is lb specific */ -typedef struct proxy_worker_stat lb_score; +typedef struct lb_score lb_score; +struct lb_score { +/* TODO: sync this with proxy_worker_stat */ +unsigned char data[256]; +}; The original was 1024, and now you ch

[PATCH] Makefile.win

2003-01-15 Thread Mladen Turk
Hi, Fixes InstallBin Debug build cause the *pdb's of apr-iconv are moved to /Debug/iconv. Think that both ccs and ces are there. RCS file: /home/cvspublic/httpd-2.0/Makefile.win,v retrieving revision 1.122 diff -u -r1.122 Makefile.win --- Makefile.win14 Jan 2003 18:28:13 - 1.122

mod_vfsindex -- need some review

2003-01-27 Thread Mladen Turk
Hi, This is the virtual file system module, meaning that you can serve context from non-file systems. Currently it only supports zip files, but has already added support for gzip and bzip archives. It is based on mod_autoindex, with couple of extra lines to mount filesystem and deliver context.

RE: mod_vfsindex -- need some review

2003-01-30 Thread Mladen Turk
> -Original Message- > From: Justin Erenkrantz > > At this point, I think we might want to consider something > more general > that has been a pet peeve of ours: pluggable core > filesystems. Look in the > ROADMAP file on 'making apache repository-agnostic.' -- justin > Well, the

Hooking child termination

2003-09-11 Thread Mladen Turk
Hi all, Is there a possibility to add some sort of a hook to a parent that will execute when the child process dies? I would like to have a config option that will (something like Windows service manager has for the services itself) behave differently on first and on the consecutive failures, eit

RE: Hooking child termination

2003-09-12 Thread Mladen Turk
> From: William A. Rowe, Jr. > > > >Is there a possibility to add some sort of a hook to a > parent that will > >execute when the child process dies? I would like to have a config > >option that will (something like Windows service manager has for the > >services itself) behave differently on

[PATCH] HTTP_VERSION macro

2003-11-02 Thread Mladen Turk
Hi, In the httpd there is #define HTTP_VERSION (me be clever ;). Well, there is also diferent define in the wininet.h with the same name. Can we rename that define to AP_HTTP_VERSION like in the apache 1.3.x? Since this affects only us poor win developers hope that others wouldn't mind. MT. I

Re: Win32 build files and eol-style

2005-11-14 Thread Mladen Turk
Colm MacCarthaigh wrote: I see no real reason why they should be forced to have the CRLF line endings in all cases. Why not? My real reason is wanting to have a single checkout for windows and unix work. I'd like to halve the workload associated with verifying changes. Visual studio can hand

Re: Win32 build files and eol-style

2005-11-14 Thread Mladen Turk
Colm MacCarthaigh wrote: I'd like to turn the svn:eol-style attribute off for the windown build files (files ending in .dsp, .dsw and win32ver.awk), and have them stored in win32 new-line format in the repository. Any objections? I'm not sure you can use the .dsw and .dsp file outside windows

Re: Directions for Win32 binary httpd

2005-12-03 Thread Mladen Turk
[EMAIL PROTECTED] wrote: As someone who knows all of the Windows build platforms well... my 2 cents jives with your decision, Bill. Using MSVC 6.0 at this point and keeping the makefiles is the only 'sane' thing to do at this point. Couple of months ago I've proposed a 'hand-written' nmake s

Re: svn commit: r358769 - /httpd/httpd/trunk/modules/proxy/ajp_header.c

2005-12-23 Thread Mladen Turk
Author: mturk Date: Fri Dec 23 00:36:18 2005 New Revision: 358769 URL: http://svn.apache.org/viewcvs?rev=358769&view=rev Log: Fix Cookie2 header problems that originates back from mod_jk. Cookie2 was always sent as Cookie. Any objections to backport that to 2.2 branch? Regards, Mladen.

Re: Any concerns with 2.2.1 by the weekend?

2006-01-12 Thread Mladen Turk
William A. Rowe, Jr. wrote: I'm offering to RM this package late friday or sometime Saturday if there's no serious objection. Fixing or not fixing partial page results is obviously Backport of ajp Cookie2 fix from HEAD. * mod_proxy: Fix Cookie2 header problems that originates back

Re: Apache 2.2.0 on Win32

2006-01-13 Thread Mladen Turk
William A. Rowe, Jr. wrote: Fenlason, Josh wrote: Here is the path that requires msjava.dll: Httpd.exe->libapr-1.dll->advapi32.dll->winsta.dll->netapi32.dll->dnsapi. dll->iphlpapi.dll->mprapi.dll->activeds.dll->adsldpc.dll->credui.dll->sh ell32.dll->shdocvw.dll->mshtml.dll->msjava.dll When y

Re: mod_proxy_balancer: how to define failover (only)/hot standby behavior?

2006-01-24 Thread Mladen Turk
Jim Jagielski wrote: Actually, dev@httpd.apache.org is best, since that is where the development of this module is being done. I have changed the email headers accordingly. A sort of "warm standby" is something that I had planned to work into the balancer code post 2.2.1. Like said earlier.

Re: mod_proxy_balancer: how to define failover (only)/hot standby

2006-01-24 Thread Mladen Turk
Jim Jagielski wrote: Mladen Turk wrote: Jim Jagielski wrote: Actually, dev@httpd.apache.org is best, since that is where the development of this module is being done. I have changed the email headers accordingly. A sort of "warm standby" is something that I had planned to wor

Re: mod_proxy_balancer: how to define failover (only)/hot standby

2006-01-24 Thread Mladen Turk
Jim Jagielski wrote: The only problem is that it's not documented ;) Hmm... I thought that this happened via the code in find_session_route() and relied on sticky sessions; but again iirc they can be via cookies as well. So one issue is that stickysession must be used, I think. Right. Al

mod_proxy_ajp - The purpose of FLUSHING_BANDAID

2006-03-07 Thread Mladen Turk
Hi, I would love that we remove the FLUSHING_BANDAID from the code because it concept breaks the AJP protocol specification. Instead FLUSHING_BANDAID I propose that we introduce a new directive 'flush=on' that would behave like the most recent mod_jk directive 'JkOptions +FlushPackets'. The poi

Re: AW: mod_proxy_ajp - The purpose of FLUSHING_BANDAID

2006-03-07 Thread Mladen Turk
Plüm wrote: First: I am the author. Cool. Did someone ever told you to that you need to fix your mail client ;). I hate your AW:AW:AW... I would love that we remove the FLUSHING_BANDAID from the code because it concept breaks the AJP protocol specification. I do not understand how this

Re: mod_proxy_ajp - The purpose of FLUSHING_BANDAID

2006-03-07 Thread Mladen Turk
William A. Rowe, Jr. wrote: support should be default (flushed) with the -option- to optimize for those apps who aren't harmed by streaming. Right. We have two options, either to flush on each packet, that BTW might or might not reflect the user 'out.flush();' or keep like it is right now (flu

Re: mod_proxy_ajp - The purpose of FLUSHING_BANDAID

2006-03-07 Thread Mladen Turk
Jim Jagielski wrote: I would suggest that the "bandaid" code no longer be compile time but rather runtime, using a "force-flush=true" param to the AJP worker. I agree that the current default may be right for some, but majorly bad for others :) :) Correct :) I mean, now we have a flush no mat

Re: mod_proxy_ajp flushing

2006-03-09 Thread Mladen Turk
Jim Jagielski wrote: Any other comments about the patch? Should I just commit the revised one and we can tweak from there... +1 Although I still consider FLUSHING_BANDAID as useless. The closest we can get to the real meaning of Servlet spec out.flush() is to flush on each packet. FLUSHING_BA

Re: Copied workers in balancer?

2006-04-14 Thread Mladen Turk
Ruediger Pluem wrote: Does anybody remember why we are making a copy of the worker? Usually a worker represents a backend appserver instance. Now you can have multiple load balancers with different lb factors for the same set of workers, but for the different application mappings. Lets say th

Re: Copied workers in balancer?

2006-04-14 Thread Mladen Turk
Ruediger Pluem wrote: This allows to have common worker parameters like error status shared across multiple balancers, while maintaining per-balancer worker data. Ok, I understand these goals, but as far as I can see from the current code they do not share the error status as they are using d

Re: [VOTE] 2.2.2 Candidate

2006-04-26 Thread Mladen Turk
Paul Querna wrote: Please test and vote on releasing httpd 2.2.2, bundling APR and APR-Util 1.2.7. +1 Tested on WIN64/x86_64 and WIN32 Regards, Mladen.

Re: [VOTE] 2.2.2 Candidate

2006-04-26 Thread Mladen Turk
Jorge Schrauwen wrote: that is without deflate and ssl? No, it's with zlib-1.2.3 and openssl-0.9.8a Still having problems compiling it to win64 with those enabled. What problems? Regards, Mladen.

Re: [VOTE] 2.2.2 Candidate

2006-04-26 Thread Mladen Turk
Jorge Schrauwen wrote: wait... did you do a 32bit binary on a win64 system or a 64bit binary? Microsoft Windows Server 2003 R2 Standard x64 Edition Service Pack 1 AMD Athlon 3600 2.20 GHz, 2 GB of RAM Miscrosoft Visual Studio 2005 Version 8.0.50727.42 Lots of warnings mostly size_t to int co

Re: conclusions to FAQs on mod_proxy_ajp vs. mod_jk?

2006-05-31 Thread Mladen Turk
Jim Jagielski wrote: I guess it depend on what we mean by "healthy"... We could ping the socket and make sure there's a response at the network stack layer, which would be protocol agnostic. Or, each proxy module would need to implement some protocol specific "ping/pong" test. Right, the cpin

mod_proxy_balancer/mod_proxy_ajp TODO

2006-06-19 Thread Mladen Turk
Hi guys, I'm would like to give few notes on the things I'm currently working on, so that eventually no duplicate work is done if someone already have similar things on his drawing board. 1. Additional by business load balancing method that will load balance on the actual load of the becke

Re: mod_proxy_balancer/mod_proxy_ajp TODO

2006-06-19 Thread Mladen Turk
Bill Stoddard wrote: 1. Additional by business load balancing method that will load balance on the actual load of the beckend servers. The servers that have shorter reply time will get more load. +1 on the work, but I question the usefulness of this routing algorithm. Does reply time

Re: mod_proxy_balancer/mod_proxy_ajp TODO

2006-06-19 Thread Mladen Turk
Bill Stoddard wrote: 1. Additional by business load balancing method that will load balance on the actual load of the beckend servers. The servers that have shorter reply time will get more load. +1 on the work, but I question the usefulness of this routing algorithm. Does reply time

Re: mod_proxy_balancer/mod_proxy_ajp TODO

2006-06-19 Thread Mladen Turk
Jim Jagielski wrote: If this maps what's currently been done in mod_jk, than a big +1. It's been on my todo but have simply not had the cycles to do. That is exactly the thing that I'm planing to do. During last year there was a lots of good stuff added to the mod_jk that have even force some

Re: mod_proxy_balancer/mod_proxy_ajp TODO

2006-06-19 Thread Mladen Turk
Bill Stoddard wrote: Mladen Turk wrote: Once mod_proxy has access to lots of interesting bits, it can be programmed to detect and respond to anomalous application behaviors Huh, the thing you are talking about is some sort of rule based engine. Without having a virtual file system

<    1   2   3   4   5   >