#1681 closed enhancement (worksforme)
allow http/websocket over unix socket when --html
Reported by: | idupree | Owned by: | idupree |
---|---|---|---|
Priority: | major | Milestone: | 2.2 |
Component: | network | Version: | trunk |
Keywords: | Cc: |
Description
xpra supports binding to unix sockets.
At first it doesn't sound like HTTP over Unix socket would be useful, because browsers can't connect to unix sockets. However:
ssh supports proxying unix sockets to IP ports elsewhere.
This can be useful because it can keep other Unix users on the box running xpra server from trying to connect to xpra.
When I combine --bind= and --html=on, however, the browser receives "this port does not support HTTP requests", and xpra logs "Error: unix-domain connection failed"..."invalid packet header, HTTP GET request".
Are there reasons not to change xpra to allow HTTP on unix socket when --html is on?
Change History (3)
comment:1 Changed 3 years ago by
Component: | html5 → network |
---|---|
Owner: | changed from Antoine Martin to idupree |
comment:2 Changed 3 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 Changed 3 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1681
Note: See
TracTickets for help on using
tickets.
Turned out to be (almost) trivial, so done in r17381.
Tested with:
@idupree: please close if that works for you.