- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for SocketTimeoutException (0.17 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
import java.net.HttpURLConnection.HTTP_SEE_OTHER import java.net.HttpURLConnection.HTTP_UNAUTHORIZED import java.net.HttpURLConnection.HTTP_UNAVAILABLE import java.net.ProtocolException import java.net.Proxy import java.net.SocketTimeoutException import java.security.cert.CertificateException import javax.net.ssl.SSLHandshakeException import javax.net.ssl.SSLPeerUnverifiedException import okhttp3.Interceptor import okhttp3.OkHttpClient
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 12.4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
import java.io.IOException import java.io.InputStreamReader import java.net.ConnectException import java.net.HttpURLConnection import java.net.InetAddress import java.net.ProtocolException import java.net.SocketTimeoutException import java.nio.charset.StandardCharsets.UTF_8 import java.time.Duration import java.util.concurrent.TimeUnit import javax.net.ssl.HttpsURLConnection import kotlin.test.assertFailsWith
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
*/ package jcifs.smb1.netbios; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketTimeoutException; import java.net.UnknownHostException; import java.util.HashMap; import java.util.StringTokenizer; import jcifs.smb1.Config; import jcifs.smb1.util.Hexdump; import jcifs.smb1.util.LogStream;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
package jcifs.netbios; import java.io.IOException; import java.io.InterruptedIOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketTimeoutException; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
* limitations under the License. */ package okhttp3.internal.http2 import java.io.EOFException import java.io.IOException import java.io.InterruptedIOException import java.net.SocketTimeoutException import java.util.ArrayDeque import okhttp3.Headers import okhttp3.internal.concurrent.Lockable import okhttp3.internal.concurrent.assertLockNotHeld import okhttp3.internal.concurrent.notifyAll
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
}.also { expected -> when (expected) { is SocketTimeoutException, is SSLException -> {} else -> throw expected } } // The second call times out because it uses the same bad connection. val call2 = client.newCall(Request(server.url("/"))) assertFailsWith<SocketTimeoutException> { call2.execute() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
* limitations under the License. */ package okhttp3.internal.ws import java.io.IOException import java.net.ProtocolException import java.net.SocketTimeoutException import java.util.ArrayDeque import java.util.Random import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit.MILLISECONDS import okhttp3.Call import okhttp3.Callback
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
if (i == 0) { failureUrl.setErrorName("java.net.ConnectException"); } else if (i == 1) { failureUrl.setErrorName("java.net.SocketTimeoutException"); } else { failureUrl.setErrorName("java.io.IOException"); } list.add(failureUrl); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 34.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
Exception hardwareError = new RuntimeException("RDMA hardware not supported"); Exception networkError = new java.io.IOException("Network connection failed"); Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out"); // Test fallback logic assertTrue(errorHandler.shouldFallbackToTcp(hardwareError), "Hardware errors should suggest TCP fallback");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} } private boolean isRecoverableError(Exception error) { // Check if error is recoverable (temporary network issue, etc.) return error instanceof SocketTimeoutException || error.getMessage().contains("retry"); } private void fallbackToTcp(RdmaConnection connection) { log.info("Falling back to TCP transport");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0)