#868 closed defect (worksforme)
expose url when connecting from html5 client
Reported by: | Smo | Owned by: | Smo |
---|---|---|---|
Priority: | minor | Milestone: | 0.16 |
Component: | server | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
For example if one was to call
http://xpra.server:10000?debug=1&encoding=x264
It would be nice if we could get the full url from the client and store it which we could retrieve via
xpra info
Change History (5)
comment:1 Changed 6 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 6 years ago by
Status: | new → assigned |
---|
comment:3 Changed 6 years ago by
Owner: | changed from Antoine Martin to Smo |
---|---|
Status: | assigned → new |
Done for the python client in r9473:
$ xpra info | grep argv= client.argv=('/usr/bin/xpra', 'attach') server.argv=('/usr/bin/xpra', 'start', ':10', '--bind-tcp=0.0.0.0:10000', '--start-child=xterm')
The client just added a new key to the hello packet named "argv".
Done for the html5 client in r9474:
$ xpra info | grep client.argv= client.argv=('http://localhost:10000/?foo=bar/',)
It seems that the html5 client added a trailing slash to the URL I typed in. Maybe that's a bug, or a feature.
comment:4 Changed 5 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Not sure about the trailing slash will reopen if necessary otherwise working as expected.
comment:5 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/868
Note: See
TracTickets for help on using
tickets.
I'll add a "hello" key so the client can forward its command line (probably "argv"), then we can expose it via xpra info. That will be useful for the regular client too.