On Wed, 24 Aug 2016 11:22:09 +0300
"Dan Akunis" wrote:
> When select wakes up on a UDP socket, user is expecting to get data. Getting
> 0 from recvfrom() or whatever read function she uses, is a wrong attitude.
> I agree with David.
>
> The unit test that expects select to wake up is wrong and
On Wed, 2016-08-24 at 11:22 +0300, Dan Akunis wrote:
> When select wakes up on a UDP socket, user is expecting to get data. Getting
> 0 from recvfrom() or whatever read function she uses, is a wrong attitude.
> I agree with David.
>
> The unit test that expects select to wake up is wrong and shou
with zero sized UDP packets
From: Laura Abbott
Date: Tue, 23 Aug 2016 10:53:26 -0700
Fedora received a report[1] of a unit test failing on Ruby when using
the
4.7 kernel. This was a test to send a zero sized UDP packet. With the
4.7 kernel, the test now timing out on a select instead of
On Tue, 2016-08-23 at 13:06 -0700, Laura Abbott wrote:
>
> Fixes the test for me. You're welcome to take this as a Tested-by.
Thanks Laura, I will submit an official patch immediately.
On 08/23/2016 12:03 PM, Eric Dumazet wrote:
On Tue, 2016-08-23 at 11:25 -0700, David Miller wrote:
From: Laura Abbott
Date: Tue, 23 Aug 2016 10:53:26 -0700
Fedora received a report[1] of a unit test failing on Ruby when using
the
4.7 kernel. This was a test to send a zero sized UDP packet. Wi
On Tue, 2016-08-23 at 11:25 -0700, David Miller wrote:
> From: Laura Abbott
> Date: Tue, 23 Aug 2016 10:53:26 -0700
>
> > Fedora received a report[1] of a unit test failing on Ruby when using
> > the
> > 4.7 kernel. This was a test to send a zero sized UDP packet. With the
> > 4.7 kernel, the tes
From: Laura Abbott
Date: Tue, 23 Aug 2016 10:53:26 -0700
> Fedora received a report[1] of a unit test failing on Ruby when using
> the
> 4.7 kernel. This was a test to send a zero sized UDP packet. With the
> 4.7 kernel, the test now timing out on a select instead of completing.
> The reduced rub
Hi,
Fedora received a report[1] of a unit test failing on Ruby when using the
4.7 kernel. This was a test to send a zero sized UDP packet. With the
4.7 kernel, the test now timing out on a select instead of completing.
The reduced ruby test is
def test_udp_recvfrom_nonblock
u1 = UDPSocket.