GNU bug report logs - #62990
30.0.50; UDP server closes connection upon receiving an empty packet

Previous Next

Package: emacs;

Reported by: Vasilij Schneidermann <mail <at> vasilij.de>

Date: Fri, 21 Apr 2023 10:38:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 62990 <at> debbugs.gnu.org, mail <at> vasilij.de
Subject: bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet
Date: Wed, 26 Apr 2023 13:30:32 +0300
> Cc: 62990 <at> debbugs.gnu.org
> From: Robert Pluim <rpluim <at> gmail.com>
> Date: Wed, 26 Apr 2023 11:14:42 +0200
> 
> So allowing emacs to send 0-length UDP packets turned out to be not
> too hard. Patch for both below. Eli, is this OK for master? It does
> change 2 behaviours:
> 
> 1. Receiving a 0-length UDP packet will no longer cause an error
> 2. Calling (process-send-string proc "") now actually sends out a
> packet for a UDP process (an empty one).

Do we want some variable to get back the old behavior, in case some
application out there depends on that?

Otherwise, fine by me, thanks.




This bug report was last modified 1 year and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.