Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for ServerName (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pilot/pkg/networking/core/listener_waypoint.go

    		SetCurrentClientCertDetails: &hcm.HttpConnectionManager_SetCurrentClientCertDetails{
    			Subject: proto.BoolTrue,
    			Uri:     true,
    			Dns:     true,
    		},
    		ServerName:                 ph.ServerName,
    		ServerHeaderTransformation: ph.ServerHeaderTransformation,
    		GenerateRequestId:          ph.GenerateRequestID,
    		UseRemoteAddress:           proto.BoolFalse,
    	}
    
    	// Protocol settings
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_server_tls13.go

    		if hs.clientHello.quicTransportParameters != nil {
    			c.sendAlert(alertUnsupportedExtension)
    			return errors.New("tls: client sent an unexpected quic_transport_parameters extension")
    		}
    	}
    
    	c.serverName = hs.clientHello.serverName
    	return nil
    }
    
    func (hs *serverHandshakeStateTLS13) checkForResumption() error {
    	c := hs.c
    
    	if c.config.SessionTicketsDisabled {
    		return nil
    	}
    
    	modeOK := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top