ASF Bugzilla – Attachment 28492 Details for
Bug 52964
system error because of negative rate-limit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for mod_ratelimit
rate_limit_patch (text/plain), 413 bytes, created by
Tianyin Xu
on 2012-03-21 19:32:41 UTC
(
hide
)
Description:
patch for mod_ratelimit
Filename:
MIME Type:
Creator:
Tianyin Xu
Created:
2012-03-21 19:32:41 UTC
Size:
413 bytes
patch
obsolete
>--- modules/filters/mod_ratelimit.c 2012-03-21 12:29:04.699912206 -0700 >+++ ppp.c 2012-03-21 12:26:46.819912556 -0700 >@@ -97,7 +97,7 @@ > /* rl is in kilo bytes / second */ > ctx->speed = atoi(rl) * 1024; > >- if (ctx->speed == 0) { >+ if (ctx->speed <= 0) { > /* remove ourselves */ > ap_remove_output_filter(f); > return ap_pass_brigade(f->next, bb);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 52964
: 28492