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

Re: svn commit: r1495419 - in /subversion/trunk/subversion/libsvn_ra_serf: options.c ra_serf.h serf.c util.c

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 28 Jun 2013 13:30:07 -0400

On Jun 28, 2013 11:17 AM, "Philip Martin" <philip.martin_at_wandisco.com>
wrote:
>
> Philip Martin <philip.martin_at_wandisco.com> writes:
>
> > Suppose serf were to keep track of the number of outstanding requests
> > (it may already do that I haven't checked). Then if the number of
> > outstanding requests is zero when the 411 is received the downgrade to
> > HTTP/1.0 will be OK. Lots of client operations start with multiple
> > requests in serial before switching to pipelined requests, so in all
> > those cases the downgrade will work.
>
> I've been experimenting with the following patch to implement the above
> strategy. It's sufficient to allow me to checkout and commit through an
> nginx proxy that does not support chunked encoding. I had hoped to run
> the regression tests through nginx but for some reason the greek tree
> import fails, although the same import run manually outside the
> testsuite works. I'm not sure why that happens.

Not everything uses run_one(). It is easier to send a second OPTIONS than
to catch the next request, wherever that may be. (and it could be very hard
to replay)

Cheers,
-g
Received on 2013-06-28 19:30:44 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.