bfe
bfe copied to clipboard
A modern layer 7 load balancer from baidu
support `bfe -t` to test configuration valid or not test failed when invalid bfe.conf ```bash [vagrant@lvs bfe]$ ./bfe -t 2021/10/17 17:28:23 maxprocs: Leaving GOMAXPROCS=2: CPU quota undefined bfe: configuration file...
For more configuration examples, see: https://github.com/bfenetworks/bfe/tree/develop/docs/zh_cn/example https://github.com/bfenetworks/bfe/tree/develop/docs/en_us/example
Update description about some primitives - req_cip_hash_in - req_query_value_hash_in - req_cookie_value_hash_in - req_header_value_hash_in
mod_mime
**Description** - If the backend response is missing "Content-Type" header , try to perform MIME sniffing and fix the response header. **Reference** - http://mimesniff.spec.whatwg.org/ - https://github.com/bfenetworks/bfe/blob/develop/bfe_http/sniff.go
Copywriting in `docs/zh_cn/` have different formats: * some writings have one space before/after English words but some have no. * some punctuations used in halfwidth form but some in fullwidth....
### Discussed in https://github.com/bfenetworks/bfe/discussions/968 Originally posted by **kwanhur** January 23, 2022 when add some feature into `bfe_server`, it seems to add test case uncomfortably, needs to mock a mass of...
[staticcheck](https://github.com/bfenetworks/bfe/blob/develop/staticcheck.conf) had been used in `bfe`, but it doesn't exist in [ci job steps](https://github.com/bfenetworks/bfe/blob/develop/.github/workflows/ci.yml). Add step `staticcheck` on pull request and push develop, helps to improve quality of codes. marketplace...
**Describe the bug** /monitor/bal_table_status?format=prometheus /monitor/host_table_status?format=prometheus /monitor/proxy_mem_stat?format=prometheus response data is not prometheus format example: /monitor/bal_table_status?format=prometheus response 
### Discussed in https://github.com/bfenetworks/bfe/discussions/927 Originally posted by **curiosport** January 2, 2022 I know that using `http `instead of `https` is absurd I just want to know if it is possible...
### Discussed in https://github.com/bfenetworks/bfe/discussions/927 Originally posted by **curiosport** January 2, 2022 I know that using `http `instead of `https` is absurd I just want to know if it is possible...