Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for Freq (0.05 sec)

  1. cmd/auth-handler_test.go

    	req := mustNewRequest(method, urlStr, contentLength, body, t)
    	req.Header.Set("Content-Md5", "invalid-digest")
    	cred := globalActiveCred
    	if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil {
    		t.Fatalf("Unable to initialized new signed http request %s", err)
    	}
    	return req
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. pilot/pkg/xds/delta.go

    func (s *DiscoveryServer) processDeltaRequest(req *discovery.DeltaDiscoveryRequest, con *Connection) error {
    	stype := v3.GetShortType(req.TypeUrl)
    	deltaLog.Debugf("ADS:%s: REQ %s resources sub:%d unsub:%d nonce:%s", stype,
    		con.ID(), len(req.ResourceNamesSubscribe), len(req.ResourceNamesUnsubscribe), req.ResponseNonce)
    
    	if req.TypeUrl == v3.HealthInfoType {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. internal/rest/client.go

    		// variable to mean explicitly zero.
    		if req.GetBody != nil && req.ContentLength == 0 {
    			req.Body = http.NoBody
    			req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil }
    		}
    	}
    
    	if c.newAuthToken != nil {
    		req.Header.Set("Authorization", "Bearer "+c.newAuthToken(u.RawQuery))
    	}
    	req.Header.Set("X-Minio-Time", time.Now().UTC().Format(time.RFC3339))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. src/net/http/clientserver_test.go

    	for i, tt := range tests {
    		res, err := cst.c.Do(tt.req)
    		if err != nil {
    			t.Errorf("%d. RoundTrip = %v", i, err)
    			continue
    		}
    		res.Body.Close()
    		req := <-gotc
    		if req.Method != "CONNECT" {
    			t.Errorf("method = %q; want CONNECT", req.Method)
    		}
    		if req.Host != tt.want {
    			t.Errorf("Host = %q; want %q", req.Host, tt.want)
    		}
    		if req.URL.Host != tt.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  5. pilot/pkg/xds/ads.go

    func (s *DiscoveryServer) processRequest(req *discovery.DiscoveryRequest, con *Connection) error {
    	stype := v3.GetShortType(req.TypeUrl)
    	log.Debugf("ADS:%s: REQ %s resources:%d nonce:%s version:%s ", stype,
    		con.ID(), len(req.ResourceNames), req.ResponseNonce, req.VersionInfo)
    	if req.TypeUrl == v3.HealthInfoType {
    		s.handleWorkloadHealthcheck(con.proxy, req)
    		return nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pilot/pkg/xds/discovery.go

    	if !req.Full {
    		req.Push = s.globalPushContext()
    		s.dropCacheForRequest(req)
    		s.AdsPushAll(req)
    		return
    	}
    	// Reset the status during the push.
    	oldPushContext := s.globalPushContext()
    	if oldPushContext != nil {
    		oldPushContext.OnConfigChange()
    		// Push the previous push Envoy metrics.
    		envoyfilter.RecordMetrics()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. internal/logger/logger.go

    			logKind = ek
    		}
    	}
    
    	req := GetReqInfo(ctx)
    	if req == nil {
    		req = &ReqInfo{
    			API:       "SYSTEM",
    			RequestID: fmt.Sprintf("%X", time.Now().UTC().UnixNano()),
    		}
    	}
    	req.RLock()
    	defer req.RUnlock()
    
    	API := "SYSTEM"
    	switch {
    	case req.API != "":
    		API = req.API
    	case subsystem != "":
    		API += "." + subsystem
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    	legend := report.ProfileLabels(rpt)
    	ui.render(w, req, "plaintext", rpt, errList, legend, webArgs{
    		TextBody: out.String(),
    	})
    
    }
    
    // source generates a web page containing source code annotated with profile
    // data.
    func (ui *webInterface) source(w http.ResponseWriter, req *http.Request) {
    	args := []string{"weblist", req.URL.Query().Get("f")}
    	rpt, errList := ui.makeReport(w, req, args, nil)
    	if rpt == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. cmd/generic-handlers.go

    // like healthCheck request
    func guessIsHealthCheckReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	aType := getRequestAuthType(req)
    	return aType == authTypeAnonymous && (req.Method == http.MethodGet || req.Method == http.MethodHead) &&
    		(req.URL.Path == healthCheckPathPrefix+healthCheckLivenessPath ||
    			req.URL.Path == healthCheckPathPrefix+healthCheckReadinessPath ||
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/status/server_test.go

    			for i := 0; i < t.N; i++ {
    				req := &http.Request{}
    				req.Header = make(http.Header)
    				req.Header.Add("Accept", string(FmtText))
    				rec := httptest.NewRecorder()
    				server.handleStats(rec, req)
    			}
    		})
    		t.Run("stats-fmtopenmetrics-"+v, func(t *testing.B) {
    			for i := 0; i < t.N; i++ {
    				req := &http.Request{}
    				req.Header = make(http.Header)
    				req.Header.Add("Accept", string(FmtOpenMetrics_1_0_0))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top