Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 170 for TCP (0.01 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *     lookups) and attempt new connections to them. When failures occur, retries iterate the
     *     list of available routes.
     *
     * If the pool gains an eligible connection while DNS, TCP, or TLS work is in flight, this finder
     * will prefer pooled connections. Only pooled HTTP/2 connections are used for such de-duplication.
     *
     * It is possible to cancel the finding process by canceling its call.
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         * otherwise values must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds.
         *
         * The connect timeout is applied when connecting a TCP socket to the target host. The default
         * value is 10 seconds.
         */
        fun connectTimeout(
          timeout: Long,
          unit: TimeUnit,
        ) = apply {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  3. internal/config/notify/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    	}
    
    	HelpMQTT = config.HelpKVS{
    		config.HelpKV{
    			Key:         target.MqttBroker,
    			Description: "MQTT server endpoint e.g. `tcp://localhost:1883`",
    			Type:        "uri",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.MqttTopic,
    			Description: "name of the MQTT topic to publish",
    			Type:        "string",
    		},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 19.2K bytes
    - Click Count (0)
  4. tests/connpool_test.go

    }
    
    func TestConnPoolWrapper(t *testing.T) {
    	dialect := os.Getenv("GORM_DIALECT")
    	if dialect != "mysql" {
    		t.SkipNow()
    	}
    
    	dbDSN := os.Getenv("GORM_DSN")
    	if dbDSN == "" {
    		dbDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    	}
    	nativeDB, err := sql.Open("mysql", dbDSN)
    	if err != nil {
    		t.Fatalf("Should open db success, but got %v", err)
    	}
    
    	conn := &wrapperConnPool{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. internal/event/target/webhook.go

    // Store returns any underlying store if set.
    func (target *WebhookTarget) Store() event.TargetStore {
    	return target.store
    }
    
    func (target *WebhookTarget) isActive() (bool, error) {
    	conn, err := net.DialTimeout("tcp", target.addr, 5*time.Second)
    	if err != nil {
    		if xnet.IsNetworkOrHostDown(err, false) {
    			return false, store.ErrNotConnected
    		}
    		return false, err
    	}
    	defer conn.Close()
    	return true, nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  6. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

    # need to fix up all the links to stay within /${TARGET}.
    /fixlinks.sh "/${TARGET}"
    
    # Patch to allow non-glibc 2.12 compatible builds to work.
    sed -i '54i#define TCP_USER_TIMEOUT 18' "/${TARGET}/usr/include/netinet/tcp.h"
    
    # Download specific version of libstdc++ shared library based on the value of
    # the `VERSION` parameter
    case "${VERSION}" in
    devtoolset-7)
      # Download binary libstdc++ 4.4 release we are going to link against.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Sep 24 20:45:58 GMT 2024
    - 8K bytes
    - Click Count (0)
  7. internal/http/transports.go

    	DialTimeout time.Duration
    
    	// TLS Settings
    	RootCAs          *x509.CertPool
    	CipherSuites     []uint16
    	CurvePreferences []tls.CurveID
    
    	// HTTP2
    	EnableHTTP2 bool
    
    	// TCP Options
    	TCPOptions TCPOptions
    }
    
    func (s ConnSettings) getDefaultTransport(maxIdleConnsPerHost int) *http.Transport {
    	if maxIdleConnsPerHost <= 0 {
    		maxIdleConnsPerHost = 1024
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 17:51:53 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. internal/event/target/redis.go

    		}
    	}
    
    	pool := &redis.Pool{
    		MaxIdle:     3,
    		IdleTimeout: 2 * 60 * time.Second,
    		Dial: func() (redis.Conn, error) {
    			conn, err := redis.Dial("tcp", args.Addr.String())
    			if err != nil {
    				return nil, err
    			}
    
    			if args.Password != "" {
    				if args.User != "" {
    					if _, err = conn.Do("AUTH", args.User, args.Password); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. internal/event/target/mqtt.go

    func (m MQTTArgs) Validate() error {
    	if !m.Enable {
    		return nil
    	}
    	u, err := xnet.ParseURL(m.Broker.String())
    	if err != nil {
    		return err
    	}
    	switch u.Scheme {
    	case "ws", "wss", "tcp", "ssl", "tls", "tcps":
    	default:
    		return errors.New("unknown protocol in broker address")
    	}
    	if m.QueueDir != "" {
    		if !filepath.IsAbs(m.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.2K bytes
    - Click Count (0)
  10. helm/minio/templates/statefulset.yaml

        heritage: {{ .Release.Service }}
    spec:
      publishNotReadyAddresses: true
      clusterIP: None
      ports:
        - name: {{ $scheme }}
          port: {{ .Values.service.port }}
          protocol: TCP
          targetPort: {{ .Values.minioAPIPort }}
      selector:
        app: {{ template "minio.name" . }}
        release: {{ .Release.Name }}
    ---
    apiVersion: {{ template "minio.statefulset.apiVersion" . }}
    kind: StatefulSet
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 11 12:21:05 GMT 2024
    - 10.4K bytes
    - Click Count (0)
Back to Top