httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: [PATCH] <limit> directive extended to arbitrary methods
Date Wed, 01 Aug 2001 16:46:58 GMT
Mr. Trawick can answer this one :)

From: "Cody Sherr" <>
Sent: Wednesday, August 01, 2001 11:40 AM

> +/* The max method number. Method numbers are used to shift bitmasks,
> + * so this cannot exceed 63, and all bits high is equal to -1, which is a
> + * special flag, so the last bit used has index 62.

You are assuming something here about the cpu that you might not get away with
on all platforms.  I'd steal a bit instead of the -1 flag, so you can be sure
it works across architectures.  Do we still have CPUs out there in Apache-land
with sign-bit-negation instead of bitwise-negation?

View raw message