FASTCGI to LSAPI migration

accassar

Active Member
#1
Hello,

I have a custom C fastcgi application that I am trying to migrate to LSAPI.

I use the function fcgi_putenv quite a bit, however I cannot find a corresponding LSAPI function.

How can I do this with LSAPI?
 

mistwang

LiteSpeed Staff
#3
I guess you use fcgi env as storage of temp variables, it wont affect LSAPI request/response in any way, so it is not implemented in LSAPI.

You need to implement your own storage for that purpose. a hash associate array is recommended.
 
Top