httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r814336 - /httpd/httpd/trunk/modules/filters/mod_request.c
Date Sun, 13 Sep 2009 16:32:24 GMT
Author: minfrin
Date: Sun Sep 13 16:32:23 2009
New Revision: 814336

URL: http://svn.apache.org/viewvc?rev=814336&view=rev
Log:
Remove trailing whitespace from the mod_request module.

Modified:
    httpd/httpd/trunk/modules/filters/mod_request.c

Modified: httpd/httpd/trunk/modules/filters/mod_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_request.c?rev=814336&r1=814335&r2=814336&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_request.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_request.c Sun Sep 13 16:32:23 2009
@@ -87,7 +87,7 @@
         }
 
         f->ctx = ctx = apr_pcalloc(f->r->pool, sizeof(*ctx));
-        
+
         /* fail fast if the content length exceeds keep body */
         lenp = apr_table_get(f->r->headers_in, "Content-Length");
         if (lenp) {
@@ -129,7 +129,7 @@
     if (rv == APR_SUCCESS) {
         rv = apr_brigade_length(b, 1, &len);
     }
-        
+
     /* does the length take us over the limit? */
     if (APR_SUCCESS == rv && len > ctx->remaining) {
         if (f->r->kept_body) {
@@ -173,7 +173,7 @@
 
 /**
  * Initialisation of filter to handle a kept body on subrequests.
- * 
+ *
  * If a body is to be reinserted into a subrequest, any chunking will have
  * been removed from the body during storage. We need to change the request
  * from Transfer-Encoding: chunked to an explicit Content-Length.
@@ -194,12 +194,12 @@
 
 /**
  * Filter to handle a kept body on subrequests.
- * 
+ *
  * If a body has been previously kept by the request, and if a subrequest wants
  * to re-insert the body into the request, this input filter makes it happen.
  */
 static apr_status_t kept_body_filter(ap_filter_t *f, apr_bucket_brigade *b,
-                                     ap_input_mode_t mode, 
+                                     ap_input_mode_t mode,
                                      apr_read_type_e block,
                                      apr_off_t readbytes)
 {
@@ -242,7 +242,7 @@
                       "apr_brigade_partition() failed on kept_body at %" APR_OFF_T_FMT, ctx->offset
+ readbytes);
         return rv;
     }
- 
+
     do {
         apr_bucket *foo;
         const char *str;
@@ -302,15 +302,15 @@
  * return HTTP_REQUEST_ENTITY_TOO_LARGE. If this value is negative,
  * no limit is imposed, and the number of parameters is in turn
  * constrained by the size parameter above.
- * 
+ *
  * This function honours any kept_body configuration, and the
  * original raw request body will be saved to the kept_body brigade
  * if so configured, just as ap_discard_request_body does.
- * 
+ *
  * NOTE: File upload is not yet supported, but can be without change
  * to the function call.
  */
-static int ap_parse_request_form(request_rec * r, ap_filter_t * f, 
+static int ap_parse_request_form(request_rec * r, ap_filter_t * f,
                                  apr_array_header_t ** ptr,
                                  apr_size_t num, apr_size_t size)
 {
@@ -493,13 +493,13 @@
 
 /**
  * Insert filter hook.
- * 
+ *
  * Add the KEEP_BODY filter to the request, if the admin wants to keep
  * the body using the KeptBodySize directive.
- * 
+ *
  * As a precaution, any pre-existing instances of either the kept_body or
  * keep_body filters will be removed before the filter is added.
- * 
+ *
  * @param r The request
  */
 static void ap_request_insert_filter(request_rec * r)



Mime
View raw message