[MPlayer-dev-eng] Re: [wigren at home.se: [PATCH] Selectable User-Agent for HTTP transfers]

Dave Lambley mplayer-dev-eng at dlambley.freeserve.co.uk
Thu Oct 16 20:02:18 CEST 2003


Hi,

On Thu, 2003-10-16 at 18:29, Alban Bedel wrote:
> Hi Dave Lambley,
> 
> on 16 Oct 2003 12:11:59 +0100 you wrote:
> 
> > On Thu, 2003-10-16 at 07:47, Alban Bedel wrote:
> > > BTW i don't really like to have all my http connections to try this
> > > hack. What about adding another option to enable/disable it ? Like a
> > > flag wich act on tried_ua_hack ?
> > 
> > Would it be okay if it defaults to enabled? Otherwise it would miss the
> > point IMHO. I'll make it check for an EOF properly too, so not confuse
> > them with read errors where retrying wouldn't help.
> Personlay i don't care if it's on or off by default. Just let users
> enable/disable if they needed (ie add smthg like -uahack and -nouehack).
> 	Albeu

I've added an option to turn it off, "-no-user-agent-hack".

Cheers,
Dave

-- 
"I'm old enough to remember when Limp Bizkit seemed good."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto-ua.diff
Type: text/x-patch
Size: 4206 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031016/002303f2/attachment.bin>


More information about the MPlayer-dev-eng mailing list