Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ws: Disable session timeout for --local-session #21212

Merged
merged 2 commits into from
Nov 6, 2024

Commits on Nov 6, 2024

  1. test: Check cockpit-ws --local-session with real browser

    `curl` just checks the HTML part, but not the websocket bits.
    
    Let cockpit-ws listen to the default port 9090, so that our port
    forwarding works.
    martinpitt committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    1b9757c View commit details
    Browse the repository at this point in the history
  2. ws: Disable session timeout for --local-session

    Don't kill a `--local-session` on timeout, i.e. after the browser
    disconnects. While it would be possible to restart the process if a
    binary is given, it's impossible to do so with `-`, i.e. talking to
    stdin/out.
    
    Spotted in rhinstaller/anaconda-webui#485 (comment)
    martinpitt committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    e67f606 View commit details
    Browse the repository at this point in the history