反向代理中源站增加最大连接数、连接超时时间等参数

This commit is contained in:
GoEdgeLab
2021-03-25 21:17:53 +08:00
parent 887ca38c10
commit 3d82bfd3c5
2 changed files with 177 additions and 63 deletions

View File

@@ -28,6 +28,11 @@ message CreateOriginRequest {
string description = 3;
int32 weight = 4;
bool isOn = 5;
bytes connTimeoutJSON = 6;
bytes readTimeoutJSON = 7;
bytes idleTimeoutJSON = 8;
int32 maxConns = 9;
int32 maxIdleConns = 10;
}
message CreateOriginResponse {
@@ -42,6 +47,11 @@ message UpdateOriginRequest {
string description = 4;
int32 weight = 5;
bool isOn = 6;
bytes connTimeoutJSON = 7;
bytes readTimeoutJSON = 8;
bytes idleTimeoutJSON = 9;
int32 maxConns = 10;
int32 maxIdleConns = 11;
}
// 查找单个源站信息