lsapis inquiry

Discussion in 'General' started by damienm, Jun 8, 2012.

  1. damienm

    damienm New Member

    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
  2. mistwang

    mistwang LiteSpeed Staff

    lsapi application run in its own process, just like FCGI, what you want is not possible with LSAPI app.

Share This Page