[GH-ISSUE #2059] 请教一下,如何裁剪这个源码,只留下socks插件的功能,让可执行文件控制在3-5兆左右 #1637

Closed
opened 2026-05-05 13:02:50 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @Ygrittevictorlee on GitHub (Nov 6, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2059

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?

What operating system and processor architecture are you using (go env)?

Configures you used:

Steps to reproduce the issue:
1.
2.
3.

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

Originally created by @Ygrittevictorlee on GitHub (Nov 6, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/2059 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** **What operating system and processor architecture are you using (`go env`)?** **Configures you used:** **Steps to reproduce the issue:** 1. 2. 3. **Describe the results you received:** **Describe the results you expected:** **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
gitea-mirror 2026-05-05 13:02:50 -06:00
Author
Owner

@QQ2017 commented on GitHub (Nov 9, 2020):

我甚至想裁剪下只保留TCP和STCP功能,一直没时间下手,我的思路是对比不同版本的源码,看看每加一个功能,都是加了哪些内容

<!-- gh-comment-id:723827752 --> @QQ2017 commented on GitHub (Nov 9, 2020): 我甚至想裁剪下只保留TCP和STCP功能,一直没时间下手,我的思路是对比不同版本的源码,看看每加一个功能,都是加了哪些内容
Author
Owner

@happytrudy commented on GitHub (Nov 24, 2020):

Do you know go language?

<!-- gh-comment-id:732642094 --> @happytrudy commented on GitHub (Nov 24, 2020): Do you know go language?
Author
Owner

@github-actions[bot] commented on GitHub (Jan 9, 2021):

Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.

<!-- gh-comment-id:757076309 --> @github-actions[bot] commented on GitHub (Jan 9, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
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#1637
No description provided.