Apache Thread Creation/Destroy Problem

2007-06-14 Thread Croteau, Beau
I'm running the following code inside of an apache module: apr_thread_t *thd_arr; apr_pool_create(ai-mp, NULL); apr_threadattr_t *thd_attr; apr_threadattr_create(thd_attr, (ai-mp)); apr_threadattr_detach_set(thd_attr,1); apr_thread_create(thd_arr, thd_attr, ExecuteAction, ai, ai-mp);

Re: Apache Thread Creation/Destroy Problem

2007-06-14 Thread Nick Kew
On Thu, 14 Jun 2007 11:15:41 -0400 Croteau, Beau [EMAIL PROTECTED] wrote: I'm running the following code inside of an apache module: You keep asking the same thing, but we need more information to say anything useful. [14:29] crobe03 Does anybody have any idea why thread handles would be

Case insensitive file systems and caching mechanisms.

2007-06-14 Thread Graham Dumpleton
On Windows where a case insensitive, but case preserving file system is used, my understanding is that one can use the APR_FILEPATH_TRUENAME option to apr_filepath_merge() to convert a file system path into one which has case set to the actual values. Ie., documentation says: /** Resolve the

one word syncronize

2007-06-14 Thread Dmytro Fedonin
Hi all, Looking through 'server/mpm/worker/worker.c' I have found such a combination of TODO/FIXME comments: 1) /* TODO: requests_this_child should be synchronized - aaron */ if (requests_this_child = 0) { 2) requests_this_child--; /* FIXME: should be synchronized - aaron */ And I can not see

ap_hook_monitor example

2007-06-14 Thread Mark W. Humphries
Hi, I'm looking for an example of module code that uses the monitor hook. Any help would be greatly appreciated. Cheers, Mark Humphries

Re: patch for spurious open attempt on .../file.html/.htaccess

2007-06-14 Thread Oden Eriksson
onsdag 13 juni 2007 skrev Allen Pulsifer: The attached patch is the final one and applies to 2.2.4? -- Regards // Oden Eriksson --- server/request.c 2006-07-12 05:38:44.0 +0200 +++ server/request.c.oden 2007-06-14 09:35:48.0 +0200 @@ -931,13 +931,21 @@ #ifdef

RE: patch for spurious open attempt on .../file.html/.htaccess

2007-06-14 Thread Allen Pulsifer
The attached patch is the final one and applies to 2.2.4? Yes, that is the final patch. It is a diff from v.2.2.4. The indentation might not be quite correct after applying that patch. Due space-to-tab conversion issues with my editor, I had to do a diff -u -b, and the patch is not correctly

RE: patch for spurious open attempt on .../file.html/.htaccess

2007-06-14 Thread Allen Pulsifer
Here's a proper diff, without the spacing issue. (It was actually a line terminator issue, caused by editing the file under Windows.) --- request.c-2.2.4 2007-06-14 06:47:44.850623600 -0400 +++ request.c 2007-06-13 21:34:01.659559100 -0400 @@ -931,12 +931,20 @@ #ifdef

mod_proxy_ajp or mod_proxy_http?

2007-06-14 Thread Bill Stoddard
I'm trying to understand why mod_proxy_ajp exists and what it provides that mod_proxy_http doesn't. ajp13 is a binary protocol which should make the ajp13 tomcat connector a bit more efficient than the http11 connector; an incremental performance improvement. obtained at the expense of added

Re: mod_proxy_ajp or mod_proxy_http?

2007-06-14 Thread Plüm , Rüdiger , VF-Group
-Ursprüngliche Nachricht- Von: Bill Stoddard Gesendet: Donnerstag, 14. Juni 2007 15:28 An: dev@httpd.apache.org Betreff: mod_proxy_ajp or mod_proxy_http? I'm trying to understand why mod_proxy_ajp exists and what it provides that mod_proxy_http doesn't. ajp13 is a

one word syncronize once more

2007-06-14 Thread Dmytro Fedonin
Hi all, I've got some response which shows that I was not clear enough in my previous post. Fullproof solution would be: Index: server/mpm/worker/worker.c === --- server/mpm/worker/worker.c (revision 545597) +++

RE: Apache Thread Creation/Destroy Problem

2007-06-14 Thread Croteau, Beau
The thread is created inside of the gsoap_handler. Though these threads aren't necessarily mapped to a one to one gsoap_handler call. We have a web service 'startup' function that creates several background threads to do the processing and from there don't necessary have to have the

Re: Apache Thread Creation/Destroy Problem

2007-06-14 Thread Joe Lewis
Croteau, Beau wrote: The thread is created inside of the gsoap_handler. Though these threads aren't necessarily mapped to a one to one gsoap_handler call. We have a web service 'startup' function that creates several background threads to do the processing and from there don't necessary have

Re: one word syncronize

2007-06-14 Thread sebb
On 14/06/07, Dmytro Fedonin [EMAIL PROTECTED] wrote: Hi all, Looking through 'server/mpm/worker/worker.c' I have found such a combination of TODO/FIXME comments: 1) /* TODO: requests_this_child should be synchronized - aaron */ if (requests_this_child = 0) { 2) requests_this_child--; /* FIXME:

Re: mod_proxy_ajp or mod_proxy_http?

2007-06-14 Thread Graham Leggett
On Thu, June 14, 2007 3:27 pm, Bill Stoddard wrote: I'm trying to understand why mod_proxy_ajp exists and what it provides that mod_proxy_http doesn't. ajp13 is a binary protocol which should make the ajp13 tomcat connector a bit more efficient than the http11 connector; an incremental

Re: mod_proxy_ajp or mod_proxy_http?

2007-06-14 Thread William A. Rowe, Jr.
Bill Stoddard wrote: I'm trying to understand why mod_proxy_ajp exists and what it provides that mod_proxy_http doesn't. ajp13 is a binary protocol which should make the ajp13 tomcat connector a bit more efficient than the http11 connector; an incremental performance improvement. obtained

Thread Creation/Destruction Problems

2007-06-14 Thread Croteau, Beau
I'm running the following code inside of an apache module (actually inside of a web service running inside an apache module): apr_thread_t *thd_arr; apr_pool_create(ai-mp, NULL); apr_threadattr_t *thd_attr; apr_threadattr_create(thd_attr, (ai-mp)); apr_threadattr_detach_set(thd_attr,1);

Question regarding apache and locale (use of mbtowc in apache modules)

2007-06-14 Thread Basant Kukreja
Apache typically runs in C/POSIX locale. Is it possible/recommended to run apache in other locale? Why I am asking is that if some apache module wants to use mbtowc functions (wchar.h), is it ok to use it (as it affects the entire process)? Is it recommended? Will it cause any issues with other

Re: mod_proxy_ajp or mod_proxy_http?

2007-06-14 Thread Bill Barker
Plüm, Rüdiger, VF-Group [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Bill Stoddard Gesendet: Donnerstag, 14. Juni 2007 15:28 An: dev@httpd.apache.org Betreff: mod_proxy_ajp or mod_proxy_http? I'm trying to understand why mod_proxy_ajp

Re: rewrite url with query string causing issues

2007-06-14 Thread sonia mukherjee
Hi, I will also add if there is known issue with this API call ap_parse_uri(request_rec * r, const char * uri) is there any work around available. Waitin for replies. Thanx in advance Sonia On 6/14/07, sonia mukherjee [EMAIL PROTECTED] wrote: Hi, Thanx for the reply, i am already using