Mike Jumper created GUACAMOLE-2084:
--------------------------------------

             Summary: "guac_display" may fail to send "sync" for frames 
consisting only of rects
                 Key: GUACAMOLE-2084
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2084
             Project: Guacamole
          Issue Type: Bug
          Components: libguac
    Affects Versions: 1.6.0
            Reporter: Mike Jumper
             Fix For: 1.6.0


{{guac_display}} relies on the worker threads to send the final frame {{sync}} 
instruction (the last thread to send anything also sends the final {{sync}}), 
but since the worker threads are only used for image encoding, a frame that 
contains no images at all will be missing its {{sync}}.

This would be true of any update that consists only of a single colored 
rectangle, as guac_display optimizes these into a pair of {{rect}} and 
{{cfill}} to avoid sending image data. Closing a window over a solid black 
background would produce exactly such an update.

See: https://lists.apache.org/thread/fxmp86kn216nyswo5dj0koq5h97ypbky



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to