tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: apache24 adding null bytes



On Mon, Oct 26, 2015 at 09:49:28PM -0400, Jan Schaumann wrote:
> "Jonathan A. Kollasch" <jakllsch%kollasch.net@localhost> wrote:
> > On Mon, Oct 26, 2015 at 04:54:50PM -0400, Jan Schaumann wrote:
> 
> > > I have a bizarre situation where apache-2.4.16 from pkgsrc appears to be
> > > adding spurious null bytes to any data it serves.
>  
> > Is it always a multiple of 2KiB?
> 
> Yep, it pads to the next multiple, it looks.  Any idea?

If your relevant file system fragment size is 2KiB then httpd is probably
getting its file size information from the wrong place.

	Jonathan Kollasch


Home | Main Index | Thread Index | Old Index