Send response before private Module returns to Apache ?

Posted on 2003-03-11
Medium Priority
Last Modified: 2010-03-04
While processing requests in our private module (all in design stage still...), we wish to start sending response to the user before the end of processing in the module.

We only know of one way to return data to Apache - that is by filling the request_rec and exiting the Module handler. Is there a different way of "pushing" a response (along with data to be sent) from handler back to Apache before the handler returns control ?

Thanx !
Question by:omers
  • 2
LVL 27

Accepted Solution

BigRat earned 1000 total points
ID: 8110982
I can't remember exactly, but if you download and look at mod_jserv now called mod_jk, you'll see that the app server can send back chunks to Apache, who in turn must send them to the browser.


Author Comment

ID: 8129131


We downloaded mod_jk and saw it calls ap_rwrite to write chunks - do you know sthg about it ?

On an [un]related note, we cannot find developers documentation for basic things like the function above - apache.org only has a nicely formatted page where no info except for function decalaration is supplied ? - this question bugs us and will be worth more points...

thx again, Omer.

Author Comment

ID: 9730346

Just logged-in after a while and saw this open question, so ... I have lots of points :)


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses
Course of the Month8 days, 15 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question