Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for ServerName (0.26 sec)

  1. src/crypto/tls/tls_test.go

    			}
    			// NegotiatedProtocolIsMutual on the server side is unspecified.
    
    			if ss.ServerName != serverName {
    				t.Errorf("Got server name %q, expected %q", ss.ServerName, serverName)
    			}
    			if cs.ServerName != serverName {
    				t.Errorf("Got server name on client connection %q, expected %q", cs.ServerName, serverName)
    			}
    
    			if len(ss.PeerCertificates) != 1 || len(cs.PeerCertificates) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  2. 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)
  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/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/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)
  7. pilot/pkg/networking/core/listener.go

    		httpOpts: &httpListenerOpts{
    			rds:              model.RDSHttpProxy,
    			useRemoteAddress: false,
    			connectionManager: &hcm.HttpConnectionManager{
    				HttpProtocolOptions:        httpOpts,
    				ServerName:                 ph.ServerName,
    				ServerHeaderTransformation: ph.ServerHeaderTransformation,
    				GenerateRequestId:          ph.GenerateRequestID,
    			},
    			suppressEnvoyDebugHeaders: ph.SuppressDebugHeaders,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/crypto/tls/conn.go

    	// verifiedChains contains the certificate chains that we built, as
    	// opposed to the ones presented by the server.
    	verifiedChains [][]*x509.Certificate
    	// serverName contains the server name indicated by the client, if any.
    	serverName string
    	// secureRenegotiation is true if the server echoed the secure
    	// renegotiation extension. (This is meaningless as a server because
    	// renegotiation is not supported in that case.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	populateAndPublish(resourceMetricsGroups, func(m MetricV2) bool {
    		if m.VariableLabels == nil {
    			m.VariableLabels = make(map[string]string, 1)
    		}
    		m.VariableLabels[serverName] = globalLocalNodeName
    		res = append(res, &m)
    		return true
    	})
    	return aoMetricsGroup.NewWith(res), nil
    }
    
    // GetPeerMetrics gets the metrics to be federated across peers.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	FullName   *uint16
    }
    
    //sys	NetUserGetInfo(serverName *uint16, userName *uint16, level uint32, buf **byte) (neterr error) = netapi32.NetUserGetInfo
    //sys	NetGetJoinInformation(server *uint16, name **uint16, bufType *uint32) (neterr error) = netapi32.NetGetJoinInformation
    //sys	NetApiBufferFree(buf *byte) (neterr error) = netapi32.NetApiBufferFree
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top