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

Re: request for proxy code review

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-03-22 07:25:02 CET

Eric Gillespie <epg@pretzelnet.org> writes:
> OK, i just updated and rebuilt so i could try out the proxy code.


> Unfortunately, i have bad news:

Ugh! :-)

> 0 trunk% echo $http_proxy
> http://proxy:3128/
> 0 trunk% cat ~/.subversion/proxies
> [default]
> host=proxy
> port=3128
> 0 trunk% svn up
> /usr/local/src/svn/trunk/subversion/libsvn_ra_dav/util.c:314
> apr_error: #20014, src_err 0 : <Error string not specified yet>
> REPORT request failed on /repos/svn/trunk
> /usr/local/src/svn/trunk/subversion/libsvn_ra_dav/util.c:288
> apr_error: #20014, src_err 0 : <Error string not specified yet>
> The REPORT status was 400, but expected 200.
> 1 trunk% rm ~/.subversion/proxies
> 0 trunk% svn up
> [succeeds]

Your proxy is optional right? That is, you can access the Subversion
server directly if you don't use the proxy? (That is, Subversion
hasn't been patched to pay attention to $http_proxy above, right?
Just curious.)

> The proxy is Squid (a fairly recent version running on FreeBSD; i can
> specifics tomorrow if you need). These proxy settings work with other
> apps, such as lynx, curl, Mozilla, etc.

What Philip Martin said --

> I get exactly this error with a proxy that doesn't support the REPORT
> method. To get a bit more info try enabling neon debugging: change
> the #if 0 at line 312 in the file subversion/libsvn_ra_dav/session.c
> to #if 1. The debugging output will include the HTTP request and
> response.

... or you could also do an `ethereal' capture.

Thanks for the testing, keep it coming,

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 22 07:16:50 2002

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