httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf van der Spek <olafvds...@gmail.com>
Subject Re: network byte ordering in "ContentDigest"?
Date Mon, 21 Dec 2009 14:33:49 GMT
On Mon, Dec 21, 2009 at 3:07 PM, Deepak Nagaraj <n.deepak@gmail.com> wrote:
>> It's 16 bytes, what reordering did you want to do? Byte order only
>> applies to stuff larger than individual bytes.
>>
> The RFC considers it as a 128-bit "digest" (=number).  It can be
> divided into 16 bytes in either host order or network order.  Because
> the RFC says "when viewed in network order", it implies that we need
> to do host-to-network conversion.  This is the conversion I'm
> referring to.

AFAIK that really doesn't apply. It's not an int, it's a 16-byte
'array' that shouldn't be reordered.

Olaf

Mime
View raw message