feat: add server flag to force DERP to use always websockets (#9238)

This commit is contained in:
Dean Sheather
2023-08-24 17:22:31 +00:00
committed by GitHub
parent 9cb913fb1a
commit 64df076328
28 changed files with 280 additions and 68 deletions
+12
View File
@@ -6416,6 +6416,9 @@ const docTemplate = `{
"$ref": "#/definitions/codersdk.WorkspaceApp"
}
},
"derp_force_websockets": {
"type": "boolean"
},
"derpmap": {
"$ref": "#/definitions/tailcfg.DERPMap"
},
@@ -7781,6 +7784,9 @@ const docTemplate = `{
"block_direct": {
"type": "boolean"
},
"force_websockets": {
"type": "boolean"
},
"path": {
"type": "string"
},
@@ -10710,6 +10716,9 @@ const docTemplate = `{
"codersdk.WorkspaceAgentConnectionInfo": {
"type": "object",
"properties": {
"derp_force_websockets": {
"type": "boolean"
},
"derp_map": {
"$ref": "#/definitions/tailcfg.DERPMap"
},
@@ -11973,6 +11982,9 @@ const docTemplate = `{
"app_security_key": {
"type": "string"
},
"derp_force_websockets": {
"type": "boolean"
},
"derp_map": {
"$ref": "#/definitions/tailcfg.DERPMap"
},