diff nginx-1.2.6/src/http/ngx_http_request.h nginx-1.2.6-orig//src/http/ngx_http_request.h
--- nginx-1.2.6/src/http/ngx_http_request.h	2013-01-31 11:52:02.000000000 -0200
+++ nginx-1.2.6-orig//src/http/ngx_http_request.h	2012-07-02 14:41:52.000000000 -0300
@@ -419,8 +419,6 @@
 
     size_t                            limit_rate;
 
-    size_t                            limit_rate_after;
-
     /* used to learn the Apache compatible response length without a header */
     size_t                            header_size;
 
diff nginx-1.2.6/src/http/ngx_http_variables.c nginx-1.2.6-orig//src/http/ngx_http_variables.c
--- nginx-1.2.6/src/http/ngx_http_variables.c	2013-01-31 11:52:02.000000000 -0200
+++ nginx-1.2.6-orig//src/http/ngx_http_variables.c	2012-12-11 11:18:50.000000000 -0200
@@ -277,11 +277,6 @@
       offsetof(ngx_http_request_t, limit_rate),
       NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOCACHEABLE, 0 },
 
-    { ngx_string("limit_rate_after"), ngx_http_variable_request_set_size,
-      ngx_http_variable_request_get_size,
-      offsetof(ngx_http_request_t, limit_rate_after),
-      NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOCACHEABLE, 0 },
-
     { ngx_string("connection"), NULL,
       ngx_http_variable_connection, 0, 0, 0 },
 
diff nginx-1.2.6/src/http/ngx_http_write_filter_module.c nginx-1.2.6-orig//src/http/ngx_http_write_filter_module.c
--- nginx-1.2.6/src/http/ngx_http_write_filter_module.c	2013-01-31 11:52:02.000000000 -0200
+++ nginx-1.2.6-orig//src/http/ngx_http_write_filter_module.c	2012-09-24 15:34:04.000000000 -0300
@@ -207,11 +207,6 @@
     }
 
     if (r->limit_rate) {
-
-        if(r->limit_rate_after) {
-            clcf->limit_rate_after = r->limit_rate_after;
-        }
-
         limit = r->limit_rate * (ngx_time() - r->start_sec + 1)
                 - (c->sent - clcf->limit_rate_after);
 
