Allow NetconfChunkAggregator's maximum size to be adjusted 60/101860/8
authorDanielCV <daniel.viswanathan@verizon.com>
Tue, 19 Jul 2022 13:39:05 +0000 (19:09 +0530)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 29 Jul 2022 17:12:12 +0000 (19:12 +0200)
commitb48e597dad44046da6af9ada1b22df0b51aa3a9a
treeb548e944c3e94f83c8cfdeba18133b28f5721211
parent6ee80cf4ead5acf98d544624b6c7f37026638754
Allow NetconfChunkAggregator's maximum size to be adjusted

There are devices which send out arbitrarily-large chunks, requiring
a potentially large buffer to hold the incoming message.

This patch allows each instance to have a the chunk size specified
as well as control over the default size via a system property.

JIRA: NETCONF-888
Change-Id: Iec041a4ba9c8886cceb44fa86d07320bb5ae942b
Signed-off-by: DanielCV <daniel.viswanathan@verizon.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfChunkAggregator.java