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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

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 …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

770 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