daandemeyer / rpms / systemd

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