anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0622-use-max.-message-size-allowed-by-DBus-spec-8936.patch

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