- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for proxyLogIf (0.54 sec)
-
cmd/logging.go
package cmd import ( "context" "errors" "github.com/minio/minio/internal/grid" "github.com/minio/minio/internal/logger" ) func proxyLogIf(ctx context.Context, err error, errKind ...any) { logger.LogIf(ctx, "proxy", err, errKind...) } func replLogIf(ctx context.Context, err error, errKind ...any) { logger.LogIf(ctx, "replication", err, errKind...) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
cmd/handler-utils.go
PassHost: true, RoundTripper: ep.Transport, ErrorHandler: func(w http.ResponseWriter, r *http.Request, err error) { success = false if err != nil && !errors.Is(err, context.Canceled) { proxyLogIf(GlobalContext, err) } if returnErr { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) } }, }) r.URL.Scheme = "http" if globalIsTLS { r.URL.Scheme = "https" }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.3K bytes - Viewed (1) -
cmd/server-main.go
globalForwarder = handlers.NewForwarder(&handlers.Forwarder{ PassHost: true, RoundTripper: globalRemoteTargetTransport, Logger: func(err error) { if err != nil && !errors.Is(err, context.Canceled) { proxyLogIf(GlobalContext, err) } }, }) // On macOS, if a process already listens on LOCALIPADDR:PORT, net.Listen() falls back // to IPv6 address ie minio will start listening on IPv6 address whereas another
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:18:36 UTC 2025 - 35.9K bytes - Viewed (4)