From 77cf0118050f7e1500991dd516c2b3a19b2e0d29 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Fri, 21 Apr 2006 23:27:49 +0000 Subject: =?UTF-8?q?HTTP=20authentication=20fix:=20remove=20proxy=20require?= =?UTF-8?q?ment=20(patch=20from=20Diego=20Petten=C3=B2)=20This=20patch=20r?= =?UTF-8?q?emoves=20a=20dummy=20check=20on=20proxy=20usage=20before=20appl?= =?UTF-8?q?ying=20authentication.=20This=20was=20caused=20by=20a=20copy-pa?= =?UTF-8?q?ste=20error=20in=20older=20revision=20of=20this=20file,=20and?= =?UTF-8?q?=20then=20drifted=20to=20the=20current=20problem=20while=20the?= =?UTF-8?q?=20code=20evolved.=20=20With=20this=20simple=20change,=20authen?= =?UTF-8?q?ticated=20streams=20works=20just=20fine.=20A=20big=20thanks=20t?= =?UTF-8?q?o=20Mark=20Kretschmann=20from=20the=20amaroK=20team=20who=20not?= =?UTF-8?q?iced=20the=20problem=20and=20helped=20tracking=20it=20down.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CVS patchset: 7979 CVS date: 2006/04/21 23:27:49 --- src/input/input_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/input_http.c b/src/input/input_http.c index 51092f716..3f327762f 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -19,7 +19,7 @@ * * input plugin for http network streams * - * $Id: input_http.c,v 1.112 2006/04/12 15:37:07 klan Exp $ + * $Id: input_http.c,v 1.113 2006/04/21 23:27:49 dsalt Exp $ */ #ifdef HAVE_CONFIG_H @@ -657,7 +657,7 @@ static int http_plugin_open (input_plugin_t *this_gen ) { if (this->port == 0) this->port = DEFAULT_HTTP_PORT; - if ((this->user && strlen(this->user)) && use_proxy) { + if (this->user && strlen(this->user)) { if (http_plugin_basicauth (this->user, this->password, this->auth, BUFSIZE)) { _x_message(this->stream, XINE_MSG_CONNECTION_REFUSED, "basic auth error", NULL); return 0; -- cgit v1.2.3