gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
16.94k stars 1.7k forks source link

fix web server shutdown panic #43488

Closed fspmarshall closed 3 days ago

fspmarshall commented 3 days ago

Fixes a niche case where a web.Server could panic if a teleport process starts to exit before all of its startup logic has completed (e.g. due to one or more required startup steps failing). This is a comparatively minor issue since no running teleport instance is going to hit this case, but it can make debugging the actual cause of the failed startup more difficult.

public-teleport-github-review-bot[bot] commented 3 days ago

@fspmarshall See the table below for backport results.

Branch Result
branch/v14 Failed
branch/v15 Create PR
branch/v16 Create PR