Subject: bug#9444: url-retrieve does not work with HTTPS on win32

From: [email-masked] (Claudio Bley)
Date: Mon, 05 Sep 2011 22:51:15 +0200

Hi.

Using a recent emacs built from trunk, GNU TLS 2.10.5 (non Cygwin),
trying to retrieve a HTTPS URLs fails because of the ^M characters
littered in the buffer.

Run "emacs -Q":

(url-retrieve "https://google.com/"
	      #'identity)

The buffer contains CRLF line endings and hence the tls-end-of-info
regexp does not match. gnutls-cli goes up to 100% CPU usage.

Explicitly setting coding-system-for-read to emacs-mule or
inhibit-eol-conversion to t has had no effect.

Cheers,
Claudio