Subject: bug#73199: url-retrieve is not thread-safe

From: Michael Albinus <[email-masked]>
Date: Mon, 30 Sep 2024 17:12:34 +0200

Michael Albinus <[email-masked]> writes:

Hi,

> BTW, in a short discussion on emacs-devel, Stefan Monnier proposed to
> fix this problem in url-http.el. Don't know what's the better approach.

I gave it a try. The appended patch seems to fix the problem. At least
in my use case, there's no error anymore when I use debbugs w/o the
advice in debbugs-compat.el.

Comments?

Best regards, Michael.

VC backend : Git
Working dir: ~/src/emacs/
Branch     : master
Tracking   : origin/master
Remote     : [email-masked]:/srv/git/emacs.git
Stash      : Nothing stashed

                         ./
                         etc/
     edited              etc/NEWS
     unregistered        etc/NEWS-checklist
                         lisp/
     unregistered        lisp/man.el.formatted
     edited              lisp/server.el
                         lisp/url/
     edited              lisp/url/url-http.el
                         test/infra/
     unregistered        test/infra/emba-gitlab.history
     unregistered        test/infra/emba-runner.history