[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: stats (and back-monitor) counters wrap when overflowing (ITS#3324)
Kurt@OpenLDAP.org wrote:
>At 07:22 AM 9/11/2004, ando@sys-net.it wrote:
>
>
>>hyc@symas.com wrote:
>>
>>
>>>It's a bit of an indirection, but I note that OpenSSL includes a BigNum
>>>library for arbitrary precision. I'm hesitant to make OpenSSL a
>>>requirement to support back-monitor, but since all of my deployments
>>>include OpenSSL anyway, I'm also reluctant to add another math library
>>>dependency.
>>>
>>>
>>Honestly, I preferred to use GMP if available; if not,
>>counters wrap, but at least remain unsigned!
>>
>>
>
>I prefer we support (and favor) OpenSSL BigNum over GMP.
>OpenSSL it is more widely available (and mostly likely
>would otherwise be required). For instance, on FreeBSD,
>GMP is not in the default install (but is in the "ports").
>
>
I see. I don't think there's any portability or performance issues
(especially for integers). I'll work with this later (I'm leaving
for a week-long business trip). In any case, the bug is fixed, and
a better fix can come later (please test).
p.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497