bjdgyc / anylink

AnyLink是一个企业级远程办公 ssl vpn 软件,可以支持多人同时在线使用。基于 openconnect 协议开发,并且借鉴了 ocserv 的开发思路,可以完全兼容 AnyConnect 客户端。
GNU Affero General Public License v3.0
1.66k stars 397 forks source link

复用pl对象,减少copy性能损耗 #202

Closed lanrenwo closed 1 year ago

lanrenwo commented 1 year ago

RT, 如果通道已满,采用降级处理,确保VPN正常使用。

codecov-commenter commented 1 year ago

Codecov Report

Base: 22.64% // Head: 22.57% // Decreases project coverage by -0.06% :warning:

Coverage data is based on head (9e53ec2) compared to base (e909ca5). Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #202 +/- ## ========================================== - Coverage 22.64% 22.57% -0.07% ========================================== Files 61 61 Lines 3719 3730 +11 ========================================== Hits 842 842 - Misses 2744 2755 +11 Partials 133 133 ``` | [Impacted Files](https://codecov.io/gh/bjdgyc/anylink/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc) | Coverage Δ | | |---|---|---| | [server/handler/link\_tap.go](https://codecov.io/gh/bjdgyc/anylink/pull/202/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2hhbmRsZXIvbGlua190YXAuZ28=) | `0.00% <0.00%> (ø)` | | | [server/handler/link\_tun.go](https://codecov.io/gh/bjdgyc/anylink/pull/202/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2hhbmRsZXIvbGlua190dW4uZ28=) | `0.00% <0.00%> (ø)` | | | [server/handler/payload.go](https://codecov.io/gh/bjdgyc/anylink/pull/202/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2hhbmRsZXIvcGF5bG9hZC5nbw==) | `0.00% <0.00%> (ø)` | | | [server/handler/payload\_access\_audit.go](https://codecov.io/gh/bjdgyc/anylink/pull/202/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2hhbmRsZXIvcGF5bG9hZF9hY2Nlc3NfYXVkaXQuZ28=) | `0.00% <0.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

bjdgyc commented 1 year ago

不错