Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enable_http2 (0.12 sec)

  1. 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)
  2. 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)
Back to top