Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for Dost (3.27 sec)

  1. internal/grid/connection.go

    	return c(ctx, network, address)
    }
    
    const (
    	defaultOutQueue    = 65535    // kind of close to max open fds per user
    	readBufferSize     = 32 << 10 // 32 KiB is the most optimal on Linux
    	writeBufferSize    = 32 << 10 // 32 KiB is the most optimal on Linux
    	defaultDialTimeout = 2 * time.Second
    	connPingInterval   = 10 * time.Second
    	connWriteTimeout   = 3 * time.Second
    )
    
    type connectionParams struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    	hosts := make([]string, len(records))
    	for i, r := range records {
    		hosts[i] = net.JoinHostPort(r.Host, string(r.Port))
    	}
    	return hosts
    }
    
    // returns an online host (and corresponding port) from a slice of DNS records
    func getHostFromSrv(records []dns.SrvRecord) (host string) {
    	hosts := getHostsSlice(records)
    	rng := rand.New(rand.NewSource(time.Now().UTC().UnixNano()))
    	var d net.Dialer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  3. cmd/signature-v4_test.go

    				"X-Amz-SignedHeaders":  "host;x-amz-content-sha256;x-amz-date",
    				"X-Amz-Credential":     fmt.Sprintf(credentialTemplate, accessKeyID, now.Format(yyyymmdd), "us-west-1"),
    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   "us-west-1",
    			expected: ErrUnsignedHeaders,
    		},
    		// (3) Should fail to extract headers if the host header is not signed.
    		{
    			queryParams: map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  4. cni/pkg/nodeagent/net.go

    	go s.ztunnelServer.Run(ctx)
    }
    
    func (s *NetServer) Stop() {
    	log.Debug("removing host iptables rules")
    	s.iptablesConfigurator.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    	s.hostsideProbeIPSet.Flush()
    	if err := s.hostsideProbeIPSet.DestroySet(); err != nil {
    		log.Warnf("could not destroy host ipset on shutdown")
    	}
    	log.Debug("stopping ztunnel server")
    	s.ztunnelServer.Close()
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  5. cmd/peer-rest-client.go

    	}
    
    	hosts := endpoints.hostsSorted()
    	remote = make([]*peerRESTClient, 0, len(hosts))
    	all = make([]*peerRESTClient, len(hosts))
    	for i, host := range hosts {
    		if host == nil {
    			continue
    		}
    		all[i] = newPeerRESTClient(host, endpoints.FindGridHostsFromPeer(host))
    		remote = append(remote, all[i])
    	}
    	if len(all) != len(remote)+1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  6. cmd/api-router.go

    	ObjectAPI func() ObjectLayer
    }
    
    // getHost tries its best to return the request host.
    // According to section 14.23 of RFC 2616 the Host header
    // can include the port number if the default value of 80 is not used.
    func getHost(r *http.Request) string {
    	if r.URL.IsAbs() {
    		return r.URL.Host
    	}
    	return r.Host
    }
    
    func notImplementedHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. cmd/signature-v4-utils_test.go

    	}
    
    	// "x-amz-content-sha256" header value from the extracted result.
    	extractedContentSha256 := extractedSignedHeaders.Get("x-amz-content-sha256")
    	// "host" header value from the extracted result.
    	extractedHost := extractedSignedHeaders.Get("host")
    	//  "x-amz-date" header from the extracted result.
    	extractedDate := extractedSignedHeaders.Get("x-amz-date")
    	// extracted `expect` header.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    	formatV7
    
    	// FormatUSTAR represents the USTAR header format defined in POSIX.1-1988.
    	//
    	// While this format is compatible with most tar readers,
    	// the format has several limitations making it unsuitable for some usages.
    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  9. istioctl/pkg/multixds/gather.go

    ) (map[string]*discovery.DiscoveryResponse, error) {
    	return MultiRequestAndProcessXds(false, dr, centralOpts, istioNamespace, ns, serviceAccount, kubeClient, options)
    }
    
    type xdsAddr struct {
    	gcpProject, host, istiod string
    }
    
    func getXdsAddressFromWebhooks(client kube.CLIClient) (*xdsAddr, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    	m := collectLocalMetrics(types, collectMetricsOpts{
    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    	for host, hm := range m.ByHost {
    		if len(host) > 0 {
    			if hm.Net != nil && len(hm.Net.NetStats.Name) > 0 {
    				stats := hm.Net.NetStats
    				labels := map[string]string{"interface": stats.Name}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
Back to top