svn commit: r349435 - stable/11/usr.sbin/bhyve
Rodney W. Grimes
freebsd at gndrsh.dnsmgr.net
Wed Jun 26 20:45:46 UTC 2019
> Author: markj
> Date: Wed Jun 26 17:42:47 2019
> New Revision: 349435
> URL: https://svnweb.freebsd.org/changeset/base/349435
>
> Log:
> MFC r349196:
> Make zlib encoding messages idempotent.
Is this headed for 11.3RC3?
IIRC this fixes a significant number of vnc client related issues?
> PR: 238333
>
> Modified:
> stable/11/usr.sbin/bhyve/rfb.c
> Directory Properties:
> stable/11/ (props changed)
>
> Modified: stable/11/usr.sbin/bhyve/rfb.c
> ==============================================================================
> --- stable/11/usr.sbin/bhyve/rfb.c Wed Jun 26 17:41:38 2019 (r349434)
> +++ stable/11/usr.sbin/bhyve/rfb.c Wed Jun 26 17:42:47 2019 (r349435)
> @@ -270,8 +270,10 @@ rfb_recv_set_encodings_msg(struct rfb_softc *rc, int c
> rc->enc_raw_ok = true;
> break;
> case RFB_ENCODING_ZLIB:
> - rc->enc_zlib_ok = true;
> - deflateInit(&rc->zstream, Z_BEST_SPEED);
> + if (!rc->enc_zlib_ok) {
> + deflateInit(&rc->zstream, Z_BEST_SPEED);
> + rc->enc_zlib_ok = true;
> + }
> break;
> case RFB_ENCODING_RESIZE:
> rc->enc_resize_ok = true;
>
>
--
Rod Grimes rgrimes at freebsd.org
More information about the svn-src-stable-11
mailing list