- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 956 for Socket (0.73 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt
else -> protocol } } override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<Protocol>, ) { // No TLS extensions if the socket class is custom. if (matchesSocket(sslSocket)) { val bcSocket = sslSocket as BCSSLSocket val sslParameters = bcSocket.parameters // Enable ALPN.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/StreamResetException.kt
* limitations under the License. */ package okhttp3.internal.http2 import java.io.IOException /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */ class StreamResetException( @JvmField val errorCode: ErrorCode,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 869 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt
return when { // If there was a protocol problem, don't recover. e is ProtocolException -> false // If there was an interruption or timeout (SocketTimeoutException), don't recover. // For the socket connect timeout case we do not try the same host with a different // ConnectionSpec: we assume it is unreachable. e is InterruptedIOException -> false
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
} catch (e: Exception) { AndroidLog.androidLog( loggerName = OkHttpClient::class.java.name, logLevel = Platform.WARN, message = "unable to load android socket classes", t = e, ) null } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt
object : EventListener() { override fun connectionAcquired( call: Call, connection: Connection, ) { val sslSocket = connection.socket() as SSLSocket println("Requested " + sslSocket.sslParameters.applicationProtocols.joinToString()) println("Negotiated " + sslSocket.applicationProtocol) } }, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
val request = Request(server.url("/")) val response = client.newCall(request).execute() response.body.close() // This client shares a connection pool but has a different SSL socket factory. val handshakeCertificates2 = HandshakeCertificates.Builder().build() val anotherClient = client.newBuilder() .sslSocketFactory( handshakeCertificates2.sslSocketFactory(),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RouteFailureTest.kt
println("Proxy Server 1 is ${server1.inetSocketAddress}") println("Proxy Server 2 is ${server2.inetSocketAddress}") // Since myproxy:8008 won't resolve, redirect with DNS to proxyServer1 // Then redirect socket connection to server1 dns["myproxy"] = listOf(proxyServer1) socketFactory[proxyServer1] = server1.inetSocketAddress client = client.newBuilder().proxySelector(proxySelector).build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue May 14 17:48:07 UTC 2024 - 11.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.txt
10.244.0.195:9080 HEALTHY outbound|9080||reviews.default.svc.cluster.local ./var/run/secrets/workload-spiffe-uds/socket HEALTHY sds-grpc 10.244.0.188:11800 HEALTHY outbound|11800||skywalking-oap.skywalking.svc.cluster.local
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 21 14:17:23 UTC 2023 - 4.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.play() val longString = repeat('a', Http2.INITIAL_MAX_FRAME_SIZE + 1) val socket = peer.openSocket() val connection = Http2Connection.Builder(true, TaskRunner.INSTANCE) .socket(socket) .pushObserver(IGNORE) .build() connection.start(sendConnectionPreface = false) socket.shutdownOutput() assertFailsWith<IOException> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// // We want to do the same thing in ambient but can't rely on podSpec injection. So, do effectively the same thing, // but with iptables rules - use `--socket-exists` as a proxy for "is this a forwarded packet" vs "is this originating from // a local node socket". If the latter, outside the pod in the host netns, redirect that traffic to a hardcoded/custom proxy
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 23.3K bytes - Viewed (0)