s4:librpc/rpc: allow a total reassembled response payload of 240 MBytes
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Jun 2016 15:18:28 +0000 (17:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 4 Jul 2016 07:09:51 +0000 (09:09 +0200)
commitd069b66aa91eec039638fff789a7e9d431e7877f
tree26489cdb37ac34e7d9bb540a8e32844e81eb138b
parent65096890c7b2c4f8a28ac7548f253f04286f84f4
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