xpra icon
Bug tracker and wiki

Opened 3 weeks ago

Closed 3 weeks ago

#2565 closed enhancement (fixed)

set python3 ssl socket timeout

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: android Version: 3.0.x
Keywords: Cc:

Description

Setting the timeout on a socket wrapped with ssl gives:

Exception in thread new-ssl-connection:
Traceback (most recent call last):
  File "/usr/lib64/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.7/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.7/site-packages/xpra/server/server_core.py", line 1084, in handle_new_connection
    sock.settimeout(self._socket_timeout)
OSError: [Errno 9] Bad file descriptor

So r17028 was skipping ssl sockets.

Change History (1)

comment:1 Changed 3 weeks ago by Antoine Martin

Resolution: fixed
Status: newclosed

Fixed in r25091.

Works fine with python 3.8

Note: See TracTickets for help on using tickets.