- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 417 for ontimeout (0.14 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
* attempting to read with a short timeout. If the fails immediately we know the socket is * unhealthy. * * @param source the source used to read bytes from the socket. */ internal fun Socket.isHealthy(source: BufferedSource): Boolean { return try { val readTimeout = soTimeout try { soTimeout = 1 !source.exhausted() } finally { soTimeout = readTimeout }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) assertFailsWith<IOException> { 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
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
long timeout = RESPONSE_TIMEOUT; resp.expiration = System.currentTimeMillis() + timeout; while( resp.hasMoreElements() ) { wait( timeout ); timeout = resp.expiration - System.currentTimeMillis(); if (timeout <= 0) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
} public RESPONSE getResponse(final long time, final TimeUnit unit) { try { final boolean isTimeout = !latch.await(time, unit); if (isTimeout) { throw new SuggesterException("Request timeout. time:" + time + " unit:" + unit.name()); } if (error != null) { throw new SuggesterException(error);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
return if (http2Connection != null) { Http2ExchangeCodec(client, this, chain, http2Connection) } else { socket.soTimeout = chain.readTimeoutMillis() source.timeout().timeout(chain.readTimeoutMillis.toLong(), MILLISECONDS) sink.timeout().timeout(chain.writeTimeoutMillis.toLong(), MILLISECONDS) Http1ExchangeCodec(client, this, source, sink) } } @Throws(SocketException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
throw new TransportException("Transport is disconnected " + this.name); } try { long timeout = !params.contains(RequestParam.NO_TIMEOUT) ? getResponseTimeout(request) : 0; long firstKey = doSend(request, response, params, timeout); if ( Thread.currentThread() == this.thread ) { // we are in the transport thread, ie. on idle disconnecting
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 01 18:12:21 UTC 2020 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
this.smbSocketTimeout = Config.getInt(p, "jcifs.smb.client.soTimeout", SmbConstants.DEFAULT_SO_TIMEOUT); this.smbConnectionTimeout = Config.getInt(p, "jcifs.smb.client.connTimeout", SmbConstants.DEFAULT_CONN_TIMEOUT); this.smbSessionTimeout = Config.getInt(p, "jcifs.smb.client.sessionTimeout", SmbConstants.DEFAULT_CONN_TIMEOUT);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
* -XX:G1MaxNewSizePercent=5<br> * -Djcifs.smb.client.responseTimeout=30000<br> * -Djcifs.smb.client.soTimeout=35000<br> * -Djcifs.smb.client.connTimeout=60000<br> * -Djcifs.smb.client.sessionTimeout=60000<br> * -Djcifs.smb1.smb.client.connTimeout=60000<br> * -Djcifs.smb1.smb.client.soTimeout=35000<br> * -Djcifs.smb1.smb.client.responseTimeout=30000<br> * -Dio.netty.noUnsafe=true<br>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 468.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// No client for CONNECT tunnels: client = null, carrier = this, source = source, sink = sink, ) source.timeout().timeout(readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) sink.timeout().timeout(writeTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) tunnelCodec.writeRequest(nextRequest.headers, requestLine) tunnelCodec.finishRequest() val response =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
while ( !resp.isReceived() || resp.hasMoreElements() ) { if ( !params.contains(RequestParam.NO_TIMEOUT) ) { resp.wait(timeout); timeout = resp.getExpiration() - System.currentTimeMillis(); if ( timeout <= 0 ) { throw new TransportException(this + " timedout waiting for response to " + req);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0)