<div dir="ltr"><br>
<div class="gmail_quote">On Sun, Nov 9, 2008 at 6:00 AM, Venkatesh K <span dir="ltr"><<a href="mailto:kaevee@gmail.com">kaevee@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Liran,<br>
<div>
<div></div>
<div class="Wj3C7c"><br>On Sun, Nov 9, 2008 at 4:16 AM, liran tal <<a href="mailto:liransgarage@gmail.com">liransgarage@gmail.com</a>> wrote:<br>> Hey Venkatesh,<br>><br>> On Fri, Oct 31, 2008 at 2:26 AM, Venkatesh K <<a href="mailto:kaevee@gmail.com">kaevee@gmail.com</a>> wrote:<br>
>><br>>> rlm_sqlcounter has one more limitation. In version 1.1.7, the maximum<br>>> counter value was limited to <2G whereas in 2.1.1 it seems to be <4G.<br>>> This imposes an artificial limitation of maximum of 4GB of downloads.<br>
>> I had a workaround where I patched rlm_sqlcounter to limit the per<br>>> session downloads to 4GB if allowed usage exceeds 4GB.<br>><br>> Sorry for the late reply.<br>> I applied your patch and now data counters work as expected with a minor<br>
> exception, the 2Gb limit<br>> as you have stated previously. Possibly you could also post the patch for<br>> the 2Gb/4Gb limit?<br>> I'm hoping it's compatible with FR 1.1.7 as well.<br>><br></div>
</div>It is ok. I am happy to know it works for you. I will email you a<br>patch for 1.1.7 in couple of days. The patch is going to impose<br>certain limitations on you. The maximum return value should be less<br>than unsigned integer(32bit). The maximum reply value for data will be<br>
limited to 4GB even if actual value is more than 4GB. So, there will<br>be a per session limit of 4GB though user is authorized to transfer<br>more data.<br></blockquote>
<div>So the check value of the attribute remains a number bigger than 4GB, for example an 8GB</div>
<div>limit but the reply attribute that is sent will contain a value of <= 4GB due to the limit?</div>
<div> </div>
<div>Thanks,</div>
<div>Liran.</div></div></div>