s4:librpc/rpc: allow a total reassembled response payload of 240 MBytes
commit81d7c8513cc101e4a468b5a394989b15da4cdd18
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Jun 2016 15:18:28 +0000 (22 17:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Jun 2016 11:11:21 +0000 (28 13:11 +0200)
tree9ffc07e6e556855483c221398deade01924304bf
parent2e69fda2e061b9078f68eaa63fea08f95f8f799f
s4:librpc/rpc: allow a total reassembled response payload of 240 MBytes

This will replace DCERPC_NCACN_PAYLOAD_MAX_SIZE (4 MByte),
The limit of DCERPC_NCACN_PAYLOAD_MAX_SIZE (4 MByte) was too
strict for some workloads, e.g. DRSUAPI replication with large objects.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11948

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 7413e73c5331b760dc84b3843059230ec5fcfc7b)
source4/librpc/rpc/dcerpc.c
source4/librpc/rpc/dcerpc.h