[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62990: 30.0.50; UDP server closes connection upon receiving an empty
From: |
Robert Pluim |
Subject: |
bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet |
Date: |
Wed, 26 Apr 2023 12:35:21 +0200 |
>>>>> 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
--
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Vasilij Schneidermann, 2023/04/21
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Robert Pluim, 2023/04/24
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Vasilij Schneidermann, 2023/04/24
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Robert Pluim, 2023/04/25
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Robert Pluim, 2023/04/26
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Eli Zaretskii, 2023/04/26
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet,
Robert Pluim <=
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Eli Zaretskii, 2023/04/26
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Robert Pluim, 2023/04/26
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Eli Zaretskii, 2023/04/26
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Robert Pluim, 2023/04/26
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Vasilij Schneidermann, 2023/04/26
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Vasilij Schneidermann, 2023/04/26
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Robert Pluim, 2023/04/26
- bug#62990: 30.0.50; UDP server closes connection upon receiving an empty packet, Robert Pluim, 2023/04/26