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 04:54:50PM -0400, Jan Schaumann wrote:
> Hello,
>
> I have a bizarre situation where apache-2.4.16 from pkgsrc appears to be
> adding spurious null bytes to any data it serves.
>
> $ echo foo > f
> $ md5 f
> MD5 (f) = d3b07384d113edec49eaa6238ad5ff00
> $ curl http://localhost/f | md5
> 887d70a19ddabe9089d93fb6063f3c1f
> $ curl http://localhost/f | hexdump
> 0000000 66 6f 6f 0a 00 00 00 00 00 00 00 00 00 00 00 00
> 0000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> *
> 0000800
> $
>
> I can't figure out why it would do that; has anybody seen anything like
> this?
Is it always a multiple of 2KiB?
Jonathan Kollasch
Home |
Main Index |
Thread Index |
Old Index