Re: mod_webapp.so socketpool changes..

2002-04-30 Thread simonkeary
Hi, I'm a bit confused about the problem with the use of the APR atomic types. Is the problem that it is not supported on all platforms? If this is the case then isn't this a problem with the apr code? Even if a given OS doesn't specifically offer atomic types then (as menioned earlier) a

Re: mod_webapp.so socketpool changes..

2002-04-25 Thread simonkeary
Hi John-Frederic, I've only just seen your mail as I've been away for a few days... Is there any update on this? Have you had a chance to look at the updates I made? If you want me to do any more work on this just let me know... BTW I've been testing this on an NT intranet web server runnin

Re: mod_webapp file changes for socket pools

2002-04-15 Thread simonkeary
Hi, Attached should be the updated socket pool changes to mod_webapp. I think I've incorporated the recommended changes. If you have any further comments just let me know Simon mod_webapp_update.zip Description: Zip compressed data -- To unsubscribe, e-mail:

Re: [Fwd: mod_webapp file changes for socket pools]

2002-04-12 Thread simonkeary
Hi, I've done most of the changes suggested but am a little confused on a few points: warp_socket_pool current has the following features: 1) It implements a socket pool. 2) The implementation is thread-safe (I think!) 3) The implementation uses atomics. In a mt environment all features except

Re: mod_webapp file changes for socket pools

2002-04-11 Thread simonkeary
Pier wrote: > The only thing I don't like (much) is the name of the prototype functions: > - warp_socket_pool_create > - warp_socket_pool_acquire_socket > - warp_socket_pool_return_socket > > And a lack of warp_socket_pool_destroy... > > I would have called them > > - warp_sockpool_create > - w

mod_webapp file changes for socket pools

2002-04-11 Thread simonkeary
Hi, Attached should be the changes I made to implement socket pools within mod_webapp. I've added a new file, pr_warp_socketpool.c, as suggested. In the zip file are the complete, changed, versions of the files along with the output of diff -u. For each file I've saved the diff in filename.di

mod_webapp socket pool changes

2002-04-11 Thread simonkeary
Hi, I've made some more progress on the socket pool implementation in mod_webapp to solve the concurrent request problem on NT boxes and it is pretty much complete. At the moment I am using a hard-coded constant to set the max number of available sockets that may be kept in a socket pool at a

Re: Building modapp for Tomcat4.0 and apache1_3.23

2002-04-11 Thread simonkeary
The problem described is a compilation problem and isn't related to to the make install. I had this problem when I tried to compile the source after downloading it a while ago. The problem is caused by the constants TYPE_... not being defined anywhere in the source. To solve this problem I

apr pools in mod_webapp

2002-04-08 Thread simonkeary
Hi, Sorry if this is a little off-topic I'm presentently trying to modifiy the mod_webapp source so that concurrent warp requests can be supported on NT. To do this, I'm implementing a pool of sockets per warp connection and each time a warp request is made a socket is acquired from the

Problem with mod_webapp/warp connector

2002-03-14 Thread simonkeary
Hi, I've recently setup a intranet site on an NT 4.0 box using Apache 1.3.23 combined with Tomcat 4.0.3. To integrate them together I'm using the warp connector and the mod_webapp module I found at http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/win32/webapp-module-1.0