ChenYarong

Results 4 issues of ChenYarong

1. 我认为 \Owl\Parameter\Validator 是一个工具类,且本身是没有什么属性的,那么我认为可以被声明为一个单例类,这样保证在一个生命周期只会有一个对象出现,减少开支。 2. 在 Validator::execute() 方法增加三个参数, string $key。 如果我们想直接检查数据格式,那么就不用在代码中手工的构造数组逻辑。只需要告知Validator 当报错的时候,使用什么key 来进行名字报错即可。这样可以达到直接检查传入数据的目的。

https://github.com/easegress-io/easegress/blob/main/pkg/object/pipeline/pipeline.go#L391 ```go result = node.filter.Handle(ctx) stats = append(stats, FilterStat{ Name: alias, Kind: node.filter.Kind().Name, Duration: fasttime.Since(start), Result: result, }) var ok bool if next, ok = node.JumpIf[result]; result != "" &&...

question

The `net.ErrClosed` maybe an expected error after `svrConn.Close()`, `clntConn.Close()`. However, I am now encountering numerous instances of such errors `websocketproxy#wsproxy#main: failed to read from client: failed to get reader: use...

question

您好! 我这边在使用 conf-agent 的时候,在配置 conf-agent.toml 中的 `BFECluster = "{BFECluster}"` 值后,在启动 conf-agent 之后会得到如下错误: ``` topic[probe] err[url: http://127.0.0.1:8183/inner-api/v1/configs/gslb_data/gslb?bfe_cluster=doll_cluster&version=00000000000000, err: bad StatuCode: 422, Raw: {"ErrNum":422,"ErrMsg":"Param Illegal: BFECluster doll_cluster Not Exist","Data":null}] ``` 其中的 `doll_cluster`...