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

Re: Trunk checkout fails with serf but not neon

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Wed, 16 May 2012 10:50:07 -0700

On Wed, May 16, 2012 at 8:45 AM, Mark Phippard <markphip_at_gmail.com> wrote:
> I cannot recreate this with the Apache repository, but with a local
> 1.7.5 server and current trunk client I get this:

I tried with a local 1.7.5 server and can't reproduce this. It looks
like the OPTIONS request is failing (note the 401 error
code)...perhaps you have something interfering with your loopback
interface? I think we saw that some A/V scanners on Windows install
bad packet filters.

I'd suggest commenting out line 399 in libsvn_ra_serf/serf.c which
disables the HTTP/1.0 workaround and seeing how that works. Note that
you'd also need to have serf 1.1.x to make it do anything. -- justin

Index: subversion/libsvn_ra_serf/serf.c
===================================================================
--- subversion/libsvn_ra_serf/serf.c (revision 1339277)
+++ subversion/libsvn_ra_serf/serf.c (working copy)
@@ -396,7 +396,6 @@
   serf_sess->conns[0] = apr_pcalloc(serf_sess->pool,
                                     sizeof(*serf_sess->conns[0]));
   serf_sess->conns[0]->http10 = TRUE; /* until we confirm HTTP/1.1 */
- serf_sess->conns[0]->http10 = FALSE; /* ### don't change behavior yet */
   serf_sess->conns[0]->bkt_alloc =
           serf_bucket_allocator_create(serf_sess->pool, NULL, NULL);
   serf_sess->conns[0]->session = serf_sess;
Received on 2012-05-16 19:50:40 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.