[Catalyst] redirects and FastCGI in Catalyst 5.80030

Pedro Melo melo at simplicidade.org
Thu Jan 27 15:01:38 GMT 2011


Hi,

On Thu, Jan 27, 2011 at 10:54 AM, Tobias Klug <tklug at hartle-klug.de> wrote:
> Your patch solved the problem. Is this going to be fixed permanently in
> one of the next releases? Can I file a bug somewhere?

You should file bugs here:

https://rt.cpan.org/Public/Dist/Display.html?Name=Catalyst-Runtime

Bye,

>
> -- Tobias
>
> On 27.01.2011 11:38, Pedro Melo wrote:
>> Hi,
>>
>> On Thu, Jan 27, 2011 at 10:27 AM, Tobias Klug <tklug at hartle-klug.de> wrote:
>>> Hello,
>>>
>>> I am new to this mailinglist, but have tried to find an answer to my
>>> question in the archives without success.
>>>
>>> I have a Catalyst-App running on a FastCGI deployment. Up until Catalyst
>>> 5.80029 everything worked fine. But since the new version Catalyst
>>> 5.80030 I get warnings on redirects such as this:
>>>
>>> [warn] mod_fcgid: stderr: Use of uninitialized value $buffer in
>>> concatenation (.) or string at
>>> /usr/local/share/perl/5.10.0/Catalyst/Engine/FastCGI.pm line 173.
>> This should solve the warning:
>>
>> --- FastCGI.pm.orig   2011-01-27 10:36:43.000000000 +0000
>> +++ FastCGI.pm        2011-01-27 10:36:46.000000000 +0000
>> @@ -158,6 +158,7 @@
>>
>>  sub write {
>>      my ( $self, $c, $buffer ) = @_;
>> +    $buffer = '' unless defined $buffer;
>>
>>      unless ( $self->_prepared_write ) {
>>          $self->prepare_write($c);
>>
>>
>> Starting from 5.80030, the buffer can be undef.
>>
>> I haven't tested the above patch, I don't use Engine::FastCGI.
>>
>> Bye,
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



-- 
Pedro Melo
http://www.simplicidade.org/
xmpp:melo at simplicidade.org
mailto:melo at simplicidade.org



More information about the Catalyst mailing list