Commit 1cf88e0b authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak
Browse files

Fix DatagramChannelTest failures

Fix for recvfrom returning 0 after orderly shutdown didn't
take into account that sender can send empty datagram.
Added a check if the sockaddr struct is invalid before
returning when recvfrom returns 0.

Bug: 28054926
Change-Id: I4bf24407999165b86a2ef2758ded3ca82d3eb575
parent d7e61755
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment