subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1816309 - /subversion/trunk/subversion/include/svn_dav.h
Date Sat, 25 Nov 2017 15:47:58 GMT
Author: stefan2
Date: Sat Nov 25 15:47:58 2017
New Revision: 1816309

URL: http://svn.apache.org/viewvc?rev=1816309&view=rev
Log:
Declare support for 'ra_list' as a new DAV capability.

Ideally, we would use some recursive propfind request.  However, mod_dav
will construct the full response in memory before sending it out.  That
may be tollerable for flat directory listings but full tree listings could
easily cause OOM conditions.

Therefore, we will introduce a new custom REPORT for svn_ra_list .

* subversion/include/svn_dav.h
  (SVN_DAV_NS_DAV_SVN_LIST): Define new capability.

Modified:
    subversion/trunk/subversion/include/svn_dav.h

Modified: subversion/trunk/subversion/include/svn_dav.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_dav.h?rev=1816309&r1=1816308&r2=1816309&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_dav.h (original)
+++ subversion/trunk/subversion/include/svn_dav.h Sat Nov 25 15:47:58 2017
@@ -397,6 +397,15 @@ extern "C" {
 
 /** Presence of this in a DAV header in an OPTIONS response indicates
  * that the transmitter (in this case, the server) knows how to handle
+ * 'list' requests.
+ *
+ * @since New in 1.10.
+ */
+#define SVN_DAV_NS_DAV_SVN_LIST\
+            SVN_DAV_PROP_NS_DAV "svn/list"
+
+/** Presence of this in a DAV header in an OPTIONS response indicates
+ * that the transmitter (in this case, the server) knows how to handle
  * svndiff2 format encoding.
  *
  * @since New in 1.10.



Mime
View raw message