- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 335 for tunnels (0.18 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
* That may happen later by the connection pool thread. */ fun cancel() /** * Carries an exchange. This is usually a connection, but it could also be a connect plan for * CONNECT tunnels. Note that CONNECT tunnels are significantly less capable than connections. */ interface Carrier { val route: Route fun trackFailure( call: RealCall, e: IOException?, )
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
var nextRequest = tunnelRequest!! // Make an SSL Tunnel on the first message pair of each SSL + proxy connection. val url = route.address.url val requestLine = "CONNECT ${url.toHostHeader(includeDefaultPort = true)} HTTP/1.1" while (true) { val tunnelCodec = Http1ExchangeCodec( // No client for CONNECT tunnels: client = null, carrier = this,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 19.3K bytes - Viewed (2) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt
replaceWith = ReplaceWith(expression = "socketAddress"), level = DeprecationLevel.ERROR, ) fun socketAddress(): InetSocketAddress = socketAddress /** * Returns true if this route tunnels HTTPS or HTTP/2 through an HTTP proxy. * See [RFC 2817, Section 5.2][rfc_2817]. * * [rfc_2817]: http://www.ietf.org/rfc/rfc2817.txt */ fun requiresTunnel(): Boolean {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
* [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source. */ class Http1ExchangeCodec( /** The client that configures this stream. May be null for HTTPS proxy tunnels. */ private val client: OkHttpClient?, override val carrier: ExchangeCodec.Carrier, override val socket: BufferedSocket, ) : ExchangeCodec { private var state = STATE_IDLE
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
connectionSpecIndex = -1, isTlsFallback = false, ) } /** * Returns a request that creates a TLS tunnel via an HTTP proxy. Everything in the tunnel request * is sent unencrypted to the proxy server, so tunnels include only the minimum set of headers. * This avoids sending potentially sensitive data like HTTP cookies to the proxy unencrypted. *Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
internal var hasFailure: Boolean = false private set internal val connection: RealConnection get() = codec.carrier as? RealConnection ?: error("no connection for CONNECT tunnels") internal val isCoalescedConnection: Boolean get() = finder.routePlanner.address.url.host != codec.carrier.route.address.url.host @Throws(IOException::class) fun writeRequestHeaders(request: Request) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 10.5K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* **OkHttp now supports TLS 1.3.** This requires either Conscrypt or Java 11+. * **Proxy authenticators are now asked for preemptive authentication.** OkHttp will now request authentication credentials before creating TLS tunnels through HTTP proxies (HTTP `CONNECT`). Authenticators should identify preemptive authentications by the presence of a challenge whose scheme is "OkHttp-Preemptive".Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
* connections are requested concurrently OkHttp will pessimistically connect multiple times, then * close any unnecessary connections. This test confirms that behavior works as intended. * * This test uses proxy tunnels to get a hook while a connection is being established. */ @Test fun concurrentHttp2ConnectionsDeduplicated() { assumeTrue(protocol === Protocol.HTTP_2)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnel.java
* Implementations for common types can be found in {@link Funnels}. * * <p>Note that serialization of {@linkplain BloomFilter bloom filters} requires the proper * serialization of funnels. When possible, it is recommended that funnels be implemented as a * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), ItemRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FunnelsTest.java
.addEqualityGroup(Funnels.longFunnel()) .addEqualityGroup(Funnels.unencodedCharsFunnel()) .addEqualityGroup(Funnels.stringFunnel(UTF_8)) .addEqualityGroup(Funnels.stringFunnel(US_ASCII)) .addEqualityGroup( Funnels.sequentialFunnel(Funnels.integerFunnel()), SerializableTester.reserialize(Funnels.sequentialFunnel(Funnels.integerFunnel())))
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6K bytes - Viewed (0)