daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
aed857
From 191e504e9847ba3f46fe579922bbee64f02a04c1 Mon Sep 17 00:00:00 2001
aed857
From: David Tardon <dtardon@redhat.com>
aed857
Date: Wed, 9 May 2018 10:33:28 +0200
aed857
Subject: [PATCH] use max. message size allowed by DBus spec (#8936)
aed857
aed857
C.f. https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-messages.
aed857
aed857
(cherry picked from commit 33d8fe60573dd3e88fe98e368437bb4d29534b5a)
aed857
aed857
Related: #1446095
aed857
---
aed857
 src/libsystemd/sd-bus/bus-internal.h | 2 +-
aed857
 1 file changed, 1 insertion(+), 1 deletion(-)
aed857
aed857
diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/sd-bus/bus-internal.h
c62b8e
index 6a106862ee..9c1e5a35b8 100644
aed857
--- a/src/libsystemd/sd-bus/bus-internal.h
aed857
+++ b/src/libsystemd/sd-bus/bus-internal.h
aed857
@@ -329,7 +329,7 @@ struct sd_bus {
aed857
 #define BUS_WQUEUE_MAX (192*1024)
aed857
 #define BUS_RQUEUE_MAX (192*1024)
aed857
 
aed857
-#define BUS_MESSAGE_SIZE_MAX (64*1024*1024)
aed857
+#define BUS_MESSAGE_SIZE_MAX (128*1024*1024)
aed857
 #define BUS_AUTH_SIZE_MAX (64*1024)
aed857
 
aed857
 #define BUS_CONTAINER_DEPTH 128