You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by gs...@apache.org on 2013/07/11 06:02:36 UTC

svn commit: r1502104 - in /subversion/branches/1.8.x-busted-proxy/subversion: include/svn_config.h libsvn_ra_serf/serf.c

Author: gstein
Date: Thu Jul 11 04:02:36 2013
New Revision: 1502104

URL: http://svn.apache.org/r1502104
Log:
On the 1.8.x-busted-proxy branch:

One more time: remove the public symbol, and switch to a private symbol.

Modified:
    subversion/branches/1.8.x-busted-proxy/subversion/include/svn_config.h
    subversion/branches/1.8.x-busted-proxy/subversion/libsvn_ra_serf/serf.c

Modified: subversion/branches/1.8.x-busted-proxy/subversion/include/svn_config.h
URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x-busted-proxy/subversion/include/svn_config.h?rev=1502104&r1=1502103&r2=1502104&view=diff
==============================================================================
--- subversion/branches/1.8.x-busted-proxy/subversion/include/svn_config.h (original)
+++ subversion/branches/1.8.x-busted-proxy/subversion/include/svn_config.h Thu Jul 11 04:02:36 2013
@@ -95,8 +95,6 @@ typedef struct svn_config_t svn_config_t
 #define SVN_CONFIG_OPTION_HTTP_BULK_UPDATES         "http-bulk-updates"
 /** @since New in 1.8. */
 #define SVN_CONFIG_OPTION_HTTP_MAX_CONNECTIONS      "http-max-connections"
-/** @since New in 1.9. */
-#define SVN_CONFIG_OPTION_HTTP_DETECT_CHUNKING      "http-detect-chunking"
 
 #define SVN_CONFIG_CATEGORY_CONFIG          "config"
 #define SVN_CONFIG_SECTION_AUTH                 "auth"

Modified: subversion/branches/1.8.x-busted-proxy/subversion/libsvn_ra_serf/serf.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x-busted-proxy/subversion/libsvn_ra_serf/serf.c?rev=1502104&r1=1502103&r2=1502104&view=diff
==============================================================================
--- subversion/branches/1.8.x-busted-proxy/subversion/libsvn_ra_serf/serf.c (original)
+++ subversion/branches/1.8.x-busted-proxy/subversion/libsvn_ra_serf/serf.c Thu Jul 11 04:02:36 2013
@@ -137,6 +137,10 @@ load_http_auth_types(apr_pool_t *pool, s
    runtime configuration variable. */
 #define DEFAULT_HTTP_TIMEOUT 600
 
+/* Private symbol for the 1.9-public SVN_CONFIG_OPTION_HTTP_DETECT_CHUNKING  */
+#define OPTION_HTTP_DETECT_CHUNKING "http-detect-chunking"
+
+
 static svn_error_t *
 load_config(svn_ra_serf__session_t *session,
             apr_hash_t *config_hash,
@@ -229,7 +233,7 @@ load_config(svn_ra_serf__session_t *sess
      chunked requests?  */
   SVN_ERR(svn_config_get_bool(config, &session->detect_chunking,
                               SVN_CONFIG_SECTION_GLOBAL,
-                              SVN_CONFIG_OPTION_HTTP_DETECT_CHUNKING,
+                              OPTION_HTTP_DETECT_CHUNKING,
                               FALSE));
 
   if (config)
@@ -293,7 +297,7 @@ load_config(svn_ra_serf__session_t *sess
       SVN_ERR(svn_config_get_bool(
                config, &session->detect_chunking,
                server_group,
-               SVN_CONFIG_OPTION_HTTP_DETECT_CHUNKING,
+               OPTION_HTTP_DETECT_CHUNKING,
                session->detect_chunking));
     }