Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for tsConfig (0.18 sec)

  1. internal/http/server.go

    func (srv *Server) Init(listenCtx context.Context, listenErrCallback func(listenAddr string, err error)) (serve func() error, err error) {
    	// Take a copy of server fields.
    	var tlsConfig *tls.Config
    	if srv.TLSConfig != nil {
    		tlsConfig = srv.TLSConfig.Clone()
    	}
    	handler := srv.Handler // if srv.Handler holds non-synced state -> possible data race
    
    	// Create new HTTP listener.
    	var listener *httpListener
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

        void setUp() throws Exception {
            configurator = new DefaultBeanConfigurator();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
                return new Xpp3Dom(XmlNodeStaxBuilder.build(
                        new StringReader("<configuration>" + xml + "</configuration>"),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. internal/http/server_test.go

    		}
    
    		if testCase.certFn == nil {
    			if server.TLSConfig != nil {
    				t.Fatalf("Case %v: server.TLSConfig: expected: <nil>, got: %v", (i + 1), server.TLSConfig)
    			}
    		} else {
    			if server.TLSConfig == nil {
    				t.Fatalf("Case %v: server.TLSConfig: expected: <non-nil>, got: <nil>", (i + 1))
    			}
    		}
    
    		if server.ShutdownTimeout != DefaultShutdownTimeout {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

        void setUp() throws Exception {
            configurator = new DefaultBeanConfigurator();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
                return new Xpp3Dom(XmlNodeStaxBuilder.build(
                        new StringReader("<configuration>" + xml + "</configuration>"),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. helm/minio/templates/servicemonitor.yaml

      annotations: {{- toYaml .Values.metrics.serviceMonitor.annotations | nindent 4 }}
      {{- end }}
    spec:
      endpoints:
        {{- if .Values.tls.enabled }}
        - port: https
          scheme: https
          tlsConfig:
            ca:
              secret:
                name: {{ .Values.tls.certSecret }}
                key: {{ .Values.tls.publicCrt }}
            serverName: {{ template "minio.fullname" . }}
        {{- else }}
        - port: http
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. internal/grid/manager.go

    			id:            m.ID,
    			local:         o.Local,
    			remote:        host,
    			dial:          o.Dialer,
    			handlers:      &m.handlers,
    			auth:          o.AddAuth,
    			blockConnect:  o.BlockConnect,
    			tlsConfig:     o.TLSConfig,
    			publisher:     o.TraceTo,
    			incomingBytes: o.Incoming,
    			outgoingBytes: o.Outgoing,
    		})
    	}
    	if !found {
    		return nil, fmt.Errorf("grid: local host not found")
    	}
    
    	return m, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. cmd/grid.go

    		Local:        local,
    		Hosts:        hosts,
    		AddAuth:      newCachedAuthToken(),
    		AuthRequest:  storageServerRequestValidate,
    		BlockConnect: globalGridStart,
    		TLSConfig: &tls.Config{
    			RootCAs:          globalRootCAs,
    			CipherSuites:     fips.TLSCiphers(),
    			CurvePreferences: fips.TLSCurveIDs(),
    		},
    		// Record incoming and outgoing bytes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. internal/http/transports.go

    	// https://github.com/golang/go/issues/42534
    	// https://github.com/golang/go/issues/43989
    	// https://github.com/golang/go/issues/33425
    	// https://github.com/golang/go/issues/29246
    	// if tlsConfig != nil {
    	// 	trhttp2, _ := http2.ConfigureTransports(tr)
    	// 	if trhttp2 != nil {
    	// 		// ReadIdleTimeout is the timeout after which a health check using ping
    	// 		// frame will be carried out if no frame is received on the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. internal/event/target/nsq.go

    	return target.initOnce.Do(target.initNSQ)
    }
    
    func (target *NSQTarget) initNSQ() error {
    	args := target.args
    
    	config := nsq.NewConfig()
    	if args.TLS.Enable {
    		config.TlsV1 = true
    		config.TlsConfig = &tls.Config{
    			InsecureSkipVerify: args.TLS.SkipVerify,
    		}
    	}
    	target.config = config
    
    	producer, err := nsq.NewProducer(args.NSQDAddress.String(), config)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 7.1K bytes
    - Viewed (0)
Back to top