[GH-ISSUE #2620] Windows Server系统,当客户端被强制关闭之后,服务器端无法及时释放资源 #2088

Closed
opened 2026-05-05 13:20:32 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @xzbaijj on GitHub (Oct 15, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2620

Bug Description

Windows Server系统,当客户端被强制关闭之后,服务器端无法及时释放资源,必须在CMD窗口上,按一下回车键,或者关闭Server端,重新启动。设置了心跳延迟时间,不知道是否会正常生效。当服务器端无法释放资源时,客户端无法重新建立连接。建议修改客户端的连接策略,如果新客户端建立连接,服务端判断是重复客户端,则释放原有资源。

frpc Version

0.37.1

frps Version

0.37.1

System Architecture

linux/amd64,windows/amd64

Configurations

[common]
bind_port = 7000
vhost_http_port = 80
authentication_timeout = 15

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @xzbaijj on GitHub (Oct 15, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2620 ### Bug Description Windows Server系统,当客户端被强制关闭之后,服务器端无法及时释放资源,必须在CMD窗口上,按一下回车键,或者关闭Server端,重新启动。设置了心跳延迟时间,不知道是否会正常生效。当服务器端无法释放资源时,客户端无法重新建立连接。建议修改客户端的连接策略,如果新客户端建立连接,服务端判断是重复客户端,则释放原有资源。 ### frpc Version 0.37.1 ### frps Version 0.37.1 ### System Architecture linux/amd64,windows/amd64 ### Configurations [common] bind_port = 7000 vhost_http_port = 80 authentication_timeout = 15 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [X] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@blizard863 commented on GitHub (Oct 15, 2021):

frpc 和 frps 的配置多提供一些。 敏感信息可以抹掉。

<!-- gh-comment-id:944347136 --> @blizard863 commented on GitHub (Oct 15, 2021): frpc 和 frps 的配置多提供一些。 敏感信息可以抹掉。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2088
No description provided.