- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for enableHttp2 (0.2 sec)
-
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) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 12.3K bytes - Viewed (0) -
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,
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Sep 14 21:50:16 GMT 2023 - 5.8K bytes - Viewed (0) -
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 }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Jan 30 00:50:37 GMT 2024 - 5.9K bytes - Viewed (0) -
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,
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Jun 23 14:45:27 GMT 2023 - 1.8K bytes - Viewed (0) -
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() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0) -
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
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 2.7K bytes - Viewed (0) -
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
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 32K bytes - Viewed (0) -
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
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
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`.
Plain Text - Registered: Fri Apr 26 09:05:10 GMT 2024 - Last Modified: Wed Jan 05 05:42:32 GMT 2022 - 489.7K bytes - Viewed (0)