Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for ServerName (0.15 sec)

  1. src/crypto/tls/handshake_messages.go

    				return false
    			}
    			for !nameList.Empty() {
    				var nameType uint8
    				var serverName cryptobyte.String
    				if !nameList.ReadUint8(&nameType) ||
    					!nameList.ReadUint16LengthPrefixed(&serverName) ||
    					serverName.Empty() {
    					return false
    				}
    				if nameType != 0 {
    					continue
    				}
    				if len(m.serverName) != 0 {
    					// Multiple names of the same name_type are prohibited.
    					return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/metrics-v3.go

    	// metrics required a list of buckets to be passed to the loader, and the list
    	// of buckets is not known until the request is made. So we keep a separate
    	// map for bucket metrics and handle them specially.
    
    	// Add the serverName and poolIndex labels to all non-cluster metrics.
    	//
    	// Also create metric group maps and set the cache.
    	metricsCache := newMetricsCache()
    	mgMap := make(map[collectorPath]*MetricsGroup)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. src/crypto/tls/common.go

    	// TLS_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256).
    	CipherSuites []uint16
    
    	// ServerName indicates the name of the server requested by the client
    	// in order to support virtual hosting. ServerName is only set if the
    	// client is using SNI (see RFC 4366, Section 3.1).
    	ServerName string
    
    	// SupportedCurves lists the elliptic curves supported by the client.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  4. src/crypto/tls/ech.go

    	h, err := inner.marshalMsg(true)
    	if err != nil {
    		return nil, err
    	}
    	h = h[4:] // strip four byte prefix
    
    	var paddingLen int
    	if inner.serverName != "" {
    		paddingLen = max(0, maxNameLength-len(inner.serverName))
    	} else {
    		paddingLen = maxNameLength + 9
    	}
    	paddingLen = 31 - ((len(h) + paddingLen - 1) % 32)
    
    	return append(h, make([]byte, paddingLen)...), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_test.go

    		}
    		if c.HandshakeComplete {
    			return fmt.Errorf("%s: got HandshakeComplete, want false", errorType)
    		}
    		if c.ServerName != "example.golang" {
    			return fmt.Errorf("%s: got ServerName %s, want %s", errorType, c.ServerName, "example.golang")
    		}
    		if c.NegotiatedProtocol != "protocol1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_server_test.go

    	}
    
    	cs := hs.c.ConnectionState()
    	if cs.HandshakeComplete {
    		t.Error("Handshake registered as complete")
    	}
    
    	if cs.ServerName != expectedServerName {
    		t.Errorf("Expected ServerName of %q, but got %q", expectedServerName, cs.ServerName)
    	}
    }
    
    var getConfigForClientTests = []struct {
    	setup          func(config *Config)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_client_tls13.go

    			hs.hello = hs.echContext.innerHello
    			c.serverName = c.config.ServerName
    			hs.transcript = hs.echContext.innerTranscript
    			c.echAccepted = true
    
    			if hs.serverHello.encryptedClientHello != nil {
    				c.sendAlert(alertUnsupportedExtension)
    				return errors.New("tls: unexpected encrypted_client_hello extension in server hello despite ECH being accepted")
    			}
    
    			if hs.hello.serverName == "" && hs.serverHello.serverNameAck {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_server.go

    	hs.hello.secureRenegotiationSupported = hs.clientHello.secureRenegotiationSupported
    	hs.hello.compressionMethod = compressionNone
    	if len(hs.clientHello.serverName) > 0 {
    		c.serverName = hs.clientHello.serverName
    	}
    
    	selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols, false)
    	if err != nil {
    		c.sendAlert(alertNoApplicationProtocol)
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. src/net/http/client_test.go

    	const serverName = "example.com"
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		if r.TLS.ServerName != serverName {
    			t.Errorf("expected client to set ServerName %q, got: %q", serverName, r.TLS.ServerName)
    		}
    	})).ts
    
    	c := ts.Client()
    	c.Transport.(*Transport).TLSClientConfig.ServerName = serverName
    	if _, err := c.Get(ts.URL); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  10. pkg/controlplane/apiserver/peer.go

    	clientConfig := &transport.Config{
    		TLS: transport.TLSConfig{
    			Insecure:   false,
    			CertFile:   proxyClientCertFile,
    			KeyFile:    proxyClientKeyFile,
    			CAFile:     peerCAFile,
    			ServerName: "kubernetes.default.svc",
    		}}
    
    	// build proxy transport
    	proxyRoundTripper, transportBuildingError := transport.New(clientConfig)
    	if transportBuildingError != nil {
    		klog.Error(transportBuildingError.Error())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 08:15:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top