You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by iv...@apache.org on 2013/06/25 19:27:46 UTC
svn commit: r1496550 - in /subversion/branches/1.8.x-r1496470/subversion:
include/svn_config.h libsvn_ra_serf/serf.c
Author: ivan
Date: Tue Jun 25 17:27:46 2013
New Revision: 1496550
URL: http://svn.apache.org/r1496550
Log:
On 1.8.x-r1496470 branch: Make configuration option name private.
* subversion/include/svn_config.h
(SVN_CONFIG_OPTION_HTTP_CHUNKED_REQUESTS): Remove.
* subversion/libsvn_ra_serf/serf.c
(OPTION_HTTP_CHUNKED_REQUESTS): Add.
(load_config): Use OPTION_HTTP_CHUNKED_REQUESTS instead of
SVN_CONFIG_OPTION_HTTP_CHUNKED_REQUESTS.
Modified:
subversion/branches/1.8.x-r1496470/subversion/include/svn_config.h
subversion/branches/1.8.x-r1496470/subversion/libsvn_ra_serf/serf.c
Modified: subversion/branches/1.8.x-r1496470/subversion/include/svn_config.h
URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x-r1496470/subversion/include/svn_config.h?rev=1496550&r1=1496549&r2=1496550&view=diff
==============================================================================
--- subversion/branches/1.8.x-r1496470/subversion/include/svn_config.h (original)
+++ subversion/branches/1.8.x-r1496470/subversion/include/svn_config.h Tue Jun 25 17:27:46 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_CHUNKED_REQUESTS "http-chunked-requests"
#define SVN_CONFIG_CATEGORY_CONFIG "config"
#define SVN_CONFIG_SECTION_AUTH "auth"
Modified: subversion/branches/1.8.x-r1496470/subversion/libsvn_ra_serf/serf.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x-r1496470/subversion/libsvn_ra_serf/serf.c?rev=1496550&r1=1496549&r2=1496550&view=diff
==============================================================================
--- subversion/branches/1.8.x-r1496470/subversion/libsvn_ra_serf/serf.c (original)
+++ subversion/branches/1.8.x-r1496470/subversion/libsvn_ra_serf/serf.c Tue Jun 25 17:27:46 2013
@@ -136,6 +136,7 @@ load_http_auth_types(apr_pool_t *pool, s
/* Default HTTP timeout (in seconds); overridden by the 'http-timeout'
runtime configuration variable. */
#define DEFAULT_HTTP_TIMEOUT 600
+#define OPTION_HTTP_CHUNKED_REQUESTS "http-chunked-requests"
static svn_error_t *
load_config(svn_ra_serf__session_t *session,
@@ -227,7 +228,7 @@ load_config(svn_ra_serf__session_t *sess
SVN_ERR(svn_config_get_bool(config, &session->using_chunked_requests,
SVN_CONFIG_SECTION_GLOBAL,
- SVN_CONFIG_OPTION_HTTP_CHUNKED_REQUESTS,
+ OPTION_HTTP_CHUNKED_REQUESTS,
TRUE));
if (config)
@@ -290,7 +291,7 @@ load_config(svn_ra_serf__session_t *sess
SVN_ERR(svn_config_get_bool(
config, &session->using_chunked_requests,
server_group,
- SVN_CONFIG_OPTION_HTTP_CHUNKED_REQUESTS,
+ OPTION_HTTP_CHUNKED_REQUESTS,
session->using_chunked_requests));
}