From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.bugs Subject: bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet Date: Wed, 26 Apr 2023 12:56:39 +0200 Message-ID: References: <87wn21br45.fsf@gmail.com> <87ttx49yg0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UjXoEwESkdF/PNa9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2637"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62990@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 26 12:57:17 2023 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 1prcpp-0000Wz-Tx for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Apr 2023 12:57:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prcpg-0001OT-Vs; Wed, 26 Apr 2023 06:57:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prcpb-0001HF-C7 for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2023 06:57:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1prcpa-0006fN-SU for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2023 06:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prcpa-0004sn-Db for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2023 06:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Apr 2023 10:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62990 X-GNU-PR-Package: emacs Original-Received: via spool by 62990-submit@debbugs.gnu.org id=B62990.168250661318750 (code B ref 62990); Wed, 26 Apr 2023 10:57:02 +0000 Original-Received: (at 62990) by debbugs.gnu.org; 26 Apr 2023 10:56:53 +0000 Original-Received: from localhost ([127.0.0.1]:54389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prcpQ-0004sM-J7 for submit@debbugs.gnu.org; Wed, 26 Apr 2023 06:56:52 -0400 Original-Received: from mout-p-101.mailbox.org ([80.241.56.151]:49402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prcpM-0004s5-Hy for 62990@debbugs.gnu.org; Wed, 26 Apr 2023 06:56:51 -0400 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Q5wm85hcHz9sTv; Wed, 26 Apr 2023 12:56:40 +0200 (CEST) Content-Disposition: inline In-Reply-To: <87ttx49yg0.fsf@gmail.com> X-Rspamd-Queue-Id: 4Q5wm85hcHz9sTv 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260665 Archived-At: --UjXoEwESkdF/PNa9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Yes, although in a different place than I expected. Patch below. The > end result is to ignore the zero length message, getting it delivered > to the process would involve considerably bigger changes. Thank you. Yes, that is the case, the network process is no longer shut down, but the 0-length message isn't picked up. It prints the following: Received string (5): "hello" Received string (5): "world" Rather than the expected: Received string (5): "hello" Received string (0): "" Received string (5): "world" > I was hoping to avoid installing guile :-) I figured Guile would be the safest option for the developers of GNU software, rather than requiring Python, Ruby, ... > The client works, but the server gets me this, which means I=CA=BCm missi= ng > some bits somewhere: > [...] > ice-9/boot-9.scm:3300:6: In procedure resolve-interface: > no code for module (rnrs bytevectors gnu) Hm, could be an addition specific to Guile 3. It can be worked around probably by doing some less efficient string copying. > Does guile deliver the empty message? Yes it does. --UjXoEwESkdF/PNa9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE0dAcySl3bqM8O17WFmfJg6zCifoFAmRJA2QACgkQFmfJg6zC ifqHvggAnjOW8PFNzjcji2C9JGkszRZs4mhg9gikcfbh3uWzLtFnpPkNLSGtZdvc ohLK1s7yrbp6ovpE95k4CyT1x9QFPuhCz5SiTk9lTjn3GJnNCcC6uqBZg5yN+3yo +gtY9I3DK93lZ+/Esjs0zPWpiv6WVcRjXqZjQn0Wm6/Zuol/hTM8QPgNBcm8yIey 5G+JFXc2oMdWYNl39npep+to/1cfSsrrCf2D0gyYprnTYjhGRzKoMux0Hg0C7NSG tXrdZhxFddxKsKF9JAQ5R7XYV/Q8tTtxDd/SWAPnJacp7+6NRvULZSkMHKrirvSM r6s3HMQ9ZWqTqb2W2u47h4m8jL/FAw== =jMPV -----END PGP SIGNATURE----- --UjXoEwESkdF/PNa9--