[Catalyst] "Wrong Content-Length value"
Felix Antonius Wilhelm Ostmann
ostmann at websuche.de
Thu Sep 9 08:15:43 GMT 2010
see here: https://rt.cpan.org/Public/Bug/Display.html?id=53226
Am 09.09.2010 02:03, schrieb Nicholas Wehr:
> agree - seems to warrant more of a 'warn' than 'error'.
>
> On Wed, Sep 8, 2010 at 4:59 PM, Bill Moseley <moseley at hank.org
> <mailto:moseley at hank.org>> wrote:
>
>
>
> On Wed, Sep 8, 2010 at 4:13 PM, Nicholas Wehr
> <catalyst at bionikchickens.com <mailto:catalyst at bionikchickens.com>>
> wrote:
>
> okay - in this context I can understand your original message. I
> think catalyst is behaving okay. In your example, the client is
> disconnected so it cannot receive a response code. in my test
> telnet where I ran your example, I fed more data in than was
> expected - but since I left the client connected I got a
> response. the server went ahead and detected the content-length
> and failed gracefully, though cryptically...
>
>
> Correct, because it only checks:
>
> if ( $remaining > 0 ) {
>
> Not sure why it's ok for the Content-Length to be less than the
> actual content and not the other way around.
>
> Regardless, my question was just is this the level of an error? Do
> we really care if a request is disconnected?
>
> I can downgrade the message to a warn in my logging code to avoid
> getting emails about it every few hours.
>
>
> --
> Bill Moseley
> moseley at hank.org <mailto:moseley at hank.org>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk <mailto: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/
>
>
>
>
> _______________________________________________
> 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/
--
Mit freundlichen Grüßen
Felix Antonius Wilhelm Ostmann
-----------------------------------------------------------
Websuche Search Technology GmbH & Co. KG
Martinistraße 3, D-49080 Osnabrück, Germany
-----------------------------------------------------------
Tel.: +49 541 40666-0, Fax: +49 541 40666-22
Email: info at websuche.de, Web: www.websuche.de
-----------------------------------------------------------
AG Osnabrück - HRA 200252, Ust-IdNr.: DE814737310
-----------------------------------------------------------
Komplementärin: Websuche Search Technology Verwaltungs GmbH
AG Osnabrück - HRB 200359, Geschäftsführer: Ansas Meyer
-----------------------------------------------------------
More information about the Catalyst
mailing list