Remy Maucherat wrote:
>
> > Remy is correct.
> > It compiles with a modified version of the http client.
> > Unfortunatley the proxy support is quite hacky and nasty - we've got a
> > few choices:
> >
> > 1. Get the hacky code committed (Remy's first option)
> > 2. Remove proxy support from the codebase (Remy's second option)
> > 3. Let the http-client gurus know that we are attempting to achieve a
> > degree of proxy support, submit the code as a patch and let them decide
> > whether it's worthwhile integrating.
> >
> > I'm in favour of Option 3.
> >
> > Comments?
>
> Yes, we can try that.
>
> How big is the patch ?
Small. Under 150 lines.
I'll attach it for those who want to play around with it. But I needed
this code quickly, so I wrote it quickly. It's not neat or nice.
I suspect it's completely wrong in some cases, they just happen to be
cases I haven't encountered (yet, anyway) - I didn't fully understand
how proxies worked when I wrote this (and I guess I still don't).
Also, many proxies just disallow webdav requests, and/or break on some
of them. In most cases, more recent versions handle it correctly,
though.
Michael
(argh. cvsroot changed. ok, here it is...)
proxydiff