From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.devel Subject: url-http.el: error for redirected proxy connections Date: Thu, 7 Dec 2006 15:42:53 +0100 (CET) Message-ID: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165525815 11578 80.91.229.10 (7 Dec 2006 21:10:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2006 21:10:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 07 22:10:14 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsQVO-0004lP-Hj for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 22:10:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsQVN-0000Wp-K5 for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 16:10:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsKa0-0008Db-L1 for emacs-devel@gnu.org; Thu, 07 Dec 2006 09:50:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsKZz-0008CU-65 for emacs-devel@gnu.org; Thu, 07 Dec 2006 09:50:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsKZy-0008CK-TG for emacs-devel@gnu.org; Thu, 07 Dec 2006 09:50:30 -0500 Original-Received: from [155.56.68.140] (helo=smtpde03.sap-ag.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsKZu-0006zz-KL for emacs-devel@gnu.org; Thu, 07 Dec 2006 09:50:31 -0500 Original-Received: from sap-ag.de (smtpde03) by smtpde03.sap-ag.de (out) with ESMTP id PAA22878 for ; Thu, 7 Dec 2006 15:50:20 +0100 (MEZ) Original-To: emacs-devel@gnu.org X-Mailer: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 X-SAP: out X-Mailman-Approved-At: Thu, 07 Dec 2006 16:08:49 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63433 Archived-At: The change | * url-http.el (url-http): Make proxy-object buffer-local, to | handle proxied asynchronous connections correctly. introduced a problem when the URL package tries to fetch a redirected URL trough a proxy connection. The function url-http-create-request has not the correct value of the variable proxy-object to extract the host name in this case, resulting in an error message. Simply leaving out the line (make-local-variable 'proxy-object) in function url-http did solve the problem for me. The above mentioned correction introduced this line; its purpose had not been clear to me because proxy-object is only used dynamically and does not belong to a buffer, as far as I can see. -- Klaus Straubinger