GNU bug report logs -
#10891
bug fix lisp/url/url-http.el
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10891 in the body.
You can then email your comments to 10891 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10891
; Package
emacs
.
(Sun, 26 Feb 2012 18:03:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Devon Sean McCullough <emacs-hacker2012 <at> jovi.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 26 Feb 2012 18:03:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
(let ((url-gateway-unplugged t))
(url-retrieve-synchronously "http://gnu.org"))
bombs
Wrong type argument: processp, nil
should be
Could not create connection to gnu.org:80
Peace
--Devon
PS: Here's the fix
--- url-http.el.~1~ 2010-04-03 18:26:11.000000000 -0400
+++ url-http.el 2012-02-26 10:53:27.000000000 -0500
@@ -119,9 +120,7 @@
(url-http-debug "Reusing existing connection: %s:%d" host port)
(url-http-debug "Contacting host: %s:%d" host port))
(url-lazy-message "Contacting host: %s:%d" host port)
- (url-http-mark-connection-as-busy
- host port
- (or found
+ (let ((conn (or found
(let ((buf (generate-new-buffer " *url-http-temp*")))
;; `url-open-stream' needs a buffer in which to do things
;; like authentication. But we use another buffer afterwards.
@@ -132,7 +131,9 @@
;; Drop the temp buffer link before killing the buffer.
(set-process-buffer proc nil))
proc)
- (kill-buffer buf)))))))
+ (kill-buffer buf))))))
+ (and conn
+ (url-http-mark-connection-as-busy host port conn)))))
;; Building an HTTP request
(defun url-http-user-agent-string ()
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10891
; Package
emacs
.
(Sun, 11 Mar 2012 10:15:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 10891 <at> debbugs.gnu.org (full text, mbox):
Devon Sean McCullough <emacs-hacker2012 <at> jovi.net> writes:
> (let ((url-gateway-unplugged t))
> (url-retrieve-synchronously "http://gnu.org"))
>
> bombs
> Wrong type argument: processp, nil
>
> should be
> Could not create connection to gnu.org:80
>
> PS: Here's the fix
Thanks. I've committed a slightly tweaked version of the fix to trunk.
bug closed, send any further explanations to
10891 <at> debbugs.gnu.org and Devon Sean McCullough <emacs-hacker2012 <at> jovi.net>
Request was from
Chong Yidong <cyd <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 11 Mar 2012 10:15:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 08 Apr 2012 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 42 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.