unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12636: 24.2.50; url-retrieve does not work as expected via local proxy server
@ 2012-10-13 16:08 Christoph Scholtes
  2015-12-25 21:27 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Scholtes @ 2012-10-13 16:08 UTC (permalink / raw)
  To: 12636

I use the privoxy proxy on Ubuntu 12.04. For testing, Ubuntu is proxy
settings are globally configured for https on 127.0.0.1 port
8118 only. The http_proxy env variable reflects this correctly. privoxy is
started and running. I confirmed that I go through the proxy with a
browser pointed to a https website.

emacs -Q

Evaluate the following in scratch:
(require 'url)
(pop-to-buffer (url-retrieve-syhronously 
"https://raw.github.com/dimitri/el-get/master/el-get-install.el"))

Minibuffer says "Contacting host: 127.0.0.1:8118". After about a minute
or so a buffer named *http 127.0.0.1:8118*-10921 [no process] pops up
that contains the following:

HTTP/1.1 200 Connection established
Proxy-Agent: Privoxy/3.0.19

Then nothing happens. I was expecting see to the content of the page.
If I use url-retrieve with a http url it works and displays the content
retrieved from the url in the buffer.


In GNU Emacs 24.2.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
of 2012-10-13 on marvin
Bzr revision: 110535 handa@gnu.org-20121013131201-t5ew0zzamm7k5ct4
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description: Ubuntu 12.04.1 LTS

Configured using:
`configure 'CC=clang''






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-25 21:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-13 16:08 bug#12636: 24.2.50; url-retrieve does not work as expected via local proxy server Christoph Scholtes
2015-12-25 21:27 ` Lars Ingebrigtsen
2015-12-25 21:51   ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).