subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1687812 - /subversion/trunk/subversion/mod_dav_svn/util.c
Date Fri, 26 Jun 2015 17:10:05 GMT
Author: ivan
Date: Fri Jun 26 17:10:04 2015
New Revision: 1687812

URL: http://svn.apache.org/r1687812
Log:
mod_dav_svn: Use LimitXMLRequestBody httpd directive to control maximum
length of skel-encoded request bodies.

* subversion/mod_dav_svn/util.c
  (request_body_to_string): Call ap_get_limit_xml_body() instead of
   ap_get_limit_req_body() to get maximum skel-encoded request body size.

Modified:
    subversion/trunk/subversion/mod_dav_svn/util.c

Modified: subversion/trunk/subversion/mod_dav_svn/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/util.c?rev=1687812&r1=1687811&r2=1687812&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/util.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/util.c Fri Jun 26 17:10:04 2015
@@ -746,7 +746,7 @@ request_body_to_string(svn_string_t **re
   int seen_eos;
   apr_status_t status;
   apr_off_t total_read = 0;
-  apr_off_t limit_req_body = ap_get_limit_req_body(r);
+  apr_off_t limit_req_body = ap_get_limit_xml_body(r);
   int result = HTTP_BAD_REQUEST;
   const char *content_length_str;
   char *endp;



Mime
View raw message