- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for noTimeout (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("timeout") assertThat(call.isCanceled()).isTrue() } } @Flaky @Test fun noTimeout() { // Flaky https://github.com/square/okhttp/issues/5304 server.enqueue( MockResponse .Builder() .headersDelay(250, TimeUnit.MILLISECONDS) .body(BIG_ENOUGH_BODY)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
this.connectionTimeout = connectionTimeout; } /** * Sets the socket timeout. * @param soTimeout The socket timeout in milliseconds. */ public void setSoTimeout(final Integer soTimeout) { this.soTimeout = soTimeout; } /** * Sets the map of authentication scheme providers.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
props.setProperty("jcifs.netbios.hostname", "testhost"); props.setProperty("jcifs.netbios.scope", ""); props.setProperty("jcifs.smb.client.connTimeout", "35000"); props.setProperty("jcifs.smb.client.soTimeout", "35000"); config = new PropertyConfiguration(props); } @Test @DisplayName("Should create configuration from Properties") void testConfigurationCreation() throws CIFSException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
* @param source the source used to read bytes from the socket. */ internal fun Socket.isHealthy(source: BufferedSource): Boolean = try { val readTimeout = soTimeout try { soTimeout = 1 !source.exhausted() } finally { soTimeout = readTimeout } } catch (_: SocketTimeoutException) { true // Read timed out; socket is good. } catch (_: IOException) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
public void init(final FilterConfig filterConfig) throws ServletException { String name; int level; /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min. */ Config.setProperty("jcifs.smb1.smb.client.soTimeout", "1800000"); Config.setProperty("jcifs.smb1.netbios.cachePolicy", "1200"); /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
} else { javaNetSocket.soTimeout = chain.readTimeoutMillis() okHttpSocket.source.timeout().timeout(chain.readTimeoutMillis.toLong(), MILLISECONDS) okHttpSocket.sink.timeout().timeout(chain.writeTimeoutMillis.toLong(), MILLISECONDS) Http1ExchangeCodec(client, this, okHttpSocket) } } internal fun useAsSocket() { javaNetSocket.soTimeout = 0 noNewExchanges() }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
} catch (NumberFormatException e) { // Invalid value ignored } } value = props.getProperty("jcifs.smb.client.soTimeout"); if (value != null) { try { this.smbSocketTimeout = Integer.parseInt(value); } catch (NumberFormatException e) { // Invalid value ignored }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Session limit */ int SSN_LIMIT = Config.getInt("jcifs.smb1.smb.client.ssnLimit", DEFAULT_SSN_LIMIT); /** Socket timeout in milliseconds */ int SO_TIMEOUT = Config.getInt("jcifs.smb1.smb.client.soTimeout", DEFAULT_SO_TIMEOUT); /** Connection timeout in milliseconds */ int CONN_TIMEOUT = Config.getInt("jcifs.smb1.smb.client.connTimeout", DEFAULT_CONN_TIMEOUT); /** Native operating system name */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
String name; final Properties p = new Properties(); /* * Set jcifs properties we know we want; soTimeout and cachePolicy to 30min. */ p.setProperty("jcifs.smb.client.soTimeout", "1800000"); p.setProperty("jcifs.netbios.cachePolicy", "1200"); /* * The Filter can only work with NTLMv1 as it uses a man-in-the-middleRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
this.rawSocket = rawSocket // Handle the race where cancel() precedes connectSocket(). We don't want to miss a cancel. if (canceled) { throw IOException("canceled") } rawSocket.soTimeout = socketReadTimeoutMillis try { Platform.get().connectSocket(rawSocket, route.socketAddress, socketConnectTimeoutMillis) } catch (e: ConnectException) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 19.3K bytes - Viewed (2)