You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2005/07/25 14:44:43 UTC
svn commit: r224721 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
Author: jorton
Date: Mon Jul 25 05:44:40 2005
New Revision: 224721
URL: http://svn.apache.org/viewcvs?rev=224721&view=rev
Log:
* modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix format
string error.
(ap_proxy_http_request): Restore default case in rb_method switch to
fix gcc warnings.
Modified:
httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=224721&r1=224720&r2=224721&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Mon Jul 25 05:44:40 2005
@@ -385,7 +385,7 @@
if (bytes_streamed != cl_val) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
- "proxy: client %s given Content-Length did not match",
+ "proxy: client %s given Content-Length did not match"
" number of body bytes read", r->connection->remote_ip);
return APR_EOF;
}
@@ -954,6 +954,9 @@
input_brigade, (old_cl_val != NULL)
|| (old_te_val != NULL)
|| (bytes_read > 0));
+ break;
+ default:
+ ap_assert(1 != 1);
break;
}
if (status != APR_SUCCESS) {