Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for ServerName (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pilot/pkg/networking/core/httproute.go

    	}
    	if ph.Server != nil {
    		if ph.Server.Disabled.GetValue() {
    			base.ServerName = ""
    			base.ServerHeaderTransformation = hcm.HttpConnectionManager_PASS_THROUGH
    		} else if ph.Server.Value != "" {
    			base.ServerName = ph.Server.Value
    		}
    	}
    	if ph.RequestId.GetDisabled().GetValue() {
    		base.GenerateRequestID = proto.BoolFalse
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. 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)
  6. pkg/scheduler/apis/config/types.go

    	// Server should be accessed without verifying the TLS certificate. For testing only.
    	Insecure bool
    	// ServerName is passed to the server for SNI and is used in the client to check server
    	// certificates against. If ServerName is empty, the hostname used to contact the
    	// server is used.
    	ServerName string
    
    	// Server requires TLS client certificate authentication
    	CertFile string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. src/net/http/httptest/httptest_test.go

    				ProtoMinor: 1,
    				RemoteAddr: "192.0.2.1:1234",
    				RequestURI: "https://foo.com/path/",
    				TLS: &tls.ConnectionState{
    					Version:           tls.VersionTLS12,
    					HandshakeComplete: true,
    					ServerName:        "foo.com",
    				},
    			},
    			wantBody: "",
    		},
    
    		{
    			name:   "Post with known length",
    			method: "POST",
    			uri:    "/",
    			body:   strings.NewReader("foo"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:09:14 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/os/user/lookup_windows.go

    	return syscall.TranslateAccountName(domainAndUser,
    		syscall.NameSamCompatible, syscall.NameDisplay, 50)
    }
    
    func lookupFullNameServer(servername, username string) (string, error) {
    	s, e := syscall.UTF16PtrFromString(servername)
    	if e != nil {
    		return "", e
    	}
    	u, e := syscall.UTF16PtrFromString(username)
    	if e != nil {
    		return "", e
    	}
    	var p *byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. src/internal/syscall/windows/syscall_windows.go

    	Permissions uint32
    	MaxUses     uint32
    	CurrentUses uint32
    	Path        *uint16
    	Passwd      *uint16
    }
    
    //sys  NetShareAdd(serverName *uint16, level uint32, buf *byte, parmErr *uint16) (neterr error) = netapi32.NetShareAdd
    //sys  NetShareDel(serverName *uint16, netName *uint16, reserved uint32) (neterr error) = netapi32.NetShareDel
    
    const (
    	FILE_NAME_NORMALIZED = 0x0
    	FILE_NAME_OPENED     = 0x8
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K 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