zhangbiwu
zhangbiwu
BFE https 1个进程(1个product) 是否支持 配置2个 域名,2个数字证书?
bfe master分支 以及v1.6.0等分支漏掉了对WriteTimeout的赋值 https://github.com/bfenetworks/bfe/blob/release/v1.6.0/bfe_server/bfe_server.go * v1.6.0现状 ``` // InitConfig set some parameter based on config. func (srv *BfeServer) InitConfig() { // set service port, according to config srv.Addr = fmt.Sprintf(":%d",...
https://github.com/bfenetworks/bfe/blob/develop/bfe_modules/mod_block/testdata/mod_block/ip_blocklist.data * ip_blocklist.data ``` # {"version": "1234", "pairIPNum":1, "singleIPNum":2} # global ip blocklist 10.1.1.0 10.1.1.254 192.168.1.100 1::1 ``` * mod_block控制面对ip_blocklist.data的写操作能否开源出来让大家参考下; * ip_blocklist.data定义了自己的词法,bfe没有开源写配置文件的接口。-- 自己实现也不难,只是想有个统一的写法。 * 或者有没有其他的ip列表配置文件的形态让大家一起看看
bfe的开源版本大概是基于go1.2 http transport内核开发的,后续是否会升级版本。 现在golang已经到了1.22版本。期待升级演进。
* build golang1.13.8, and build errors: ``` /root/go/pkg/mod/github.com/golang-jwt/[email protected]+incompatible/ecdsa.go:135:4: r.FillBytes undefined (type *big.Int has no field or method FillBytes) /root/go/pkg/mod/github.com/golang-jwt/[email protected]+incompatible/ecdsa.go:136:4: s.FillBytes undefined (type *big.Int has no field or method FillBytes) ```...