Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for enableHttp2 (0.17 sec)

  1. internal/config/policy/plugin/config.go

    	}
    
    	u, err := xnet.ParseHTTPURL(pluginURL)
    	if err != nil {
    		return args, err
    	}
    
    	enableHTTP2 := false
    	if v := getCfg(EnableHTTP2); v != "" {
    		enableHTTP2, err = config.ParseBool(v)
    		if err != nil {
    			return args, err
    		}
    	}
    	httpSettings.EnableHTTP2 = enableHTTP2
    	transport := httpSettings.NewHTTPTransportWithTimeout(time.Minute)
    
    	args = Args{
    		URL:         u,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/config/policy/plugin/help.go

    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         EnableHTTP2,
    			Description: "Enable experimental HTTP2 support to connect to plugin service" + defaultHelpPostfix(EnableHTTP2),
    			Optional:    true,
    			Type:        "bool",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. 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
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        for (response in responsesNotClosed) {
          response!!.closeQuietly()
        }
      }
    
      private fun enableHttps() {
        enableHttpsAndAlpn(Protocol.HTTP_1_1)
      }
    
      private fun enableHttp2() {
        platform.assumeHttp2Support()
        enableHttpsAndAlpn(Protocol.HTTP_2, Protocol.HTTP_1_1)
      }
    
      private fun enableHttpsAndAlpn(vararg protocols: Protocol) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt

    import okhttp3.internal.http2.Http2
    
    object OkHttpDebugLogging {
      // Keep references to loggers to prevent their configuration from being GC'd.
      private val configuredLoggers = CopyOnWriteArraySet<Logger>()
    
      fun enableHttp2() = enable(Http2::class)
    
      fun enableTaskRunner() = enable(TaskRunner::class)
    
      fun logHandler() =
        ConsoleHandler().apply {
          level = Level.FINE
          formatter =
            object : SimpleFormatter() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs/contribute/debug_logging.md

    tricky to configure. As a shortcut, you can paste [OkHttpDebugLogging.kt]. Then enable debug logging
    for whichever features you need:
    
    ```
    OkHttpDebugLogging.enableHttp2()
    OkHttpDebugLogging.enableTaskRunner()
    ```
    
    ### Activating on Android
    
    ```
    $ adb shell setprop log.tag.okhttp.Http2 DEBUG
    $ adb shell setprop log.tag.okhttp.TaskRunner DEBUG
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. cmd/utils.go

    		LookupHost:       globalDNSCache.LookupHost,
    		DialTimeout:      rest.DefaultTimeout,
    		RootCAs:          globalRootCAs,
    		CipherSuites:     fips.TLSCiphers(),
    		CurvePreferences: fips.TLSCurveIDs(),
    		EnableHTTP2:      false,
    		TCPOptions:       globalTCPOptions,
    	}.NewInternodeHTTPTransport(maxIdleConnsPerHost)
    }
    
    // NewHTTPTransportWithClientCerts returns a new http configuration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. api/go1.14.txt

    pkg net/http, method (Header) Values(string) []string
    pkg net/http, type Transport struct, DialTLSContext func(context.Context, string, string) (net.Conn, error)
    pkg net/http/httptest, type Server struct, EnableHTTP2 bool
    pkg net/textproto, method (MIMEHeader) Values(string) []string
    pkg strconv, method (*NumError) Unwrap() error
    pkg syscall (windows-386), const CTRL_CLOSE_EVENT = 2
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  9. cmd/testdata/undeleteable-object.tgz

    "value":""},{"key":"client_cert","value":""},{"key":"client_key","value":""}]},"policy_opa":{"_":[{"key":"url","value":""},{"key":"auth_token","value":""}]},"policy_plugin":{"_":[{"key":"url","value":""},{"key":"auth_token","value":""},{"key":"enable_http2","value":"off"}]},"region":{"_":[{"key":"name","value":""}]},"scanner":{"_":[{"key":"speed","value":"default"},{"key":"idle_speed","value":""},{"key":"alert_excess_versions","value":"100"},{"key":"alert_excess_folders","value":"50000"},{"key":...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 00:31:12 UTC 2024
    - 8.7M bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.19.md

         - `.extenders` decoding is case sensitive. All fields are affected.
         - `.extenders[*].httpTimeout` is of type `metav1.Duration`.
         - `.extenders[*].enableHttps` is renamed to `.extenders[*].enableHTTPS`.
       - `RequestedToCapacityRatio` args decoding is case sensitive. All fields are affected.
       - `DefaultPodTopologySpread` plugin is renamed to `SelectorSpread`.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
Back to top