Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add file transfer support #55

Merged
merged 2 commits into from
Aug 20, 2024
Merged

feat: add file transfer support #55

merged 2 commits into from
Aug 20, 2024

Conversation

uubulb
Copy link
Contributor

@uubulb uubulb commented Aug 17, 2024

对应 naiba/nezha#411

其它更改:
util 新增 Printf 方法,使用和普通的 printf 没什么区别,主要就是为了简化一下构建日志信息的操作

@naiba
Copy link
Member

naiba commented Aug 18, 2024

  1. 16m buffer 要求 16m ram,有没有必要 看下 frp 代码?
  2. terminal 也是通过 grpc,理论上不会差太多的 可以先自己编译部署下试试 先确定是哪里问题 加个自定义文件传输协议有点重

@uubulb
Copy link
Contributor Author

uubulb commented Aug 18, 2024

  1. 16m buffer 要求 16m ram,有没有必要 看下 frp 代码?

    1. terminal 也是通过 grpc,理论上不会差太多的 可以先自己编译部署下试试 先确定是哪里问题 加个自定义文件传输协议有点重
  1. frp我看tcpmux用的6M缓存, 改成1M了
  2. 感觉那个速度慢可能是跟传输协议(x/y/z/modem类的)本身有联系 目前不太清楚为啥

@uubulb uubulb marked this pull request as ready for review August 19, 2024 16:19
@naiba naiba merged commit 73a727d into nezhahq:main Aug 20, 2024
4 checks passed
@uubulb uubulb deleted the feat/fm branch August 26, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants