LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > lsapis inquiry

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 06-08-2012, 09:42 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
lsapi application run in its own process, just like FCGI, what you want is not possible with LSAPI app.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:58 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.