From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick Newsgroups: gmane.emacs.bugs Subject: bug#49897: 28.0.50; [PATCH] Make sense of url-retrieve-synchronously Date: Fri, 06 Aug 2021 09:09:32 -0400 Message-ID: <87pmuqiusz.fsf@dick> References: <87h7g3g7p8.fsf@dick> <87r1f6ak40.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5587"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.14 (Gnus v5.14pre) Emacs/28.0.50 (gnu/linux) Cc: 49897@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 06 15:10:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBzc4-0001Ej-0T for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 15:10:12 +0200 Original-Received: from localhost ([::1]:46184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBzc2-0003pM-7X for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 09:10:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBzbu-0003mi-RC for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 09:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBzbu-00070Y-Jz for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 09:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBzbu-0001E4-E9 for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 09:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Aug 2021 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 49897-submit@debbugs.gnu.org id=B49897.16282553814681 (code B ref 49897); Fri, 06 Aug 2021 13:10:02 +0000 Original-Received: (at 49897) by debbugs.gnu.org; 6 Aug 2021 13:09:41 +0000 Original-Received: from localhost ([127.0.0.1]:49468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBzbZ-0001DP-66 for submit@debbugs.gnu.org; Fri, 06 Aug 2021 09:09:41 -0400 Original-Received: from mail-qt1-f181.google.com ([209.85.160.181]:37414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBzbW-0001D9-Oh for 49897@debbugs.gnu.org; Fri, 06 Aug 2021 09:09:39 -0400 Original-Received: by mail-qt1-f181.google.com with SMTP id l24so6381682qtj.4 for <49897@debbugs.gnu.org>; Fri, 06 Aug 2021 06:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=6nW7dpONM4XNBursF5dwDjAawUNZEqjha+esfeYBBJo=; b=IurNLPi7TrDu2q8RFYtyJiscSeFRtXm/Oo+U5Rr+VClAkoEdJtvV67aaIeaLZBLb32 TZCmyhBSTyknfPAeeirhxEeWOxNAxoQHCX4zQ6mJWyjZqEyJbMu8kw/wjq8L9ezhQ4MC kSDbAAbWl0gpdIfQrd2Rfb63TWM4gPb2+URT4qxkGT+2LFkJuNa8u7I+WerItK1zTHCA TExGelFQHSPkIIpfr5TtipqqGfvC7RONbfd7eROEDcRHMfNrvKKg4Vya75j8SS6u5Ooi hQcN3ZSpbAR6X7mUjIyEIwxDGqfaJg+YPY3mcVVF0kdYskD+bIR43dywXoTCI7XHK5IX QjqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=6nW7dpONM4XNBursF5dwDjAawUNZEqjha+esfeYBBJo=; b=rUc+akgtmhdzvOb0OrhHHuRVKGIhk9a7PWEZkMdobwwKF1Xdmmg/Fzzydc+E9mFT+a YcPXSymN/XTpChYlEaQuMyMqN/JkrubV1Nrvw77548NFTVMOYxXNgmkWCPVs8922EUMI oZBWbtQbkKrUyrrOvp723DyAASXfMK7Ya67920Vi2kuoLcGBxlcaKK4F12KFRp0n7iaP Iy9AS6NxEpCVJs03gFneErGIjGGE7h9LmVCcjuzCF0oK7NmWXHGT6dgdW284GxJQF1OD 2V3ya8R/g2pbboTQOIOLYri6YWMm0wRQ/2nxXHdTXHRyQW8wtRWpM+uWRP78mQqJ8RDV h/pw== X-Gm-Message-State: AOAM533GPww9J03yJ4aUKsGQLdw3EZ6Vw7jgDr6WGVM0k1oLV/PJ4wek 8GrKCpGvukZ7FXC0FvWOk3o= X-Google-Smtp-Source: ABdhPJyaJE3RJ9I5OBwYijcozS5f0BFgOAwqOTrkzw4HAWu8zprLtDrxT9qRklQ1Cwhp0OSBy7Sy0Q== X-Received: by 2002:ac8:7551:: with SMTP id b17mr8893534qtr.347.1628255373354; Fri, 06 Aug 2021 06:09:33 -0700 (PDT) Original-Received: from localhost ([68.237.93.126]) by smtp.gmail.com with ESMTPSA id v19sm1546757qta.60.2021.08.06.06.09.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Aug 2021 06:09:32 -0700 (PDT) In-Reply-To: <87r1f6ak40.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 06 Aug 2021 13:27:43 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211333 Archived-At: I'm sorry to say the rewrite doesn't solve bug#49861 (hanging http GETs) for me. The process filter `url-http-generic-filter` just isn't seeing any data from the remote site, and given the frequency of occurrence, it's not the remote site's fault. There's something off about the C-level network descriptor handling for process filters. While (in my mind) the url lisp code is not culpable, I'm still glad we rewrote url-retrieve-synchronously.