Thread: lsapis inquiry
View Single Post
  #1  
Old 06-08-2012, 01:48 PM
damienm damienm is offline
New Member
 
Join Date: Jun 2012
Posts: 2
Default lsapis inquiry

greetings, am I correct that lsapi c applications, must handle response generation once they've been given the request from the webserver?

I have an application that, to keep it simple, needs to do some things for most requests, then allow the webserver to process the request normally. It won't be modifying the request or generating any content. The goal is to let the webserver process the request normally when the laspi app has done its business.

Going through the api and experimenting however I don't see anyway to do this. For example you can't just call LSAPI_Finish() without producing content and have the webserver continue on.

Something analogous to mod_perl's running code in a handler during an earlier request phase, before PerlResponseHandler, then allowing the request to continue normally when done.

cheers for your advice
Reply With Quote