base sagernet and migrate to circleci
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user