- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for noTimeout (0.1 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/smb/SmbTreeInternalTest.java
// Arrange when(tree.send(eq(request), eq(RequestParam.NO_TIMEOUT), eq(RequestParam.NO_RETRY))).thenReturn(response); // Act CommonServerMessageBlockResponse out = tree.send(request, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY); // Assert assertSame(response, out); verify(tree).send(request, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
new RequestParam[] { RequestParam.NONE, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY, RequestParam.RETAIN_PAYLOAD }, values, "values() order should match declaration order"); } // Happy path: valueOf resolves each constant name; toString equals name; ordinal is stable @ParameterizedTest @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" })
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
if (calledName == null) { this.calledName = address.hostName; } else { this.calledName = new Name(calledName, 0x20, null); } soTimeout = Config.getInt("jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT); connect(); } /** * Returns the NetBIOS address associated with this socket. * * @return the NetBIOS address */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K 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/smb/RequestParam.java
*/ public enum RequestParam { /** * No special request parameters. */ NONE, /** * Wait indefinitely for a response */ NO_TIMEOUT, /** * Do not retry request on failure */ NO_RETRY, /** * Save the raw payload for further inspection */ RETAIN_PAYLOADRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
@Throws(SocketException::class) override fun getSendBufferSize(): Int = delegate!!.sendBufferSize @Throws(SocketException::class) override fun getSoTimeout(): Int = delegate!!.soTimeout @Throws(SocketException::class) override fun getTcpNoDelay(): Boolean = delegate!!.tcpNoDelay @Throws(SocketException::class) override fun setKeepAlive(keepAlive: Boolean) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
final Properties p = new Properties(); p.putAll(System.getProperties()); /* * Set jcifs properties we know we want; soTimeout and cachePolicy to 10min. */ p.setProperty("jcifs.smb.client.soTimeout", "300000"); p.setProperty("jcifs.netbios.cachePolicy", "600"); final Enumeration<String> e = config.getInitParameterNames(); String name;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1)