-
Notifications
You must be signed in to change notification settings - Fork 945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge Release/v1.7.0 into Master (#1211) #1212
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* typo: fix docs/example markdown lint Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: code span on function prototype of bfe callback Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix docs/introduction markdown lint and syntax Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix docs/installation markdown lint and syntax Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix docs/faq markdown lint and syntax Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix docs/modules markdown lint Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix docs/operation markdown lint Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix docs/monitor markdown lint and syntax Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * Add en_us/condition/request/context.md Signed-off-by: Song Jian <[email protected]> * Add zh_cn/condition/request/context.md Signed-off-by: Song Jian <[email protected]> * add req_context_value_in() to condition_primitive_index.md and adjust sequence (#1010) Signed-off-by: Song Jian <[email protected]> * ci: add markdown lint action Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix docs/condition markdown lints Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * Revert "chore: add typos in pre-commit" Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_balance spelling Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_basic BOM Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_config spelling Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_fcgi spelling Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_http bfe_server spelling Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_http2 spelling Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_module spelling Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: format bfe_modules/mod_userid Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_route spelling Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_spdy spelling Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: fix bfe_tls spelling Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: format bfe_util/socket_util Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * chore: ignore log rotate files Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * typo: remove dot at the end Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * Fix typo in mod_geo (#1029) Signed-off-by: suhang <[email protected]> Signed-off-by: Song Jian <[email protected]> * Add staticcheck pre-commit hook (#1019) Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * Add precommit hook for markdownlint (#1038) Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * Evict the oldest conn when the conn pool exceeds its limit (#1044) Signed-off-by: chenchen.ccqy66 <[email protected]> Signed-off-by: Song Jian <[email protected]> * import code-lint workflow job (#1037) Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * fix go.yaml dependency Signed-off-by: Song Jian <[email protected]> * fix arm build error in golang1.18 Signed-off-by: Song Jian <[email protected]> * 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 <[email protected]> Signed-off-by: Song Jian <[email protected]> * Create some slices with enough capacity (#1054) Signed-off-by: chenchen.ccqy66 <[email protected]> Signed-off-by: Song Jian <[email protected]> * Update ci.yml (#1061) Signed-off-by: Song Jian <[email protected]> * fix build failed on macos (#1067) Signed-off-by: Song Jian <[email protected]> * Make some optimization for leastConnsBalance (#1062) Signed-off-by: likepeng <[email protected]> Signed-off-by: Song Jian <[email protected]> * Fix some unreachable code in unit tests (#1068) Signed-off-by: Abirdcfly <[email protected]> Signed-off-by: Song Jian <[email protected]> * Support HTTP/2 fingerprint (#1072) Signed-off-by: xqbumu <[email protected]> Signed-off-by: Song Jian <[email protected]> * update v1.6.0 changelog Signed-off-by: clarinette9 <[email protected]> Signed-off-by: Song Jian <[email protected]> * update changelog and version file Signed-off-by: clarinette9 <[email protected]> Signed-off-by: Song Jian <[email protected]> * Update CHANGELOG.md fix minor typo Signed-off-by: clarinette9 <[email protected]> Signed-off-by: Song Jian <[email protected]> * Update condition_grammar.md fix typos Signed-off-by: Song Jian <[email protected]> * Update README.md Signed-off-by: Song Jian <[email protected]> * update mkdocs yml and download link for v1.5 and v1.6 (#1084) Signed-off-by: clarinette9 <[email protected]> Signed-off-by: Song Jian <[email protected]> * Resolved #800 support test configuration Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> * Update MAINTAINERS.md Signed-off-by: clarinette9 <[email protected]> Signed-off-by: Song Jian <[email protected]> * Update MAINTAINERS.md Signed-off-by: clarinette9 <[email protected]> Signed-off-by: Song Jian <[email protected]> * update maintainers.md Signed-off-by: clarinette9 <[email protected]> Signed-off-by: Song Jian <[email protected]> * fix some typo (#1113) Signed-off-by: cui fliter <[email protected]> Signed-off-by: Song Jian <[email protected]> * Update ci.yml Signed-off-by: Song Jian <[email protected]> * Update ADOPTERS.md (#1123) Signed-off-by: Benjamin <[email protected]> Signed-off-by: Song Jian <[email protected]> * 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Song Jian <[email protected]> * remove TestSetKeepAlive Signed-off-by: liangchuan <[email protected]> Signed-off-by: Song Jian <[email protected]> * remove TestSetKeepAlive Signed-off-by: liangchuan <[email protected]> Signed-off-by: Song Jian <[email protected]> * Resubmit with Signed-off-by line Signed-off-by: liangchuan <[email protected]> Signed-off-by: Song Jian <[email protected]> * Resubmit with Signed-off-by line Signed-off-by: liangchuan <[email protected]> Signed-off-by: Song Jian <[email protected]> * 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 <[email protected]> * Update Dockerfile to support multiarch build (#1120) Replace go compile args to TARGETOS and TARGETARCH to support multiarch compile Signed-off-by: Allen Chen <[email protected]> Signed-off-by: Song Jian <[email protected]> * Fix format issue in bfe_http/request_test.go (#1163) Signed-off-by: cuishuang <[email protected]> Signed-off-by: Song Jian <[email protected]> * Temporarily remove some test cases using legacy test data (#1193) Signed-off-by: Song Jian <[email protected]> * The experimental `dynamic plugin` is deprecated (#1197) Signed-off-by: Song Jian <[email protected]> * Update versions of some thirdpaty modules (#1198) Fix broken unit tests Signed-off-by: Song Jian <[email protected]> * Upgrade third-party modules for security reasons (#1201) Remove duplicated code lint workflow Signed-off-by: Sijie Yang <[email protected]> Signed-off-by: Song Jian <[email protected]> * bfe_wasm Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * remove v2 Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * remove redundant codes Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * fix OnPluginStart Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * refine codes Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * fix. Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * fix nil Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * rename package & remove some obsolete lines. Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * refine Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * fix & refine Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * docs of mod_wasmplugin Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * add link in summary.md to mod_wasmplugin Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * fix "bfe_http : readloop goroutine leak #1209" Signed-off-by: xuleiming <[email protected]> Signed-off-by: Song Jian <[email protected]> * update changlog and version file for v1.7.0 Signed-off-by: Song Jian <[email protected]> --------- Signed-off-by: kwanhur <[email protected]> Signed-off-by: Song Jian <[email protected]> Signed-off-by: suhang <[email protected]> Signed-off-by: chenchen.ccqy66 <[email protected]> Signed-off-by: Eng Zer Jun <[email protected]> Signed-off-by: likepeng <[email protected]> Signed-off-by: Abirdcfly <[email protected]> Signed-off-by: xqbumu <[email protected]> Signed-off-by: clarinette9 <[email protected]> Signed-off-by: cui fliter <[email protected]> Signed-off-by: Benjamin <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: liangchuan <[email protected]> Signed-off-by: Allen Chen <[email protected]> Signed-off-by: cuishuang <[email protected]> Signed-off-by: Sijie Yang <[email protected]> Signed-off-by: xuleiming <[email protected]> Co-authored-by: kwanhur <[email protected]> Co-authored-by: Sijie Yang <[email protected]> Co-authored-by: Miles Zhang <[email protected]> Co-authored-by: blinkbean <[email protected]> Co-authored-by: wolfCoder <[email protected]> Co-authored-by: daimg <[email protected]> Co-authored-by: Eng Zer Jun <[email protected]> Co-authored-by: kezhenxu94 <[email protected]> Co-authored-by: supermario1990 <[email protected]> Co-authored-by: cooper-li <[email protected]> Co-authored-by: Abirdcfly <[email protected]> Co-authored-by: 卜木 <[email protected]> Co-authored-by: cui fliter <[email protected]> Co-authored-by: Benjamin <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: liangchuan <[email protected]> Co-authored-by: z8n24 <[email protected]> Co-authored-by: watchword <[email protected]> Co-authored-by: xuleiming <[email protected]> Co-authored-by: Song Jian <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
typo: fix docs/example markdown lint
typo: code span on function prototype of bfe callback
typo: fix docs/introduction markdown lint and syntax
typo: fix docs/installation markdown lint and syntax
typo: fix docs/faq markdown lint and syntax
typo: fix docs/modules markdown lint
typo: fix docs/operation markdown lint
typo: fix docs/monitor markdown lint and syntax
Add en_us/condition/request/context.md
Add zh_cn/condition/request/context.md
add req_context_value_in() to condition_primitive_index.md and adjust sequence (add req_context_value_in() to condition_primitive_index.md and adjust sequence #1010)
ci: add markdown lint action
typo: fix docs/condition markdown lints
Revert "chore: add typos in pre-commit"
typo: fix bfe_balance spelling
typo: fix bfe_basic BOM
typo: fix bfe_config spelling
typo: fix bfe_fcgi spelling
typo: fix bfe_http bfe_server spelling
typo: fix bfe_http2 spelling
typo: fix bfe_module spelling
typo: format bfe_modules/mod_userid
typo: fix bfe_route spelling
typo: fix bfe_spdy spelling
typo: fix bfe_tls spelling
typo: format bfe_util/socket_util
chore: ignore log rotate files
typo: remove dot at the end
Fix typo in mod_geo (fix geo spell err #1029)
Add staticcheck pre-commit hook (chore: add staticcheck pre-commit hook #1019)
Add precommit hook for markdownlint (ci(precommit): add markdownlint hook #1038)
Evict the oldest conn when the conn pool exceeds its limit (优化空闲连接>MaxIdleConnsPerHost情况下处理 #1044)
import code-lint workflow job (import code-lint workflow job #1037)
fix go.yaml dependency
fix arm build error in golang1.18
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.
Create some slices with enough capacity (setting size for new slice is to reduce resize #1054)
Update ci.yml (Update ci.yml #1061)
fix build failed on macos (fix build failed on macos #1067)
Make some optimization for leastConnsBalance (make some optimization for leastConnsBalance, Benchmark increases 43% #1062)
Fix some unreachable code in unit tests (fix some unreachable code #1068)
Support HTTP/2 fingerprint (Feature: add HTTP/2 fingerprint support #1072)
update v1.6.0 changelog
update changelog and version file
Update CHANGELOG.md
fix minor typo
fix typos
Update README.md
update mkdocs yml and download link for v1.5 and v1.6 (update mkdocs yml and download link for v1.5 and v1.6 #1084)
Resolved configuration verify/test #800 support test configuration
Update MAINTAINERS.md
Update MAINTAINERS.md
update maintainers.md
fix some typo (fix some typo #1113)
Update ci.yml
Update ADOPTERS.md (Add PITS Global Data Recovery Services as adopter #1123)
build(deps): bump golang.org/x/sys (build(deps): bump golang.org/x/sys from 0.0.0-20211216021012-1d35b9e2eb4e to 0.1.0 #1101)
Bumps golang.org/x/sys from 0.0.0-20211216021012-1d35b9e2eb4e to 0.1.0.
updated-dependencies:
remove TestSetKeepAlive
remove TestSetKeepAlive
Resubmit with Signed-off-by line
Resubmit with Signed-off-by line
http2: close connections when receiving too many headers (update read header frame #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.
Replace go compile args to TARGETOS and TARGETARCH to support multiarch compile
Fix format issue in bfe_http/request_test.go (chore: fix format issue #1163)
Temporarily remove some test cases using legacy test data (Temporarily remove some test cases using legacy test data #1193)
The experimental
dynamic plugin
is deprecated (The experimentaldynamic plugin
is deprecated #1197)Update versions of some thirdpaty modules (Update versions of some thirdpaty modules #1198)
Fix broken unit tests
Remove duplicated code lint workflow
bfe_wasm
remove v2
remove redundant codes
fix OnPluginStart
refine codes
fix.
fix nil
rename package & remove some obsolete lines.
refine
fix & refine
docs of mod_wasmplugin
add link in summary.md to mod_wasmplugin
fix "bfe_http : readloop goroutine leak bfe_http : readloop goroutine leak #1209"
update changlog and version file for v1.7.0