Skip to content
  • Peter Lieven's avatar
    ui/vnc: set TCP_NODELAY · 86152436
    Peter Lieven authored
    
    
    we currently have the Nagle algorithm enabled for all outgoing VNC updates.
    This may delay sensitive updates as mouse movements or typing in the console.
    As we currently prepare all data in a buffer and then send as much as we can
    disabling the Nagle algorithm should not cause big trouble. Well established
    VNC servers like TightVNC set TCP_NODELAY as well.
    A regular framebuffer update request generates exactly one framebuffer update
    which should be pushed out as fast as possible.
    
    Signed-off-by: default avatarPeter Lieven <pl@kamp.de>
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    86152436