Updated git submodules
authorTomas Cere <tcere@cisco.com>
Thu, 21 Sep 2017 08:56:56 +0000 (08:56 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 21 Sep 2017 08:56:56 +0000 (08:56 +0000)
Project: netconf master f9a0c88a73fe4ba7577c1d072251b8f286bbdd62

Merge "Bug 8988 - Check for empty payload properly"

Bug 8988 - Check for empty payload properly

Do not use InputStream#avalaible method to check for empty payload's
input streams in our implementations of MessageBodyReader interface.
InputStream#avalaible method returns an estimate of the number of bytes
that can be read from input stream without blocking. We cannot be sure
the stream is actually empty, even if this method returns 0.

Wrap the payload's input stream in PushbackInputStream and try to read
and unread from it instead.

Change-Id: I43b3a8d837f3dc4bc59d7cc2db29ffa06786844f
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
docs/submodules/netconf

index 7d5a5e624a2acdf98565738a36248389907d1ab3..f9a0c88a73fe4ba7577c1d072251b8f286bbdd62 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 7d5a5e624a2acdf98565738a36248389907d1ab3
+Subproject commit f9a0c88a73fe4ba7577c1d072251b8f286bbdd62