[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: <kmradke_at_rockwellcollins.com>
Date: Fri, 21 Jun 2013 10:40:40 -0500

> On Jun 21, 2013 10:36 AM, "Ivan Zhakov" <ivan_at_visualsvn.com> wrote:
> >....
> > >> Problem with this approach that some servers may support HTTP/1.1
> > >> partially. I.e. declare them as HTTP/1.1 but do not support chunked
> > >> Transfer-Encoding.
> > >
> > > Then fix that problem. Add a flag saying "busted_http11" and make it
> > > send requests with Content-Length after that.
> > >
> > Do you mean run-time configuration option like "http-force-http10 =
yes"?
> Oh. Hadn't thought about that. I was thinking dynamic detection.
> I would favor dynamic over Yet Another Config Option, but you're the
> one writing this code right now :-)

Dynamic is the right approach because the spec does allow a 1.1 proxy
to return a 411 to a chunk encoded request:

http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-22#section-3.3.3

(This will obsolete 2145 and 2616 if/when approved)

This is validated (albeit discouraged) by the the chair of that working
group:

http://www.mnot.net/blog/2011/07/11/what_proxies_must_do

Kevin R.
Received on 2013-06-21 17:41:14 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.