Fix frame encoder for netconf server 01/108001/3
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Thu, 28 Sep 2023 09:33:22 +0000 (12:33 +0300)
committerRobert Varga <nite@hq.sk>
Mon, 2 Oct 2023 00:05:33 +0000 (00:05 +0000)
commit50d73ce9a8e28a8e34aceffd3345f4c31e5fac79
tree5484560d3921de24f098faceddb84eac5b3db4f6
parent87fa224f4bb98ad0568a77c3ece3a7a30c9738fd
Fix frame encoder for netconf server

Using first appearance of ByteBuf output as a final
message caused frame encoder being skipped and
message returned without expected EOM bytes. Message
extraction from inner channel re-implemented as an
outbound message handler.

JIRA: NETCONF-1106
Change-Id: Icb7fc6eca070c75910a35c8f117e6b1fa4295c0c
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/NetconfSubsystemFactory.java