unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 62990@debbugs.gnu.org, mail@vasilij.de
Subject: bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet
Date: Wed, 26 Apr 2023 12:35:21 +0200	[thread overview]
Message-ID: <87ttx3rkwm.fsf@gmail.com> (raw)
In-Reply-To: <83v8hjszp3.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 26 Apr 2023 13:30:32 +0300")

>>>>> On Wed, 26 Apr 2023 13:30:32 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> Cc: 62990@debbugs.gnu.org
    >> From: Robert Pluim <rpluim@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).

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

For which one? Does it help if I say that [1] is a security fix? 😜

I canʼt think of anything that would be negatively affected, but weʼve
all been wrong before.

    Eli> Otherwise, fine by me, thanks.

Vasilij, does the patch work for you?

Robert
-- 





  reply	other threads:[~2023-04-26 10:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 10:36 bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet Vasilij Schneidermann
2023-04-24  8:51 ` Robert Pluim
2023-04-24 21:04   ` Vasilij Schneidermann
2023-04-25  8:07     ` Robert Pluim
2023-04-26  9:14       ` Robert Pluim
2023-04-26 10:30         ` Eli Zaretskii
2023-04-26 10:35           ` Robert Pluim [this message]
2023-04-26 10:38             ` Eli Zaretskii
2023-04-26 11:47               ` Robert Pluim
2023-04-26 12:24                 ` Eli Zaretskii
2023-04-26 14:27                   ` Robert Pluim
2023-04-26 10:58             ` Vasilij Schneidermann
2023-04-26 10:56       ` Vasilij Schneidermann
2023-04-26 11:50         ` Robert Pluim
2023-04-26 14:31           ` Robert Pluim
2024-03-09 13:40             ` Vasilij Schneidermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ttx3rkwm.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=62990@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=mail@vasilij.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).