python-x2go.spec: remove pycache handling from the files list.
Python-2-variants don't have the concept of __pycache__ directories at
all, so using %pycache_only there is redundant.
Python-3-variants sprinkle __pycache__ directories wherever there are
.py files, which means that they are conveniently contained in the
"x2go" subdirectory of sitelib.
Older *SuSE versions, including Leap, just ignored files or directories
in the %files list that do not exist, but Tumbleweed is throwing an
error if you try to include a file or directory that does not exist.
The fix is easy: don't try to include the non-existent __pycache__
top-level directory.
8dc074e...
by
=?utf-8?b?VG9tw6HFoSBDZXJoYQ==?= <email address hidden>
Prevent infinite loop in X2GoRevFwTunnel handler
Without this change, we observed a running X2Go session freezing after about 3
hours running on Windows with the following output:
WARN: Reverse tunnel <paramiko.Channel 16 (open) window=2036405 ->
<paramiko.Transport at 0x4e4f270L (cipher aes128-ctr, 128 bits) (active; 2 open
channel(s))>> encoutered socket error: [Errno 10054] An existing connection was
forcibly closed by the remote host
Breaking after catching 1024 socket errors prevents looping forever. The
tunnel is automatically closed, which allows the application to reopen it
automatically and recover gracefully from the situation.
a6d338c...
by
=?utf-8?b?VG9tw6HFoSBDZXJoYQ==?= <email address hidden>
Respect NXPROXY_BINARY also on non-Windows systems
8ace8f2...
by
=?utf-8?b?VG9tw6HFoSBDZXJoYQ==?= <email address hidden>
Fix Mac OS recognition
platform.system() actually returns 'Darwin' on Mac OS.