mod_deflate feature needed

2009-07-15 Thread Anthony J. Biacco
I'm trying to use mod_deflate to compress data coming out of tomcat through mod_jk and need the proper content-length header set for the COMPRESSED data, but can't do this because the data is streamed and sent after the headers are set, therefore we don't know the compressed content-length until af

RE: How do I manipulate request_rec Object in worker.c

2009-07-15 Thread ricardo13
Hi, This is Task university. We have scheduling algorithms for request priorization (QoS). But, these algorithms were simulated. Now, my idea is to implement these algorithms. Analyze the behavior in production. Thank you Ricardo Houser, Rick wrote: > > You realize that you could trivially h

RE: How do I manipulate request_rec Object in worker.c

2009-07-15 Thread Houser, Rick
You realize that you could trivially handle most related issues without changing Apache at all just by prioritizing your backend work, right? For example, put your higher priority work in a faster server process than the low priority work. If your applications are written according to best practic

Re: How do I manipulate request_rec Object in worker.c

2009-07-15 Thread ricardo13
Ray Morris wrote: > >> I modified request_rec simply adding a field in >> request_rec. Now, I would like get this field >> in worker.c > >You also wouldn't modify request_rec, adding > a new data member, to add information about a > request anyway. If you wanted to add information >

Re: How do I manipulate request_rec Object in worker.c

2009-07-15 Thread ricardo13
Hi, My idea was to use worker_queue->data for prioritize. I will create 2 queues (worker_queue->data1 and worker_queue->data2) and requests type 1 will process firstly than requests type 2. This happens in a webcluster. Frontend classifies (type 1 or type 2) and forward to backend. The backend p

Re: How do I manipulate request_rec Object in worker.c

2009-07-15 Thread Ray Morris
> I modified request_rec simply adding a field in > request_rec. Now, I would like get this field > in worker.c You also wouldn't modify request_rec, adding a new data member, to add information about a request anyway. If you wanted to add information about a request, you would add it to

Re: How do I manipulate request_rec Object in worker.c

2009-07-15 Thread ricardo13
Eric Covener wrote: > > On Wed, Jul 15, 2009 at 7:39 AM, ricardo13 > wrote: >> >> hi all, >> >> I modified request_rec simply adding a field in request_rec. >> Now, I would like get this field in worker.c >> >> My doubt about this is because worker.c manipulates only sockets and >> doesn't >> r

How do I manipulate request_rec Object in worker.c

2009-07-15 Thread ricardo13
hi all, I modified request_rec simply adding a field in request_rec. Now, I would like get this field in worker.c My doubt about this is because worker.c manipulates only sockets and doesn't request_rec object. How do I do this ?? Thank you Ricardo -- View this message in context: http://www