Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for noabody (0.27 sec)

  1. cmd/http-tracer.go

    			return
    		}
    
    		tc.FuncName = getOpName(runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name())
    		tc.RequestRecorder.LogBody = logBody
    		tc.ResponseRecorder.LogAllBody = logBody
    		tc.ResponseRecorder.LogErrBody = true
    
    		f.ServeHTTP(w, r)
    	}
    }
    
    func httpTraceAll(f http.HandlerFunc) http.HandlerFunc {
    	return httpTrace(f, true)
    }
    
    func httpTraceHdrs(f http.HandlerFunc) http.HandlerFunc {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. internal/http/request-recorder.go

    package http
    
    import (
    	"bytes"
    	"io"
    )
    
    // RequestRecorder - records the
    // of a given io.Reader
    type RequestRecorder struct {
    	// Data source to record
    	io.Reader
    	// Response body should be logged
    	LogBody bool
    
    	// internal recording buffer
    	buf bytes.Buffer
    	// total bytes read including header size
    	bytesRead int
    }
    
    // Close is a no operation closer
    func (r *RequestRecorder) Close() error {
    	// no-op
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 12 21:37:19 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. cmd/ftp-server.go

    		WelcomeMessage: fmt.Sprintf("Welcome to '%s' FTP Server Version='%s' License='%s'", MinioStoreName, MinioLicense, Version),
    		Driver:         NewFTPDriver(),
    		Port:           port,
    		Perm:           ftp.NewSimplePerm("nobody", "nobody"),
    		TLS:            tls,
    		KeyFile:        tlsPrivateKey,
    		CertFile:       tlsPublicCert,
    		ExplicitFTPS:   tls,
    		Logger:         &minioLogger{},
    		PassivePorts:   portRange,
    		PublicIP:       publicIP,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  4. internal/pubsub/pubsub.go

    				}
    			}
    		}
    	}()
    
    	return nil
    }
    
    // NumSubscribers returns the number of current subscribers,
    // The mask is checked against the active subscribed types,
    // and 0 will be returned if nobody is subscribed for the type(s).
    func (ps *PubSub[T, M]) NumSubscribers(mask M) int32 {
    	types := Mask(atomic.LoadUint64(&ps.types))
    	if !types.Overlaps(Mask(mask.Mask())) {
    		return 0
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. cmd/url_test.go

    package cmd
    
    import (
    	"net/http"
    	"testing"
    )
    
    func BenchmarkURLQueryForm(b *testing.B) {
    	req, err := http.NewRequest(http.MethodGet, "http://localhost:9000/bucket/name?uploadId=upload&partNumber=1", http.NoBody)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 2K bytes
    - Viewed (0)
Back to top