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

Support transparent server restart after upgrading #1

Closed
wants to merge 1 commit into from

Commits on May 27, 2020

  1. Support transparent server restart after upgrading

    The build script now bakes the server version hash
    number in proxy.php that it is built against,
    such that the latter can use it to detect stale servers.
    
    After an upgrade, proxy.php will be running the newer
    version but, unless loolwsd is restarted, the server
    version returned in hosting/capabilities will be
    unexpected (i.e. will not match the one in proxy.php).
    When a mismatch is detected, proxy.php will kill
    the loolwsd process and start a new instance.
    
    Also replaced a number of tabs with spaces and fixed
    indentation issues to help readability and consistency.
    Ashod committed May 27, 2020
    Configuration menu
    Copy the full SHA
    f7fed5b View commit details
    Browse the repository at this point in the history