From 5839a311299c9dd628bcb1b97c5458a325c548d5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 4 Sep 2023 06:22:19 +0000 Subject: drop MSG_EOR for AF_UNIX + SOCK_SEQPACKET Using MSG_EOR with these local sockets is not necessary, and appears to trigger a truncation bug on OpenBSD 7.3. Link: https://marc.info/?i=20230826020759.M335788@dcvr --- test/test_unixserver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_unixserver.rb') diff --git a/test/test_unixserver.rb b/test/test_unixserver.rb index 7e99b9e..c91354d 100644 --- a/test/test_unixserver.rb +++ b/test/test_unixserver.rb @@ -41,7 +41,7 @@ class TestUNIXServer < Testcase @srv.run_once # nothing msgs = [] clients = [] - client.send("HELLO", Socket::MSG_EOR) + client.send("HELLO", 0) @srv.run_once do |c, msg| clients << c msgs << msg -- cgit v1.2.3-24-ge0c7