Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4bbec09

Browse files
authored
Merge pull request #4496 from fatedier/dev
bump version
2 parents ccfe8c9 + f7a06cb commit 4bbec09

File tree

19 files changed

+125
-51
lines changed

19 files changed

+125
-51
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.22'
20+
go-version: '1.23'
2121
cache: false
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v4
2424
with:
2525
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
26-
version: v1.57
26+
version: v1.61
2727

2828
# Optional: golangci-lint command line arguments.
2929
# args: --issues-exit-code=0

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: '1.22'
18+
go-version: '1.23'
1919

2020
- name: Make All
2121
run: |

.golangci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
service:
2-
golangci-lint-version: 1.57.x # use the fixed version to not introduce new linters unexpectedly
2+
golangci-lint-version: 1.61.x # use the fixed version to not introduce new linters unexpectedly
33

44
run:
55
concurrency: 4
@@ -14,7 +14,7 @@ linters:
1414
enable:
1515
- unused
1616
- errcheck
17-
- exportloopref
17+
- copyloopvar
1818
- gocritic
1919
- gofumpt
2020
- goimports
@@ -90,6 +90,7 @@ linters-settings:
9090
- G402
9191
- G404
9292
- G501
93+
- G115 # integer overflow conversion
9394

9495
issues:
9596
# List of regexps of issue texts to exclude, empty list by default.

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ frp 是一个免费且开源的项目,我们欢迎任何人为其开发和进
9595

9696
您可以通过 [GitHub Sponsors](https://github.com/sponsors/fatedier) 赞助我们。
9797

98-
国内用户可以通过 [爱发电](https://afdian.net/a/fatedier) 赞助我们。
98+
国内用户可以通过 [爱发电](https://afdian.com/a/fatedier) 赞助我们。
9999

100100
企业赞助者可以将贵公司的 Logo 以及链接放置在项目 README 文件中。
101101

Release.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
### Features
22

3-
* Added a new plugin `tls2raw`: Enables TLS termination and forwarding of decrypted raw traffic to local service.
4-
* Added a default timeout of 30 seconds for the frpc subcommands to prevent commands from being stuck for a long time due to network issues.
5-
6-
### Fixes
7-
8-
* Fixed the issue that when `loginFailExit = false`, the frpc stop command cannot be stopped correctly if the server is not successfully connected after startup.
3+
* The frpc visitor command-line parameter adds the `--server-user` option to specify the username of the server-side proxy to connect to.
4+
* Support multiple frpc instances with different subjects when using oidc authentication.

client/control.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func (ctl *Control) registerMsgHandlers() {
230230
ctl.msgDispatcher.RegisterHandler(&msg.Pong{}, ctl.handlePong)
231231
}
232232

233-
// headerWorker sends heartbeat to server and check heartbeat timeout.
233+
// heartbeatWorker sends heartbeat to server and check heartbeat timeout.
234234
func (ctl *Control) heartbeatWorker() {
235235
xl := ctl.xl
236236

client/proxy/proxy_wrapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (pw *Wrapper) SetRunningStatus(remoteAddr string, respErr string) error {
137137
pw.Phase = ProxyPhaseStartErr
138138
pw.Err = respErr
139139
pw.lastStartErr = time.Now()
140-
return fmt.Errorf(pw.Err)
140+
return fmt.Errorf("%s", pw.Err)
141141
}
142142

143143
if err := pw.pxy.Run(); err != nil {

conf/frpc_full_example.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ requestHeaders.set.x-from-where = "frp"
327327

328328
[[proxies]]
329329
name = "plugin_tls2raw"
330-
type = "https"
330+
type = "tcp"
331331
remotePort = 6008
332332
[proxies.plugin]
333333
type = "tls2raw"

dockerfiles/Dockerfile-for-frpc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22 AS building
1+
FROM golang:1.23 AS building
22

33
COPY . /building
44
WORKDIR /building

dockerfiles/Dockerfile-for-frps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22 AS building
1+
FROM golang:1.23 AS building
22

33
COPY . /building
44
WORKDIR /building

0 commit comments

Comments
 (0)