HomeFreeBSD

Use stream_read() to read all 12 bytes of the RFB client version.

Description

Use stream_read() to read all 12 bytes of the RFB client version.

read() can return a short read, whereas stream_read() waits until the
full version string is read.

Submitted by: Ka Ho Ng <khng300_gmail.com>
Reviewed by: grehan
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D23591

Details

Provenance
jhbAuthored on
Reviewer
grehan
Differential Revision
D23591: bhyve: use stream_read() to read 12 bytes of RFB client version
Parents
rS358393: Better check for floating point type.
Branches
Unknown
Tags
Unknown