emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: url-gw.el: Cannot use proxy with url-gw.el 1.15]


From: Chong Yidong
Subject: Re: address@hidden: url-gw.el: Cannot use proxy with url-gw.el 1.15]
Date: Wed, 08 Nov 2006 21:23:30 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

> From: Shun-ichi GOTO <address@hidden>
> Subject: url-gw.el: Cannot use proxy with url-gw.el 1.15
> To: address@hidden
>
> Url package in cvs head cannot use http proxy.
> # gateway method is default (native).
>
> For example, this simple code fail with url-gw.el rev 1.15
>  (url-retrieve "http://www.gnu.org/"; 'ignore))
> but success with url-gw.el rev 1.14.
>
> With rev 1.15, url-retrieve<f> issue GET requests
>   GET http://zippo:8080/...       (incorrect!)
> against proxy server instead of
>   GET http://www.gnu.org/...      (correct)
>
>  (Note: zippo:8080 is proxy in my local net)

I don't know if this is directly related, but in url-gw.el:252,

    (setq conn (case gw-method
                 (tls
                  (open-tls-stream name buffer host service))
                 (ssl
                  (open-ssl-stream name buffer host service))
                 ((native)
                  ;; Use non-blocking socket if we can.
                  (make-network-process :name name :buffer buffer

shouldn't `(native)' be replaced by `native'?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]