summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ames <gregames@apache.org>2005-01-12 22:28:27 +0000
committerGreg Ames <gregames@apache.org>2005-01-12 22:28:27 +0000
commitd5bb4841177c9982438b40392f4226081d8e8bce (patch)
tree3d68257fcdf94fc559b304e7ccf6761fe920b0fd
parent3964c8fac005325145513ff5e8b74efe62f22b2f (diff)
downloadhttpd-d5bb4841177c9982438b40392f4226081d8e8bce.tar.gz
simplify
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124999 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/proxy/proxy_http.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c
index 708def9aa9..a0a81463d4 100644
--- a/modules/proxy/proxy_http.c
+++ b/modules/proxy/proxy_http.c
@@ -488,11 +488,7 @@ static apr_status_t stream_reqbody_cl(apr_pool_t *p,
b = input_brigade; /* empty now; pass_brigade() will add flush */
}
status = pass_brigade(bucket_alloc, r, conn, origin, b, 1);
- if (status != APR_SUCCESS) {
- return status;
- }
-
- return APR_SUCCESS;
+ return status;
}
#define MAX_MEM_SPOOL 16384
@@ -619,11 +615,7 @@ static apr_status_t spool_reqbody_cl(apr_pool_t *p,
APR_BRIGADE_INSERT_TAIL(header_brigade, e);
}
status = pass_brigade(bucket_alloc, r, conn, origin, header_brigade, 1);
- if (status != APR_SUCCESS) {
- return status;
- }
-
- return APR_SUCCESS;
+ return status;
}
static apr_status_t send_request_body(apr_pool_t *p,