[GH-ISSUE #2212] The binary size of frps nearly doubled in 0.35.0 #1760

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

Originally created by @xlfjn on GitHub (Jan 23, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2212

Version: 0.35.0

OS: Linux
CPU architecture: arm

Steps to reproduce the issue

  1. Download the prebuilt binaries of version 0.35.0 and 0.34.3
  2. tar -tvf frp_0.35.0_linux_arm.tar.gz && tar -tvf frp_0.34.3_linux_arm.tar.gz
  3. Compare the size of binaries
-rwxr-xr-x runner/docker  8454144 2021-01-19 21:32 frp_0.35.0_linux_arm/frpc
-rwxr-xr-x runner/docker 20316160 2021-01-19 21:32 frp_0.35.0_linux_arm/frps
-rwxr-xr-x runner/docker  8454144 2020-11-20 17:16 frp_0.34.3_linux_arm/frpc
-rwxr-xr-x runner/docker 11272192 2020-11-20 17:16 frp_0.34.3_linux_arm/frps

Notice that the size of frpc remains the same between versions, however frps ballooned by more than 80%.
In 0.34.3, frps is larger than frpc by 1/3 or 33% . In 0.35.0 it becomes 140% .

Can you guess what caused this issue
#2101 might be the cause, since only frps is affected. However I have not tried compiling frp without that.

Originally created by @xlfjn on GitHub (Jan 23, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2212 Version: 0.35.0 OS: Linux CPU architecture: arm **Steps to reproduce the issue** 1. Download the prebuilt binaries of version [0.35.0](https://github.com/fatedier/frp/releases/download/v0.35.0/frp_0.35.0_linux_arm.tar.gz) and [0.34.3](https://github.com/fatedier/frp/releases/download/v0.34.3/frp_0.34.3_linux_arm.tar.gz) 2. `tar -tvf frp_0.35.0_linux_arm.tar.gz && tar -tvf frp_0.34.3_linux_arm.tar.gz` 3. Compare the size of binaries ``` -rwxr-xr-x runner/docker 8454144 2021-01-19 21:32 frp_0.35.0_linux_arm/frpc -rwxr-xr-x runner/docker 20316160 2021-01-19 21:32 frp_0.35.0_linux_arm/frps ``` ``` -rwxr-xr-x runner/docker 8454144 2020-11-20 17:16 frp_0.34.3_linux_arm/frpc -rwxr-xr-x runner/docker 11272192 2020-11-20 17:16 frp_0.34.3_linux_arm/frps ``` Notice that the size of `frpc` remains the same between versions, however `frps` ballooned by more than 80%. In 0.34.3, `frps` is larger than `frpc` by 1/3 or 33% . In 0.35.0 it becomes 140% . **Can you guess what caused this issue** #2101 might be the cause, since only `frps` is affected. However I have not tried compiling frp without that.
gitea-mirror 2026-05-05 13:08:08 -06:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@fatedier commented on GitHub (Jan 25, 2021):

Thanks for your report. Your guess is right, i will try to fix it and release a new version.

<!-- gh-comment-id:766523192 --> @fatedier commented on GitHub (Jan 25, 2021): Thanks for your report. Your guess is right, i will try to fix it and release a new version.
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#1760
No description provided.