Michael Peters wrote:
>> I'm unsure if I'm just not doing something right or if I have run into a
>> bug. I'm also ruining this under lighttpd if it might matter.
>
> If you can reduce it to the shortest amount of code possible that can
> replicate
> the problem it might make it easier for other FCGI/lighttpd folks to help out.
Alight I know believe I know the issue after making a very small app and
testing it under a verity of setups. My simple app worked fine under
CGI::Application alone but once CGI::Application::Dispatch was introduced to
the mix it started acting up.
Turning on debugging showed the "[Dispatch] - Found cached version of URL"
message which got my attention. Finding that message in the code brought
light to an interesting block that deals with caching and in it there is a
special case for when mod_perl is in use. I have a feeling that a similar
case needs to be used for when FastCGI is being used since FastCGI's
persistence and CGI::Application::Dispatch's caching currently are not
playing nice.
My current work around is to simply disable the caching by commenting out
the $self->_url_cache(suppressed) line.
I'm noticing FCGI_ROLE is an ENV var that could be used to create a constant
similar to the IS_MODPERL constant and then what ever magic is needed could
be key off that. I might be able to figure out the magic but I don't have
time for it this evening.
In anycase, I can provide my simple sample app and help setting up
lighttpd/fastcgi to anyone that is interested in looking into this issue
with me.
Thanks,
--
David Steinbrunner
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.