HomeFreeBSD

Make zlib encoding messages idempotent.

Description

Make zlib encoding messages idempotent.

Otherwise duplicate messages can trigger a reinitialization of the
compression stream while the update thread is running. Also ensure
that the stream is initialized before the update thread may attempt
to use it.

PR: 238333
Reviewed by: cem, rgrimes
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20673

Details

Provenance
markjAuthored on
Reviewer
cem
Differential Revision
D20673: Make RFB_ENCODING_ZLIB message handling idempotent.
Parents
rS349195: Use sbuf_cat() in GEOM confxml generation.
Branches
Unknown
Tags
Unknown