[GH-ISSUE #2311] Statistics update #1833

Open
opened 2026-05-05 13:11:06 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @mnicolas-solgeo on GitHub (Mar 18, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2311

Originally assigned to: @fatedier on GitHub.

Hello,

I have noticed that TCP statistics are only updated when the socket is closed and not when the data is actually sent or received.
For example, as seen in the attached image, if an application keeps sending traffic for days without closing the socket, all the traffic is counted when the socket is finally closed.

It would be useful to control how often statistics are updated, with some setting in the ini file (real time, once per hour, per day, only at socket closure, etc)

Thanks

image

Originally created by @mnicolas-solgeo on GitHub (Mar 18, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2311 Originally assigned to: @fatedier on GitHub. Hello, I have noticed that TCP statistics are only updated when the socket is closed and not when the data is actually sent or received. For example, as seen in the attached image, if an application keeps sending traffic for days without closing the socket, all the traffic is counted when the socket is finally closed. It would be useful to control how often statistics are updated, with some setting in the ini file (real time, once per hour, per day, only at socket closure, etc) Thanks ![image](https://user-images.githubusercontent.com/54985643/111592092-9e102800-87c8-11eb-9a78-0787ca620b42.png)
gitea-mirror added the
enhancement
label 2026-05-05 13:11:06 -06:00
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#1833
No description provided.