libXfont: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Nov 10 18:15:21 UTC 2022
src/fc/fserve.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 5ca90ec8665294cb8499a54c303b8275eeeaaf4d
Author: Peter Harris <pharris at opentext.com>
Date: Wed Nov 2 15:38:19 2022 -0400
Fix font server reconnection timeout
The great libxfont2 rewrite 135fb032e940ce226c9feb13e6e903f3ecbc5eb0 split
fs_wakeup into fs_wakeup and fs_fd_handler. The fs_fd_handler side is
called when there is new data on the socket. The fs_wakeup side is called
on a timeout.
If there's a connection timeout, the block handler will set the timeout
to zero, expecting fs_wakeup to handle the timeout. Therefore, we need to
call _fs_check_reconnect in fs_wakeup to handle the connection timeout.
If we don't, the X server will go to 100% CPU (and the font server
connection will not be retried).
Signed-off-by: Peter Harris <pharris at opentext.com>
More information about the xorg-commit
mailing list