Commit b1f1c66
Merge Release/v1.7.0 into Master (#1211)
* 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]>1 parent e22ca37 commit b1f1c66
File tree
68 files changed
+2102
-473
lines changed- .github/workflows
- bfe_basic/condition/parser
- bfe_config/bfe_conf
- testdata/conf_https_basic
- bfe_http2
- bfe_http
- bfe_modules
- mod_auth_jwt
- mod_tcp_keepalive
- mod_wasmplugin
- bfe_module
- bfe_server
- bfe_stream
- bfe_tls
- bfe_util
- bfe_wasmplugin
- abi
- proxywasm010
- bfe_websocket
- conf
- mod_wasm
- server_data_conf
- wasm_plugin/headers
- docs
- en_us
- condition
- system
- configuration
- cluster_conf
- server_data_conf
- example
- modules/mod_wasmplugin
- operation
- zh_cn
- configuration
- modules/mod_wasmplugin
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
68 files changed
+2102
-473
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
13 | 53 | | |
14 | 54 | | |
15 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments