[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Remove or keep SVN_I_LIKE_LATENCY_SO_IGNORE_HTTPV2?

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Fri, 08 Jul 2011 10:44:27 +0100

There's a comment in libsvn_ra_[neon|serf]/options.c saying "we should
probably remove it before 1.7 goes final". Should we remove or keep it?

#define SVN_IGNORE_V2_ENV_VAR "SVN_I_LIKE_LATENCY_SO_IGNORE_HTTPV2"

#ifdef SVN_DEBUG
      /* ### This section is throw in here for development use. It
         ### allows devs the chance to force the client to speak v1,
         ### even if the server is capable of speaking v2. We should
         ### probably remove it before 1.7 goes final. */
      char *ignore_v2_env_var = getenv(SVN_IGNORE_V2_ENV_VAR);

      if (! (ignore_v2_env_var
             && apr_strnatcasecmp(ignore_v2_env_var, "yes") == 0))
        ras->me_resource = apr_pstrdup(ras->pool, val);
#else
        ras->me_resource = apr_pstrdup(ras->pool, val);
#endif

- Julian
Received on 2011-07-08 11:45:10 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.