[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modules
Subject: Re: [apache-modules] Setting Content-Length Header for an output filter in Apache2
From: rm () fabula ! de
Date: 2004-09-09 12:18:59
Message-ID: 20040909121859.GD4286 () www
[Download RAW message or body]
On Thu, Sep 09, 2004 at 02:05:05PM +0200, Christoph Gr?ver wrote:
>
> Hi Ralf,
>
> On Thu, 9 Sep 2004 13:47:44 +0200
> rm@fabula.de wrote:
>
>
> >
> > Back to your code:
> >
> > help = apr_table_get(r->headers_out, "Content-Length");
> >
> > Have you ever checked that r really contains a valid request record?
> > Dereferencing a null pointer with r->... will cause a segfault.
> >
> I have checked that (r != NULL) is true and it actually is.
... and that r->header_out is there as well (and is in fact an ap_table)?
RalfD
> Greetings
>
>
> --
> Christoph Gröver, grover@sitepark.com
> Sitepark, Gesellschaft für Informationsmanagement mbH
> Rothenburg 14-16, D-48143 Münster, Telefon (0251) 48265-50
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
> For additional commands, e-mail: apache-modules-help@covalent.net
---------------------------------------------------------------------
To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
For additional commands, e-mail: apache-modules-help@covalent.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic