Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACD7718444 for ; Fri, 26 Jun 2015 17:10:05 +0000 (UTC) Received: (qmail 44712 invoked by uid 500); 26 Jun 2015 17:10:05 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 44688 invoked by uid 500); 26 Jun 2015 17:10:05 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 44678 invoked by uid 99); 26 Jun 2015 17:10:05 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2015 17:10:05 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 74233AC0255 for ; Fri, 26 Jun 2015 17:10:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1687812 - /subversion/trunk/subversion/mod_dav_svn/util.c Date: Fri, 26 Jun 2015 17:10:05 -0000 To: commits@subversion.apache.org From: ivan@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150626171005.74233AC0255@hades.apache.org> 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;