Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Release/v1.7.0 into Master (#1211)
* typo: fix docs/example markdown lint Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: code span on function prototype of bfe callback Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix docs/introduction markdown lint and syntax Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix docs/installation markdown lint and syntax Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix docs/faq markdown lint and syntax Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix docs/modules markdown lint Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix docs/operation markdown lint Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix docs/monitor markdown lint and syntax Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Add en_us/condition/request/context.md Signed-off-by: Song Jian <songjian@yf-networks.com> * Add zh_cn/condition/request/context.md Signed-off-by: Song Jian <songjian@yf-networks.com> * add req_context_value_in() to condition_primitive_index.md and adjust sequence (#1010) Signed-off-by: Song Jian <songjian@yf-networks.com> * ci: add markdown lint action Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix docs/condition markdown lints Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Revert "chore: add typos in pre-commit" Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_balance spelling Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_basic BOM Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_config spelling Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_fcgi spelling Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_http bfe_server spelling Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_http2 spelling Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_module spelling Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: format bfe_modules/mod_userid Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_route spelling Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_spdy spelling Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: fix bfe_tls spelling Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: format bfe_util/socket_util Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * chore: ignore log rotate files Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * typo: remove dot at the end Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Fix typo in mod_geo (#1029) Signed-off-by: suhang <1099811329@qq.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Add staticcheck pre-commit hook (#1019) Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Add precommit hook for markdownlint (#1038) Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Evict the oldest conn when the conn pool exceeds its limit (#1044) Signed-off-by: chenchen.ccqy66 <chenchen.ccqy66@bytedance.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * import code-lint workflow job (#1037) Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * fix go.yaml dependency Signed-off-by: Song Jian <songjian@yf-networks.com> * fix arm build error in golang1.18 Signed-off-by: Song Jian <songjian@yf-networks.com> * refactor: replace strings.Replace with strings.ReplaceAll strings.ReplaceAll(s, old, new) is a wrapper function for strings.Replace(s, old, new, -1). But strings.ReplaceAll is more readable and removes the hardcoded -1. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Create some slices with enough capacity (#1054) Signed-off-by: chenchen.ccqy66 <chenchen.ccqy66@bytedance.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Update ci.yml (#1061) Signed-off-by: Song Jian <songjian@yf-networks.com> * fix build failed on macos (#1067) Signed-off-by: Song Jian <songjian@yf-networks.com> * Make some optimization for leastConnsBalance (#1062) Signed-off-by: likepeng <likepeng@didiglobal.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Fix some unreachable code in unit tests (#1068) Signed-off-by: Abirdcfly <fp544037857@gmail.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Support HTTP/2 fingerprint (#1072) Signed-off-by: xqbumu <xqbumu@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * update v1.6.0 changelog Signed-off-by: clarinette9 <songjiansuperman@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * update changelog and version file Signed-off-by: clarinette9 <songjiansuperman@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Update CHANGELOG.md fix minor typo Signed-off-by: clarinette9 <songjiansuperman@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Update condition_grammar.md fix typos Signed-off-by: Song Jian <songjian@yf-networks.com> * Update README.md Signed-off-by: Song Jian <songjian@yf-networks.com> * update mkdocs yml and download link for v1.5 and v1.6 (#1084) Signed-off-by: clarinette9 <songjiansuperman@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Resolved #800 support test configuration Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Update MAINTAINERS.md Signed-off-by: clarinette9 <songjiansuperman@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Update MAINTAINERS.md Signed-off-by: clarinette9 <songjiansuperman@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * update maintainers.md Signed-off-by: clarinette9 <songjiansuperman@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * fix some typo (#1113) Signed-off-by: cui fliter <imcusg@gmail.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Update ci.yml Signed-off-by: Song Jian <songjian@yf-networks.com> * Update ADOPTERS.md (#1123) Signed-off-by: Benjamin <72671586+benjx1990@users.noreply.github.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * build(deps): bump golang.org/x/sys (#1101) Bumps [golang.org/x/sys](/~https://github.com/golang/sys) from 0.0.0-20211216021012-1d35b9e2eb4e to 0.1.0. - [Release notes](/~https://github.com/golang/sys/releases) - [Commits](/~https://github.com/golang/sys/commits/v0.1.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * remove TestSetKeepAlive Signed-off-by: liangchuan <liangchuan@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * remove TestSetKeepAlive Signed-off-by: liangchuan <liangchuan@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Resubmit with Signed-off-by line Signed-off-by: liangchuan <liangchuan@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Resubmit with Signed-off-by line Signed-off-by: liangchuan <liangchuan@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * http2: close connections when receiving too many headers (#1156) Maintaining HPACK state requires that we parse and process all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, we don't allocate memory to store the excess headers but we do parse them. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send. Set a limit on the amount of excess header frames we will process before closing a connection. This is CVE-2023-45288 and Go issue https://go.dev/issue/65051. Signed-off-by: Song Jian <songjian@yf-networks.com> * Update Dockerfile to support multiarch build (#1120) Replace go compile args to TARGETOS and TARGETARCH to support multiarch compile Signed-off-by: Allen Chen <watchword@gmail.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Fix format issue in bfe_http/request_test.go (#1163) Signed-off-by: cuishuang <imcusg@gmail.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * Temporarily remove some test cases using legacy test data (#1193) Signed-off-by: Song Jian <songjian@yf-networks.com> * The experimental `dynamic plugin` is deprecated (#1197) Signed-off-by: Song Jian <songjian@yf-networks.com> * Update versions of some thirdpaty modules (#1198) Fix broken unit tests Signed-off-by: Song Jian <songjian@yf-networks.com> * Upgrade third-party modules for security reasons (#1201) Remove duplicated code lint workflow Signed-off-by: Sijie Yang <iyangsj@gmail.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * bfe_wasm Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * remove v2 Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * remove redundant codes Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * fix OnPluginStart Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * refine codes Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * fix. Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * fix nil Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * rename package & remove some obsolete lines. Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * refine Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * fix & refine Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * docs of mod_wasmplugin Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * add link in summary.md to mod_wasmplugin Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * fix "bfe_http : readloop goroutine leak #1209" Signed-off-by: xuleiming <xuleiming@yf-networks.com> Signed-off-by: Song Jian <songjian@yf-networks.com> * update changlog and version file for v1.7.0 Signed-off-by: Song Jian <songjian@yf-networks.com> --------- Signed-off-by: kwanhur <huang_hua2012@163.com> Signed-off-by: Song Jian <songjian@yf-networks.com> Signed-off-by: suhang <1099811329@qq.com> Signed-off-by: chenchen.ccqy66 <chenchen.ccqy66@bytedance.com> Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> Signed-off-by: likepeng <likepeng@didiglobal.com> Signed-off-by: Abirdcfly <fp544037857@gmail.com> Signed-off-by: xqbumu <xqbumu@163.com> Signed-off-by: clarinette9 <songjiansuperman@163.com> Signed-off-by: cui fliter <imcusg@gmail.com> Signed-off-by: Benjamin <72671586+benjx1990@users.noreply.github.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: liangchuan <liangchuan@yf-networks.com> Signed-off-by: Allen Chen <watchword@gmail.com> Signed-off-by: cuishuang <imcusg@gmail.com> Signed-off-by: Sijie Yang <iyangsj@gmail.com> Signed-off-by: xuleiming <xuleiming@yf-networks.com> Co-authored-by: kwanhur <huang_hua2012@163.com> Co-authored-by: Sijie Yang <iyangsj@gmail.com> Co-authored-by: Miles Zhang <zhangmiao02@baidu.com> Co-authored-by: blinkbean <1099811329@qq.com> Co-authored-by: wolfCoder <chenchen_839@126.com> Co-authored-by: daimg <daiming@baidu.com> Co-authored-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: kezhenxu94 <kezhenxu94@apache.org> Co-authored-by: supermario1990 <406517780@qq.com> Co-authored-by: cooper-li <963492628@qq.com> Co-authored-by: Abirdcfly <fp544037857@gmail.com> Co-authored-by: 卜木 <xqbumu@gmail.com> Co-authored-by: cui fliter <imcusg@gmail.com> Co-authored-by: Benjamin <72671586+benjx1990@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: liangchuan <liangchuan@yf-networks.com> Co-authored-by: z8n24 <zhaoxueqin24@Gmail.com> Co-authored-by: watchword <watchword@gmail.com> Co-authored-by: xuleiming <xuleiming@yf-networks.com> Co-authored-by: Song Jian <songjian@yf-networks.com>
- Loading branch information