xpra icon
Bug tracker and wiki

Opened 3 years ago

Last modified 2 years ago

#1684 new defect

proxy instance fd pass-through

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: future
Component: android Version: trunk
Keywords: Cc:


When we start the server from the proxy, we shouldn't need to start a proxy instance: we could just pass the existing socket connection to the new server subprocess.
This will make the connection much quicker and efficient.


  • new command line argument: --socket-fd, does the new server need to dup() the fd?
  • hard to re-inject the hello packet, maybe we'll need some sort of secondary channel to send it. Use the regular unix socket with a domain specific message type for that? ie: socket-fd-hello fd hellopacketdata
  • will ping packets cause problems if we are slow to start?
  • make sure we close the fd from the proxy side after the handover
  • we may lose the ability to do hardware accelerated encoding since the proxy may have higher privileges - so maybe there should be an option to enable this

See also #1680.

Change History (1)

comment:1 Changed 2 years ago by Antoine Martin

Milestone: 3.0future


Note: See TracTickets for help on using tickets.