feat(agent/stream): remove STREAM_PORT and use tcp multiplexing on the same port

This commit is contained in:
yusing
2026-01-07 18:30:31 +08:00
parent cc406921cb
commit a605d56a4c
15 changed files with 410 additions and 81 deletions

View File

@@ -2356,8 +2356,13 @@
"x-nullable": false,
"x-omitempty": false
},
"stream_port": {
"type": "integer",
"supports_tcp_stream": {
"type": "boolean",
"x-nullable": false,
"x-omitempty": false
},
"supports_udp_stream": {
"type": "boolean",
"x-nullable": false,
"x-omitempty": false
},
@@ -3859,11 +3864,6 @@
"x-nullable": false,
"x-omitempty": false
},
"stream_port": {
"type": "integer",
"maximum": 65535,
"minimum": 1
},
"type": {
"type": "string",
"enum": [

View File

@@ -8,8 +8,10 @@ definitions:
type: string
runtime:
$ref: '#/definitions/agent.ContainerRuntime'
stream_port:
type: integer
supports_tcp_stream:
type: boolean
supports_udp_stream:
type: boolean
version:
type: string
type: object
@@ -724,10 +726,6 @@ definitions:
maximum: 65535
minimum: 1
type: integer
stream_port:
maximum: 65535
minimum: 1
type: integer
type:
enum:
- docker