base sagernet and migrate to circleci

This commit is contained in:
iceBear67 committed 2026-07-16 04:47:12 +00:00
1 parent cf2658264a
commit 87871e223f
16 files changed
+322 -149

No files matched your search

@@ -112,7 +112,7 @@
+ return h.fallbackAddr.IsValid()
+}
+
+func (h *Inbound) NewConnectionEx(ctx context.Context, conn net.Conn, metadata adapter.InboundContext, onClose N.CloseHandlerFunc) {
+func (h *Inbound) NewConnection(ctx context.Context, conn net.Conn, metadata adapter.InboundContext, onClose N.CloseHandlerFunc) {
+ err := h.handleConnection(ctx, conn, metadata, onClose)
+ if err != nil && !E.IsClosed(err) {
+ h.logger.ErrorContext(ctx, E.Cause(err, "process connection from ", metadata.Source))