Xpra: Ticket #2424: per socket options

Based on #1160, we can re-use the same generic socket properties to configure more obscure socket settings like TCP_NODELAY (#619) and TCP_CORK (#2130).



Mon, 23 Sep 2019 14:27:06 GMT - Antoine Martin: status changed

r23896 does this for TCP_CORK and TCP_NODELAY, ie:

xpra start --start=xterm :10 --bind-tcp=0.0.0.0:10000,auth=file:filename=password.txt,cork=0,nodelay=1

Other things we can use this for:


Mon, 23 Sep 2019 15:43:54 GMT - Antoine Martin:

r23904 makes it possible to disable mdns on a per-socket basis, ie:

xpra start --no-daemon --bind-tcp=0.0.0.0:10000,mdns=no --bind-tcp=0.0.0.0:10001,mdns=yes

SSL wrapping is more difficult because it takes so many arguments, and we're not currently storing them but taking them from the config object directly. So they would need to be copied as attributes in the server object so we can re-use them later.


Tue, 22 Oct 2019 09:08:55 GMT - Antoine Martin: status changed; resolution set

Moving SSL to #2460 and SSH to #2583


Tue, 02 Jun 2020 03:58:54 GMT - Antoine Martin:

For client connection strings, see #2794.


Mon, 12 Oct 2020 10:33:35 GMT - Antoine Martin:

As of r27656, the socket options can also be used to configure socket protocol upgrades:

xpra start --start=xterm --bind-tcp=0.0.0.0:10000,ssh=0,http=0,https=1,ssl=1,ssl-cert=./ssl-cert.pem

ie: this allows plain tcp and https / wss, bit not http or ssh upgrades.


Sat, 23 Jan 2021 05:50:55 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2424