Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103230346
D20673.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
499 B
Referenced Files
None
Subscribers
None
D20673.diff
View Options
Index: head/usr.sbin/bhyve/rfb.c
===================================================================
--- head/usr.sbin/bhyve/rfb.c
+++ head/usr.sbin/bhyve/rfb.c
@@ -273,8 +273,10 @@
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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 11:07 AM (8 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14798978
Default Alt Text
D20673.diff (499 B)
Attached To
Mode
D20673: Make RFB_ENCODING_ZLIB message handling idempotent.
Attached
Detach File
Event Timeline
Log In to Comment