Package: w3-url-e21
Version: 2001.11.08-9
Severity: serious

url claims to support SSL transfers but the support is broken since
the migration of the HTTP handler to emulating synchronous transfers
with asynchronous transfers (which I believe was around the time of
emacs 21). This patch should fix it.

-- System Information:
Debian Release: 3.0
  APT prefers testing
  APT policy: (300, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=ja_JP.eucjp (ignored: LC_ALL set to ja_JP.eucjp)

Versions of packages w3-url-e21 depends on:
ii  emacs21                       21.4a-1    The GNU Emacs editor

-- no debconf information

-- 
  David D. Smith
A man without doubt is a monster.
--- /usr/share/emacs21/site-lisp/url/url-http.el        2005-05-27 
02:39:26.000000000 +0900
+++ /home/dds/.emacs.d/elisp/url-http.el        2005-09-06 02:47:35.000000000 
+0900
@@ -316,6 +316,9 @@
       (error "Trying to parse HTTP response code in odd buffer: %s" 
(buffer-name)))
   (url-http-debug "url-http-parse-response called in (%s)" (buffer-name))
   (goto-char (point-min))
+  (while (progn
+           (forward-line 1)
+           (not (looking-at "^HTTP"))))
   (skip-chars-forward " \t\n")         ; Skip any blank crap
   (skip-chars-forward "HTTP/")         ; Skip HTTP Version
   (read (current-buffer))
--- /usr/share/emacs21/site-lisp/url/url-https.el       2005-05-27 
02:39:26.000000000 +0900
+++ /home/dds/.emacs.d/elisp/url-https.el       2005-09-06 02:39:50.000000000 
+0900
@@ -43,9 +43,9 @@
         (error
          (error "HTTPS support could not find `ssl' library.")))
        (let ((url-gateway-method 'ssl))
-        ((, (intern (format "url-http-%s" method))) (,@ (remove '&rest (remove 
'&optional args))))))))
+        ((, (intern (format (if method "url-http-%s" "url-http") method))) (,@ 
(remove '&rest (remove '&optional args))))))))
 
-(url-https-create-secure-wrapper nil (url))
+(url-https-create-secure-wrapper nil (url callback cbargs))
 (url-https-create-secure-wrapper file-exists-p (url))
 (url-https-create-secure-wrapper file-readable-p (url))
 (url-https-create-secure-wrapper file-attributes (url))

Attachment: pgpk6Oij5levR.pgp
Description: PGP signature

Reply via email to