mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-09-10 05:14:07 +08:00
Compare commits
27 Commits
2e5d8c2d62
...
c4207d86d0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c4207d86d0 | ||
![]() |
47649a7552 | ||
![]() |
2599ab5117 | ||
![]() |
028d345d9d | ||
![]() |
6a43a8037a | ||
![]() |
b0e2375fd8 | ||
![]() |
46e73d8532 | ||
![]() |
c8d8b7fac9 | ||
![]() |
1bcf36a487 | ||
![]() |
6d59c94f33 | ||
![]() |
cb50ee4627 | ||
![]() |
c0d7ad6118 | ||
![]() |
2b2ef490d6 | ||
![]() |
b49ee4eff4 | ||
![]() |
a91478d2c7 | ||
![]() |
414fe5f66f | ||
![]() |
112f33eeff | ||
![]() |
ca3b491c32 | ||
![]() |
96e3838dd0 | ||
![]() |
4be4437ec6 | ||
![]() |
69b5a46838 | ||
![]() |
52ceaf3582 | ||
![]() |
d95f17a655 | ||
![]() |
e727fdae61 | ||
![]() |
288a7b9422 | ||
![]() |
65b48422ac | ||
![]() |
d3fe6e6473 |
@ -81,10 +81,6 @@ func parsePreReleaseIdentifier(identifier string) int {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (v Version) VersionString() string {
|
||||
return F.ToString(v.Major, ".", v.Minor, ".", v.Patch)
|
||||
}
|
||||
|
||||
func (v Version) String() string {
|
||||
version := F.ToString(v.Major, ".", v.Minor, ".", v.Patch)
|
||||
if v.PreReleaseIdentifier != "" {
|
||||
|
@ -10,7 +10,6 @@ import (
|
||||
|
||||
"github.com/sagernet/fswatch"
|
||||
"github.com/sagernet/sing-box/adapter"
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
"github.com/sagernet/sing-box/log"
|
||||
"github.com/sagernet/sing-box/option"
|
||||
"github.com/sagernet/sing/common"
|
||||
@ -274,9 +273,6 @@ func NewSTDServer(ctx context.Context, logger log.ContextLogger, options option.
|
||||
echKeyPath: echKeyPath,
|
||||
}
|
||||
if options.KernelTx || options.KernelRx {
|
||||
if !C.IsLinux {
|
||||
return nil, E.New("kTLS is only supported on Linux")
|
||||
}
|
||||
config = &KTlSServerConfig{
|
||||
ServerConfig: config,
|
||||
logger: logger,
|
||||
|
@ -88,7 +88,6 @@ func (h *Inbound) Close() error {
|
||||
h.tlsConfig,
|
||||
)
|
||||
}
|
||||
|
||||
func (h *Inbound) NewConnectionEx(ctx context.Context, conn net.Conn, metadata adapter.InboundContext, onClose N.CloseHandlerFunc) {
|
||||
err := h.newConnection(ctx, conn, metadata, onClose)
|
||||
N.CloseOnHandshakeFailure(conn, onClose, err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user